draftjs-utils
draftjs-utils copied to clipboard
How to use getSelectionCustomInlineStyle ?
Hello,
I can't manage to use getSelectionCustomInlineStyle, the only doc says that we have to pass it an array of styles but what does it means ??
I tried ['MY_CUSTOM_STYLE_NAME'] and it returns an undefined on this.
Do I have to pass whole css structure as an array ?
Thank you for your time :)
Hello,
I can't manage to use getSelectionCustomInlineStyle, the only doc says that we have to pass it an array of styles but what does it means ??
I tried
['MY_CUSTOM_STYLE_NAME']and it returns an undefined on this.Do I have to pass whole css structure as an array ?
Thank you for your time :)
me too
same here, how to use this function plz