You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Provide some more information in the collapsed post editor control in the pane about the contents of the setting. For example, there could be a word count:
Allow a PostEditorControl to have params which include which TinyMCE buttons should be made available. For example, there may be some postmeta field where only basic HTML should be allowed. When the editor is shown for this expanded control, then only the relevant TinyMCE buttons should be displayed. The full suite of controls should then be displayed when going back to edit post_content. Not totally sure of the feasibility of doing this declaratively via control params, but it could be handy.
Building off of #216 some ideas for how we can improve the post editor control:
closeEditorandopenEditorto belabelsdefined on the registered post type object itself, allowing them to be customized per post type.wp_editorinto theWP_Customize_Post_Editor_Controlitself (staticmethods added once):PostEditorControlto haveparamswhich include which TinyMCE buttons should be made available. For example, there may be somepostmetafield where only basic HTML should be allowed. When the editor is shown for this expanded control, then only the relevant TinyMCE buttons should be displayed. The full suite of controls should then be displayed when going back to editpost_content. Not totally sure of the feasibility of doing this declaratively via controlparams, but it could be handy.