Opened 13 years ago

Closed 13 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 );

}";

Change History (1)

comment:1 Changed 13 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy