Documents WordPress Classic Editor integration points and their Gutenberg equivalents
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
README.md Document the `default_*` filters that landed in GB 4.1 Oct 11, 2018
action-edit-form.md Update action-edit-form.md Apr 25, 2018
action-media-buttons.md Create action-media-buttons.md Apr 25, 2018
action-post-submitbox.md Create action-post-submitbox.md Apr 25, 2018
feature-custom-fields-metabox.md Document Custom Fields Metabox Jun 15, 2018
feature-custom-post-statuses.md Clarify links even more May 21, 2018
feature-editor-stylesheets.md Add a document for editor stylesheets Jul 27, 2018
feature-media-tabs.md Document the Media Tabs feature Jun 15, 2018
feature-post-type-supports.md Document the Post Type Supports feature Oct 10, 2018
feature-screen-options.md Clarify links even more May 21, 2018
filter-admin-post-thumbnail-html.md Add a page documenting `editor.PostFeaturedImage.imageSize` filter Jul 25, 2018
filter-admin-post-thumbnail-size.md Add a page documenting `editor.PostFeaturedImage.imageSize` filter Jul 25, 2018
filter-dropdown-pages-args.md Document `page_attributes_dropdown_pages_args` example Aug 17, 2018
filter-image-send-to-editor.md Document `image_send_to_editor` filter Aug 3, 2018
filter-mce-css.md `enqueue_block_editor_assets` is more appropriate in this context Jul 27, 2018
filter-post-gallery.md Link to the original documentation May 21, 2018
filter-post-updated-messages.md Document the `post_updated_messages` filter Jul 27, 2018
tinymce-dom-domutils.md Update tinymce-dom-domutils.md Sep 5, 2018
tinymce-editor.md Inter-link these two documents May 21, 2018
tinymce-filters.md Add the Hawaiian characters example Jul 27, 2018
tinymce-style-formats.md Add a page for TinyMCE style select Sep 11, 2018
tinymce-toolbar-button.md Inter-link these two documents May 21, 2018

README.md

Gutenberg Migration Guide

This repository documents WordPress Classic Editor customization points and their Gutenberg equivalents (if such exist). Its goal is to help WordPress developers update their plugins and themes for Gutenberg compatibility.

This README.md provides an overview to all impacted hooks (actions and filters) and TinyMCE features. Each item then has an extended document with an overview, examples of existing usage, and documentation for its Gutenberg equivalent (if any).

For the full history, see WordPress/gutenberg#4151. Please open an issue to suggest new hooks, usage examples, or other ideas for improvement.

Sections: Actions & Filters | Core Features | TinyMCE

Actions & Filters

This table documents the most common actions and filters within the Classic Editor, and whether they still exist or have direct Gutenberg equivalents.

Action / Filter Still Exists? Gutenberg Equivalent? Learn More
default_excerpt Yes (GB 4.1) N/A
default_content Yes (GB 4.1) N/A
default_title Yes (GB 4.1) N/A
edit_form_top No None Edit Form Actions
edit_form_after_title No None Edit Form Actions
edit_form_before_permalink No None Edit Form Actions
edit_form_after_editor No None Edit Form Actions
enter_title_here Yes N/A
write_your_story Yes N/A
post_updated_messages No No Post Updated Messages Filter
media_buttons No Block Inserter Media Buttons
post_submitbox_minor_actions No None Post Submitbox Actions
post_submitbox_misc_actions No None Post Submitbox Actions
post_submitbox_start No None Post Submitbox Actions
default_page_template_title Yes N/A
page_attributes_dropdown_pages_args No None Dropdown Pages Args Filters
quick_edit_dropdown_pages_args No None Dropdown Pages Args Filters
admin_post_thumbnail_html No editor.PostFeaturedImage Post Thumbnail HTML Filter
admin_post_thumbnail_size No editor.PostFeaturedImage.imageSize Post Thumbnail Size Filter
mce_css No Enqueue Stylesheet MCE CSS Filter
image_send_to_editor No None Image Send To Editor Filter
post_gallery No None Post Gallery Filter

Core Features

This table documents common features within the Classic Editor, and whether they still exist or have direct Gutenberg equivalents.

Feature Still Exists? Gutenberg Equivalent? Learn More
Editor Stylesheets No Enqueue Stylesheet Editor Stylesheets
Custom Post Statuses No None Custom Post Statuses
Custom Fields Metabox No None Custom Fields Metabox
Media Tabs No None Media Tabs
Post Type Supports Yes N/A Post Type Supports
Screen Options No None Screen Options

TinyMCE

This table documents common TinyMCE customizations and whether they have direct Gutenberg equivalents.

Customization Still Exists? Gutenberg Equivalent? Learn More
dom.DOMUtils No None TinyMCE dom.DOMUTils
Editor No None TinyMCE Editor
mce_buttons Yes N/A TinyMCE Filters
mce_buttons_2 Yes N/A TinyMCE Filters
mce_buttons_3 Yes N/A TinyMCE Filters
mce_buttons_4 Yes N/A TinyMCE Filters
style_formats Partially N/A TinyMCE Style Formats
tiny_mce_before_init Yes N/A TinyMCE Filters
tiny_mce_plugins Yes N/A TinyMCE Filters
tiny_mce_external_plugins Yes N/A TinyMCE Filters
Toolbar Button No None TinyMCE Toolbar Button