amazeelabs/fork-gutenberg

Drupal Gutenberg brings the powerful admin features of Gutenberg Editor to Drupal.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 11

Forks: 0

Language:JavaScript

Type:drupal-module

dev-main 2021-04-26 10:32 UTC

This package is auto-updated.

Last update: 2024-05-26 11:34:10 UTC


README

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

  • Drupal Gutenberg brings the powerful content editing experience of Gutenberg to Drupal.

  • Drupal + Gutenberg is a powerful combo. Drupal 8 is a rock solid CMS framework packed with powerful admin features. Our only complaint? Drupal 8 is missing a modern UI for rich content creation. Let’s change this!

  • More functionality wrapped in a smooth UI. Hundreds of hours with user testing. Decoupled. React.js. Clean output. Open source.

  • Gutenberg on GitHub

  • For a full description: https://www.drupal.org/project/gutenberg

  • Issue queue for Gutenberg: https://www.drupal.org/project/issues/gutenberg

  • Also check Gutenberg-JS, a stand-alone Gutenberg editor for your custom sites or web apps.

REQUIREMENTS

No specific requirements.

INSTALLATION

CONFIGURATION

  • To test the module, simply download it from the Drupal Gutenberg project page and enable it.

  • Then go to any content type edit page and enable Gutenberg Experience.

  • Assign the use gutenberg permission and access to the "Gutenberg" text format to all desired user roles.

DEVELOPMENT

NodeJS 8.11+ and NPM 6.0+ are required. Alternatively Yarn 1.6+ can be used.

  • npm install
  • Watching file while developing: npm start
  • Build: npm run build

For custom block development, check the example_block sub-module.

Updating WordPress Gutenberg Packages

This module uses the compiled JS packages from WordPress Gutenberg. Basically we just need to copy the files to vendor/gutenberg.

Steps to update WordPress Gutenberg packages:

  • Update gutenberg-version to the relevant version in the module's package.json (the v prefix is important).
  • Review the external vendor dependencies definitions in scripts/generate-vendor.php in case they need updating.
  • Run npm run build:gutenbergjs to build the Gutenberg JS scripts - it will also update the gutenberg.libraries.yml and gutenberg.module file.
  • Clear the Drupal cache and test that all core features are still functional.
  • Perform a full production release by running npm run release.

Vendor packages

MAINTAINERS

Current maintainers: