javascript - Ckeditor broken page css web -
i'm using ckeditor, i'm reading database template, contains html code css , js
the problem when using:
ckeditor.replace ('description');
the css code of template, merged code of web page, web page takes styles read template , break styles.
what should do, ckeditor takes css he, , not web page.
my configuration is:
ckeditor.editorconfig = function( config ) { config.toolbargroups = [ { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, { name: 'links' }, { name: 'insert' }, { name: 'forms' }, { name: 'tools' }, { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, { name: 'others' }, { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, { name: 'styles' }, { name: 'colors' }, { name: 'about' } ]; config.removebuttons = 'underline,subscript,superscript'; config.format_tags = 'p;h1;h2;h3;pre'; config.removedialogtabs = 'image:advanced;link:advanced'; };
can me?
thanks
Comments
Post a Comment