Opened 12 years ago
Closed 12 years ago
#9834 closed Bug (invalid)
Image plugin dialog not working if htmlPreview is removed
Reported by: | giammin | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | 4.0 |
Keywords: | Cc: |
Description
Image plugin dialog does not work if htmlPreview is removed.
it doesn't load image properties (url etc etc) when opening on an existing image.
After an upload it does load image url neither switch to the info tab
if (dialogName == 'image') { var imageInfoTab = dialogDefinition.getContents('info'); imageInfoTab.remove('txtHSpace'); imageInfoTab.remove('txtVSpace'); imageInfoTab.remove('htmlPreview'); }
HTMLPreview object used in many places in image dialog script - it is not enough to remove it. To get rid of it you would have to remove all occurrences/calls to HTML preview in
ckeditor\plugins\image\dialogs\image.js
.