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 has been archived by the owner on Jun 28, 2023. It is now read-only.
Tailoring options in the WYSIWYG editor to a project is always a good idea. This way you can limit the amount of heading levels a user can select, or add a proper class for intro paragraphs. WordPress uses TinyMCE, to adjust:
Adjusting the global editor options
Go to Grrr\Utils\AdminEditor
Uncomment or adjust the predefined options, or make your own adjustments
The TinyMCE editor used by ACF takes most of the globally configured options like block_formats. However, to adjust the toolbars, you'll need to adjust both the regular TinyMCE editor, as well as the one used in ACF. This is needed to add style_formats. To do so:
Go to Grrr\Acf\WysiwygToolbars
Enable the commented out hook and adjust the settings accordingly