Add stylables to wrapper type #5912
-
Hello, I'm basically trying to do what is asked in this issue: #3287 The first answer by the author is mentioning an option to provide to
I also tried to "recreate" the type with The only way I found is to set an initial value for I searched for examples in pretty much all of the issues of this repository and couldn't find one. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you have to do |
Beta Was this translation helpful? Give feedback.
Yes, you have to do
editor.Components.addType('wrapper', ...)
but be sure to do it inside a plugin as this is the right place to extend components.