monstra-cms / monstra

THIS PROJECT IS NOT SUPPORTED ANYMORE! Check FLEXTYPE.ORG
http://flextype.org
MIT License
396 stars 123 forks source link

Preview doesn't works in Page Editor #410

Open Awilum opened 8 years ago

Awilum commented 8 years ago

Link: http://webuzo.com/demos/Monstra

ghost commented 8 years ago

I think you are using the default plugin - MarkItUp! editor. This is a good editor if you like to edit in raw HTML, but if you want to see the page in preview mode you need to use another editor plugin - see http://monstra.org/download/plugins for choices.

I prefer the CKEditor, but at the moment you need to install from the instructions on the forum, then edit config.js: 1) To allow underlines comment this line:

 //      config.removeButtons = 'Underline,Subscript,Superscript';

2) To allow div's add this near bottom:

config.extraAllowedContent = 'div(*){*}[*]';