Created
December 5, 2013 10:00
-
-
Save Schepp/7802899 to your computer and use it in GitHub Desktop.
Configure TinyMCE in a way that it filters out Word tagsoup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tinyMCE.init({ | |
mode : "exact", | |
theme : "advanced", | |
language : "de", | |
valid_elements : "p,em/i,strong/b,br,strike,u,ul,ol,li", | |
theme_advanced_buttons1 : "undo,redo,bold,italic,underline,strikethrough,bullist,numlist,outdent,indent,code", | |
theme_advanced_buttons2 : "", | |
theme_advanced_buttons3 : "", | |
apply_source_formatting : true, | |
entity_encoding : "named", | |
strict_loading_mode : false, | |
debug : false | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment