Allow TinyMCE to create p's, else formatting doesn't work.
This commit is contained in:
@@ -33,6 +33,7 @@ Feature: CMS.HTML Editor
|
||||
And I save the page
|
||||
Then the page has text:
|
||||
"""
|
||||
<p> </p>
|
||||
<p class="title">pages</p>
|
||||
<style><!--
|
||||
.title { color: red; }
|
||||
|
||||
@@ -48,10 +48,6 @@ class @HTMLEditingDescriptor
|
||||
statusbar: false,
|
||||
# Necessary to avoid stripping of style tags.
|
||||
valid_children : "+body[style]",
|
||||
# Prevent TinyMCE from adding extra <p> </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.
|
||||
|
||||
Reference in New Issue
Block a user