Skip to content
Discussion options

You must be logged in to vote

I'd suggest using the StyleManager API in order to update properly the selected style rule.

editor.StyleManager.getSelected()?.addStyle({ 'z-index': -10 })

Replies: 1 comment 2 replies

Comment options

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

@badiuciprian
Comment options

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