Is there a way to force a root node into a CKEditor instance?
I would want anything the user types to go in between the tags of the node.
The node should be formatted:
<div class="text-block">
</div>
Thank you
Edit:
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.protectedSource describes HTML which must NOT be editable in an instance.
However, CKEDITOR.config.protectedSource.push( /<div\\\sclass="text-block">*?<\\\/div>/gi ); does not prevent the html from changing.
CKEditor allows developers to set a class on its body tag, resident only during instance loads: http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.bodyClass