This repository was archived by the owner on Aug 22, 2023. It is now read-only.
This repository was archived by the owner on Aug 22, 2023. It is now read-only.
Open
Description
Hi,
firts of all, thanks for imgur plugins. It works well except when working with multiple instances.
Here is the foloowing code :
`CKEDITOR.disableAutoInline = true;
$("div.body[contenteditable='true']").each(function( index ) {
var element_id = $(this).attr('id');
var comment_id = $(this).attr('data-comment-id');
console.log(element_id);
CKEDITOR.inline( element_id, {
customConfig: 'config-file-with-imgur.js',
on: {
blur: function( event ) {
var data = event.editor.getData();
alert('Sending: ' + data + ' to ' + comment_id );
}
});
});`
As result, the first item as inline editor but following are not and imgure problem trigger the following error - in web dev console :
TypeError: editor.window.getFrame(...) is null
thanks again !
Metadata
Metadata
Assignees
Labels
No labels