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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -