id summary reporter owner description type status priority milestone component version resolution keywords cc
9376 Custom Iframe Plugin not working unless a system plugin is triggered first yveszx Garry Yao "I was able to replicate this with 3 different custom plugins with on chrome and IE9.
If i don't click on image plugin or table plugin, when i try to trigger my custom plugin it will freeze after the overlay is loaded.
nothing in the console
my plugins are very simple
simple iframe plugin, ...
{{{
(function () {
CKEDITOR.plugins.add('InsertGlossary',
{
requires: ['iframedialog'],
init: function (editor) {
var me = this;
CKEDITOR.dialog.add('InsertGlossaryDialog', function (targetEditor) {
return {
title: 'InsertGlossary Dialog',
minWidth: 595,
minHeight: 500,
contents:
[
{
id: 'iframeGloss',
label: 'InsertGlossary',
expand: true,
elements:
[
{
type: 'html',
id: 'Glossary',
label: 'Glossary',
style: 'width : 100%;',
html: ''
}
]
}
],
onOk: function () {
final_html = '' + content + ' ';
editor.focus();
editor.insertHtml(final_html);
}
};
});
editor.addCommand('InsertGlossary', new CKEDITOR.dialogCommand('InsertGlossaryDialog'));
editor.ui.addButton('InsertGlossary',
{
label: 'InsertGlossary',
command: 'InsertGlossary',
icon: this.path + 'images/icon.gif'
});
}
});
})();
}}}
" Bug closed Normal CKEditor 4.0 UI : Dialogs 4.0 fixed