Hello everybody,
I have installed CKEditor 3.6.3 but I am trying to do everything in my knowledge to
solve a problem related to the Bold style.
I created an application which save into a DB my text, but when I try to view the page in an HTML I can't see the Bold style.
In the database I saw the tag <strong>something</strong> instead the <b> tag, so I decided to
modify the file _source\plugins\basicstyles\plugin.js with:
CKEDITOR.config.coreStyles_bold = { element : 'b', overrides : 'strong' };
CKEDITOR.config.coreStyles_italic = { element : 'i', overrides : 'em' };
But it seems that the plugin is never loaded since everytime I add new text inside my database I see "<strong>something</strong>" insted of the <b> tag.
How this can be possible?
I load the editor in this way:
$(document).ready(function() {
if (CKEDITOR.instances['editors'] != undefined) { CKEDITOR.remove(CKEDITOR.instances['editors']); }
var editors;
CKEDITOR.replace('editors',
{
width:300,
height:300,
toolbarCanCollapse: false,
resize_enabled: false,
language : 'en'
} );
});
How can I fix this?
Thank you very much!

A few remarks here.
A few remarks here.
First of all, why do you install such an old editor version? CKEditor 3.6.3 was released a year ago, there have been numerous releases since then, including security ones, lots of bugs were fixed, new features were introduced... Last but not least, we now have a new major version, CKEditor 4, that is really a pity to miss! So: start with installing something more fresh.
Secondly, you made some changes in editor source files which is a bad thing to do. The editor can be configured in many ways, see these articles for more information: version 4.x and version 3.x.
CKEditor is never run from source files unless you explicitely tell it to by using ckeditor_source.js instead of ckeditor.js. Standard ckeditor.js contains all minified plugin files so your change, without rebuild, does not affect it. Running the editor from sources, on the other hand, is not recommended in a production environment.
Last but not least, see the new feature that we have just introduced: Advanced Content Filter, especially the last section on transformations.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!