Opened 11 years ago

Closed 11 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');
}

Change History (1)

comment:1 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy