Style manager of text type customization #5531
Replies: 1 comment 2 replies
-
An empty value should reset the style property [
{ value: '', name: 'Normal', className: 'fa fa-times'},
{ value: 'bold', name: 'Bold', className: 'fa fa-bold'}
] |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Thanks again for this amazing product.
I am trying to implement a minimalistic design for the style manager for the texts. Something like a rich text editor in the side panel.
For that, i created my own set of style objects enabled and it's like a select but with only one button
Enabling the property is working fine, i designed it as i like.
But disabling the property isn't available, since we have to add a 'none' value to the select list for it to disable it. Is there a way to do it in a way that when we click again on the property, it gets disabled?
Thanks again for the help!
`
const styleManagerSectors = [
`
Beta Was this translation helpful? Give feedback.
All reactions