akirk / gutenberg-everywhere

Gutenberg in WordPress comments, admin pages, bbPress, and BuddyPress.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gutenberg Everywhere

110600033-c625d880-8183-11eb-9609-70ab7390c0d9

Gutenberg in WordPress comments, admin pages, bbPress, and BuddyPress.

Features:

  • list of blocks is determined by the list of allowed tags
  • block processing is run before displaying any block content on the front-end
  • Gutenberg is used on the admin edit page

Gutenberg is not bundled and instead is side-loaded from WordPress.

Note that this is still experimental, and may require additional work to fit in with your theme of choice.

The plugin uses the Isolated Block Editor. This can also be found in:

  • Plain Text Editor - standalone JS file that can replace any textarea on any page with a full Gutenberg editor
  • Gutenberg Chrome Extension - a Chrome extension that allows Gutenberg to be used on any page
  • Gutenberg Desktop - a desktop editor that supports the loading and saving of HTML and Markdown files
  • P2 - WordPress as a collaborative workspace (coming soon for self-hosted)

Caveats

  • The editor loads on every page where it is used. It may be performant to load it on-click.
  • There may be additional CSS needed to fully blend in with the chosen theme.
  • This assumes that wp_kses and Gutenberg will take care of any security issues for comments. This combination is untested by core.

Building

Run:

yarn start

Or:

yarn build

Releasing

Run:

yarn release

The plugin will be available in the release directory.

Distribution

Run:

yarn dist

About

Gutenberg in WordPress comments, admin pages, bbPress, and BuddyPress.

License:GNU General Public License v2.0


Languages

Language:PHP 68.8%Language:JavaScript 27.0%Language:SCSS 4.2%