Skip to content
Discussion options

You must be logged in to vote

Did you try this option (config.domComponents.disableTextInnerChilds)?

/**
* Experimental: Disable text inner components.
* With this option, you're able to decide which inner component inside text should be
* disabled (eg. no select, no hover, no layer visibility) once edited.
* @default false
* @example
* // disable all inner childs
* disableTextInnerChilds: true,
* // disable all except link components
* disableTextInnerChilds: (child) => !child.is('link'),
*/
disableTextInnerChilds?: boolean | ((cmp: Component) => boolean | void);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@addlistener
Comment options

@artf
Comment options

artf Apr 18, 2024
Maintainer

Answer selected by addlistener
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants