Closed Guanche closed 6 years ago
I don't experience any issues with resize plugin for CKEditor. Moreover I can see it's enabled by default, and works smooth at the demopage: http://fm.devale.pro/demo/
Oh, hell. I did an stupid setup error. I'm just starting with ckeditor and rfm. Sorry.
In raising this issue, I confirm the following (please check boxes):
I use the following server-side connector (check one):
My familiarity with the project is as follows (check one):
Hi again.
I've added the Editor Resize plugin (https://ckeditor.com/cke4/addon/resize).
When the "browse files" button is pressed at the Enhanced Image plugin dialog window an error happens at the code added for opening the rfm in a modal window:
config.js?t=HBDD:94 Uncaught ReferenceError: $ is not defined at button.browseButton.onClick (config.js?t=HBDD:94) at button. (ckeditor.js:549)
at button.m (ckeditor.js:10)
at button.fire (ckeditor.js:12)
at button.click (ckeditor.js:548)
at CKEDITOR.dom.element. (ckeditor.js:540)
at CKEDITOR.dom.element.m (ckeditor.js:10)
at CKEDITOR.dom.element.fire (ckeditor.js:12)
at HTMLAnchorElement. (ckeditor.js:65)
The code line is:
var iframe = $("").attr({ src: '/rfm' + // Change it to wherever Filemanager is stored. '?CKEditorFuncNum=' + CKEDITOR.instances[event.editor.name]._.filebrowserFn + '&CKEditorCleanUpFuncNum=' + cleanUpFuncRef + '&langCode=en' + '&CKEditor=' + event.editor.name });
Is the code for opening the rfm in a modal window necessary? In my case if not included the browser button stays hidden even with the rfm path assigned as the file browser url.
Thanks
Edit: I mean that the bug happens after installing this plugin and stop when I uninstall it. I've tried setting to false the resize option at ckeditor.config on the dialog open and show event, but it doesnt seem to work.