jquery - How to make TinyMCE have a real WYSIWYG behavior - TinyMCE 4.x -


i'm working on custom cms , i'm using tinymce allow user create content of page. similar have on wordpress. content saved on admin area displayed inside element under different css rules.

my problem following, when i'm adding html elements such headers, paragraphs, uls, ols, , many others generic kind of styled html (generic css?) inside 'textarea' there way can display elements in editor using exact same css using display content ?

i found way it.

http://www.tinymce.com/wiki.php/configuration:content_css

tinymce.init({     ...     content_css : "/mycontent.css"    // resolved http://domain.mine/mycontent.css }); 

Comments

Popular posts from this blog

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

c# - Specify IP End Point in FiddlerCore -

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -