draftjs-utils icon indicating copy to clipboard operation
draftjs-utils copied to clipboard

How to use getSelectionCustomInlineStyle ?

Open LucienPerouze opened this issue 7 years ago • 2 comments

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 :)

LucienPerouze avatar Mar 04 '18 22:03 LucienPerouze

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

Tianruo avatar Aug 07 '19 03:08 Tianruo

same here, how to use this function plz

Flip437 avatar Mar 23 '23 13:03 Flip437