Adding a button to the TinyMCE toolbar in the Divi Visual Builder #701
Open
Description
Problem Description
I created a custom plugin to add a 'Formats' dropdown to the TinyMCE toolbar, based on the code provided at WPbeginner (method2) https://www.wpbeginner.com/wp-tutorials/how-to-add-custom-styles-to-wordpress-visual-editor/
The button is added to the toolbar in the classic WP editor and to the Divi text module when you open the text module from the Backend builder. However, it's not there when you open the text module in the Visual Builder.
What needs to be changed to add the button to the Tiny toolbar so it is compatible with the Divi Visual Builder?
Thanks
JP
Steps To Reproduce
- Download the attached plugin file and remove the .txt extension
TinyMCE-custom-styles.php.txt - Install the plugin file and activate
- In Divi » them options » builder » advanced, enable the classic editor
- Start a post with the classic editor and note that the 'Formats' dropdown is available
- Click to use the Divi builder (backend), add a section, row and text module and note that the 'Formats' dropdown is available
- Save the post, switch to the Visual Builder and note that the 'Formats' dropdown is NOT available
Screencapture video: https://somup.com/cZiIoMENke
Metadata
Assignees
Labels
No labels