Opened 11 years ago

Last modified 11 years ago

#10971 confirmed New Feature

Add an option to make widgets non-removable

Reported by: xmo Owned by:
Priority: Normal Milestone:
Component: UI : Widgets Version: 4.3 Beta
Keywords: Cc:


On the new widgets feature, it's currently possible to focus and delete a widget.

Depending on the situation, this may not be a desirable behavior in all situations, e.g. the editable may not make sense without the widget, although editing both the content and surrounding (text) of the widget makes sense.

See attachment for an example, set caret at the start of the last paragraph then backspace twice, the widget (middle paragraph) will first be selected/focused, then removed. This may be preventable by catching the deletion event at the editor level and stopping it, but that feels hackish.

Attachments (1)

index.html (1.1 KB) - added by xmo 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by xmo

Attachment: index.html added

comment:1 Changed 11 years ago by Piotrek Koszuliński

Component: GeneralUI : Widgets
Keywords: widgets removed
Status: newconfirmed
Version: 4.3 (GitHub - major)4.3 Beta

The thing is that there are many ways in which widget could be removed. New page button, deleting widget itself, deleting bigger text selection, cutting, replacing with other content when pasting/inserting other things, etc, etc.

I understand the need for such feature, but it's so unfeasible that I guess we'll never work on it.

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