Adding a class to custom TinyMCE button using WPLinks dialog box
Adding a class to custom TinyMCE button using WPLinks dialog box
Adding a class to custom TinyMCE button using WPLinks dialog box
Finally (thanks to tinymce forum) i found the answer : when i’m on “second item” for example just have to click on and that will create a sub-list
I fixed it by adding the following script after making the Ajax call: tinymce.execCommand(‘mceRemoveEditor’, false, ‘customEditor’); tinymce.execCommand(‘mceAddEditor’, false, ‘customEditor’);
Sounds like you are using the wrong software 😉 wordpress is not really designed nor should it be used as an html editor. If for whatever reason you need some concrete HTML format you should either use a shortcode to generate it or create a page template to be used in the places where it … Read more
Understanding automatic text formatting in the WordPress editor
Technically, this is an issue with TinyMCE, not with WordPress, but WP does provide a gateway to TinyMCE, which allows you to change settings. Your solution might look something like this: add_filter (‘tiny_mce_before_init’, ‘wpse303889_tiny_filter’); function wpse303889_tiny_filter ($in) { $in[‘entity_encoding’] = ‘raw’; return $in; } Setting the entity_encoding filter to ‘raw’ supposedly allows you to get … Read more
TinyMCE function causes issue in AVADA theme
“Formats” Select Menu in WP Editor doesn’t show up with correct colour
The problem was related to the PHP file. The Javascript file can contain two buttons but must be referenced twice as shown in the picture.
Sounds like a copy and paste issue. Anyway, there is information on how to clean by allowing just certain tags in your written content in tinymce editor. https://jonathannicol.com/blog/2015/02/19/clean-pasted-text-in-wordpress/ So if you go to disallow the code tag with this technique. You should be fine enough..