Test for style block being maintained.

This commit is contained in:
cahrens
2014-03-19 16:36:35 -04:00
parent d73f65c3a8
commit b1f4d28e46
4 changed files with 56 additions and 9 deletions

View File

@@ -46,6 +46,12 @@ class @HTMLEditingDescriptor
height: '400px',
menubar: false,
statusbar: false,
# Necessary to avoid stripping of style tags.
valid_children : "+body[style]",
# Prevent TinyMCE from adding extra <p>&nbsp;</p> in code.
forced_root_block : "",
force_br_newlines : true,
force_p_newlines : false,
setup: @setupTinyMCE,
# Cannot get access to tinyMCE Editor instance (for focusing) until after it is rendered.
# The tinyMCE callback passes in the editor as a paramter.