Opened 15 years ago

Last modified 14 years ago

#4000 confirmed Bug

It is impossible to remove Lock Ratio and Reset buttons from Image dialog

Reported by: Artur Formella Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version:
Keywords: Cc: saarelias@…

Description

It is impossible to remove Lock Ratio and Reset buttons from Image dialog using dialogDefinition event.

Change History (3)

comment:1 Changed 15 years ago by Sa'ar Zac Elias

Cc: saarelias@… added
Milestone: CKEditor 3.x

a related bug:
remove the 'txtHeight' and 'txtWidth' fields using the dialogDefinition method. afterwords, click on the lock ratio button. a JS error is being thrown.

this.getContentElement(L, M) is undefined

comment:2 in reply to:  1 Changed 15 years ago by Frederico Caldeira Knabben

Replying to Saare:

remove the 'txtHeight' and 'txtWidth' fields using the dialogDefinition method. afterwords, click on the lock ratio button. a JS error is being thrown.

We'll not add such kinds of checks in the code anyway. If a developer removes those fields s/he should also remove dependent stuff (which is not possible because of the issue reported in this ticket).

comment:3 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Keywords: Confirmed added
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