ckeditor4 icon indicating copy to clipboard operation
ckeditor4 copied to clipboard

Control default state of Lock Ratio button

Open theAngriestman opened this issue 3 years ago • 1 comments

Type of report

Feature request

Provide description of the new feature

Is there a way to set default state to "off" for "Lock Ratio" button

https://prnt.sc/PO7Tj9ADPvjU

theAngriestman avatar May 17 '22 12:05 theAngriestman

There is no way to do it currently (the only way that I can think of is to modify the dialog on the fly via dialogDefinition event; but I'm not sure if it would work).

Probably the easiest solution would be to introduce a new config variable for it, e.g. image2_defaultLockRatio.

Comandeer avatar May 17 '22 17:05 Comandeer

Closed in https://github.com/ckeditor/ckeditor4/pull/5303

CKEditorBot avatar Aug 22 '22 08:08 CKEditorBot