Cleaning up code in wysiwig editor
-
Hi, thanks very much for a great plugin.
I am using the Activate the basic TinyMCE editor to new topics and replies to add basic HTML to your input. (v1.0.5) functionality.I am having issues wiht people pasting code and the code not being clean.
I read on https://codex.bbpress.org/enable-visual-editor/ that I can add additional code to force clean the HTML (last bit of code on that page)
function bbp_tinymce_paste_plain_text( $plugins = array() ) { $plugins[] = 'paste'; return $plugins; } add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' );
Would this function need to be modified to work with the bbp Toolkit wysiwig editor or I can use as is?
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Cleaning up code in wysiwig editor’ is closed to new replies.