Skip to content

coliquio/gutenberg-blocks

Repository files navigation

gutenberg-blocks

Custom blocks for displaying content within Drupal.

Our custom blocks

  • Image
  • CTA link
  • Highlight (wrapper)
  • Image gallery (overlay)
  • iFrame (with 3 types)
  • Checklist
  • Accordion

Local Development with local Drupal-CMS-Service

  • Run npm run serve:build and follow README.md of drupal-cms-service #Local Development

Deployment

  • Run npm run build before committing
  • Builed JS/CSS is loaded via custom Drupal module directly from git pages
  • Run npm run buildNative to create CSS for native iOS app (just copy generated file to xcode project)

Docu

https://developer.wordpress.org/block-editor/developers/

To Do's

Alternative approach for extending gutenberg blocks