How to set the component cannot be deleted
Question

Answers (3)
To enable rich text editor on one click, you can extend the original text component in this way
editor.Components.addType('text', {
view: {
events: {
input: 'onInput', // Preserve the original on input event which updates RTE toolbar position
click: 'enableRte',
},
enableRte() {
this.onActive()
}
},
});
I'd suggest creating a custom Component with removable property set to false
Related Questions and Answers
Continue research with similar issue discussions.
Issue #362
How to create custom link components that prompts users to type link/choose link similar to Images Component Modal
Image Components have logic to call Modal and prompt user's interaction for options/configuration of image url. Would like to do similar to...
Issue #1237
Before you drag and drop the image,there was nothing in assetManager
and I don't know how to set the backgroundImage
Issue #2187
How to change the title for Image component on Hover?
Hello @artf , How can I change the title for my image component when I hover on it? LIke the highlighted text on this image: Thanks!
Issue #3414
Component model is not reset when create new drag
When dragging a component from right panel component model doesn't set to default value but has value of previously added component
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.