Hi everybody,
I figured out that CKEditor Version 3.1 and later doesn't load the contents.css by default when opening up the editor.
I load the ckeditor.js script in my HTML code to load the editor but the default CSS-Script contents.css that stylelzes the content inside the is not loaded.
After a looking inside the code I changed the following line (it's somewhere around line 80):
Original Code:
Replacement:
Is there another solution to solve this problem? Is there a bug as in version 3.0.1 I disvoerd no problem?
I figured out that CKEditor Version 3.1 and later doesn't load the contents.css by default when opening up the editor.
I load the ckeditor.js script in my HTML code to load the editor but the default CSS-Script contents.css that stylelzes the content inside the is not loaded.
After a looking inside the code I changed the following line (it's somewhere around line 80):
Original Code:
if(!/<head[\s|>]/.test(K))K=K.replace(/<html[^>]*>/,'$&<head><title></title></head>');
Replacement:
if(!/<head[\s|>]/.test(K))K=K.replace(/<html[^>]*>/,'$&<head><title></title>'+e.buildStyleHtml(v.config.contentsCss)+'</head>');
Is there another solution to solve this problem? Is there a bug as in version 3.0.1 I disvoerd no problem?