Nan Wu

Results 9 comments of Nan Wu

having the same issue on Mac with zsh 5.8

Would love to have conditional inline styles, we are using decorator to do real time validation (regex check) of markers. (Correct markers in green, otherwise in red etc.) Currently we...

@Tommy10802 Yes, to all your questions. When draftjs trying to render decorator components it will call `getDecorations` first. This function will iterate through all decorators, matching the text range according...

Hi, @Tommy10802 Since there is not way to attach multiple Entities to the same character. I think your one entity approach is a reasonable compromise. If you already know what...

@Tommy10802 For this last problem I really don't have good way to solve it. One hackish solution would be adjust the key format, bake the id into decorator key (in...

@Tommy10802 Sorry, I was a little bit busy recently. I'll try some approach when I have time and then get back to you.

@Tommy10802 With a second thought, I realise that it's not possible to achieve that in `NestableDecorator`, since it's props is tied to the type of the component, we are not...

@Tommy10802 It does not work well with draft-js-plugins, since draft-js-plugins have it's own decorator implementation embedded, which cannot be replaced easily.

@yanhaijing THIS PROJECT IS CURRENTLY IN MAINTENANCE MODE. It will not receive any feature updates, only critical security bug patches. On 31st December 2022 the repo will be fully archived....