Opened 14 years ago
Last modified 14 years ago
#8398 confirmed Bug
customConfig applied to second instance of CKEditor may apply to both or only one editor. — at Version 2
| Reported by: | Jakub Ś | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.1 |
| Keywords: | Cc: |
Description (last modified by )
This issue was reported on our support channel (Multiple instances configuration problem).
Custom cofnig file.
CKEDITOR.editorConfig = function( config )
{
config.skin = 'office2003';
config.startupMode = 'source';
};
Settings on HTML page:
OK:
CKEDITOR.replace( 'editor1' , {customConfig : 'myconfig.js' });
CKEDITOR.replace( 'editor2');
This applies only to the first editor.
PROBLEM:
CKEDITOR.replace( 'editor1' );
CKEDITOR.replace( 'editor2', {customConfig : 'myconfig.js' } );
This applies either to one or both editors
To reproduce:
- Modify replacebycode sample page and JS file
- Clear browsers cache
- Load replacebycode page
In Firefox. At start only second instance gets updated but if you press CRTL+F5 couple of times quickly options will be applied to both editors
In IE. Simple CRTL+F5 will do. You will get toggling effect. One CRTL+F5 updates both editors and the other only one.
In Webkit and Opera both editors are updated most of the time. Only once I have managed to get state where only one editor was changed – it took a lot of CRTL+F5 of F5 to get it.
Issue has been reproducible from CKEditor 3.1 as I didn’t manage to get customConfig to apply any changes in earlier versions.
Change History (4)
comment:1 Changed 14 years ago by
| Status: | new → confirmed |
|---|
comment:2 Changed 14 years ago by
| Description: | modified (diff) |
|---|

Two editors updated in firefox