Opened 14 years ago
Closed 14 years ago
#7244 closed Bug (invalid)
Wrong application of buttons (readmore, image...)
Reported by: | yoleth | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.5 |
Keywords: | Cc: |
Description
When there are more than one editor on a page, actions on buttons don't apply on the right editor but on the last one.
Used it on joomla 1.6
The problem come from function onGetInsertMethod($name){}
I replaced
$js= "function jInsertEditorText( text,editor ) {
text = text.replace( /<img src=\"/, '<img src=\"".$url."' ); CKEDITOR.instances.".$name.".insertHtml( text );
}";
By
$js= "function jInsertEditorText( text,editor ) {
text = text.replace( /<img src=\"/, '<img src=\"".$url."' ); CKEDITOR.instances[editor].insertHtml( text );
}";
This ticket concerns joomla extension only and it has nothing to do with CKEditor. It was forwarded to joomlacode.org.
For any further information about this issue please refer to: http://joomlacode.org/gf/project/ckeditor/tracker/?action=TrackerItemEdit&tracker_item_id=25422tu