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
Post a Comment