is this possible?
i know exactly what i need in the plugin and it would take me like an hour to make in php but i havnt a clue how to do it in the new all js format... is there away i can get plugin.js just to forward the dialogue to a php file or something similar?
thanks
i know exactly what i need in the plugin and it would take me like an hour to make in php but i havnt a clue how to do it in the new all js format... is there away i can get plugin.js just to forward the dialogue to a php file or something similar?
thanks

Re: how to make php plugin instead of js plugin??
If I remember correctly you can reference CKEditor.instances from iframe with
example plugin.js
(function() { var pluginName = 'plugin_name_here'; CKEDITOR.plugins.add( pluginName, { requires: ['iframedialog'], init : function( editor ) { CKEDITOR.dialog.add(pluginName+'_dialog', function () { return { title: 'Dialog title', minWidth: 850, minHeight: 485, contents: [ { id: 'iframe', label: 'label1', expand: true, elements: [ { type: 'iframe', src: 'url_to_PHP_file', width: '100%', height: 485, onContentLoad: function(){ // iframe is loaded } } ] } ], onOk: function() { // Notify your iframe scripts here... } }; } ); editor.addCommand(pluginName, new CKEDITOR.dialogCommand(pluginName+'_dialog')); editor.ui.addButton('Config_name',{ label : 'Text shown', command : pluginName, icon: this.path+'icon.gif', iconOffset: 0 }); } }); })();Re: how to make php plugin instead of js plugin??