New answers tagged wp-editor
Managed to get a working solution. What you need: TinyMCE Advanced plugin What you should do: Customize the Visual Blocks Plugin that comes with the TinyMCE plugin and add css classes for each element you would to highlight (just loop through all p elements and parse the innerHTML and check if it contains your specific pattern). Finally it looks ...
Use this code, hope it will help: wp_editor( '', 'custom_editor_id' ); \_WP_Editors::enqueue_scripts(); print_footer_scripts(); \_WP_Editors::editor_js(); More detail can be found here.
Top 50 recent answers are included