Opened 16 years ago
Last modified 15 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 follow-up: 2 Changed 15 years ago by
Cc: | saarelias@… added |
---|---|
Milestone: | CKEditor 3.x |
comment:2 Changed 15 years ago by
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 15 years ago by
Keywords: | Confirmed added |
---|
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.