Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

Latest commit

 

History

History
49 lines (36 loc) · 2.85 KB

README.md

File metadata and controls

49 lines (36 loc) · 2.85 KB

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
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
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
admin_post_thumbnail_html No None Post Thumbnail Filter
mce_css No Editor Stylesheet MCE CSS 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
Custom Post Statuses No None Custom Post Statuses
Screen Options No None Screen Options

TinyMCE

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

Customization Gutenberg Equivalent? Learn More
dom.DOMUtils No TinyMCE dom.DOMUTils
Editor No TinyMCE Editor
Toolbar Button No TinyMCE Toolbar Button