draft-js-utils
draft-js-utils copied to clipboard
Allow multiple inlineStyles to be returned by customInlineFn
What does this PR do?
Previously the customStyleFn only allowed you to apply a single style. This PR improves the behavior of the customInlineStyleFn by allowing it to return multiple inlineStyles so they can be applied to an an element.
Does it break anything?
This addition would enhance the functionality of the customStyleFn in a backwards compatible way.
Does it have tests?
Yes!
Who would benefit from this?
Here are several issues open that this functionality fixes.
- https://github.com/sstur/draft-js-utils/issues/142
- https://github.com/sstur/draft-js-utils/issues/154
- https://github.com/webdeveloperpr/draft-js-custom-styles/issues/2
- https://github.com/sstur/draft-js-utils/pull/136
I would love to have this merged. Please let me know your thoughts.
it is a very useful feature. I look forward to the release
When can we expect the release with this change?
Whats the status on this?
Any idea on if this will get merged? I would LOVE this functionality!
When would you like to merge this PR, any idea? It would be really useful.
It has been over a year since this PR was proposed, any word on why it hasn't been merged would be appreciated. Does it need more work? Are the maintainers just swamped? The bug this PR solves is a major painpoint, so a comment of any kind would be helpful
Any updates on this?
@webdeveloperpr Hello, did you found any substitution module that convert to HTML and convert from HTML ? Your fork was removed
Are there any updates?
waiting for update...
@orenaksakal @entryone Any ideas on when this will get merged? It has been more than 3 years now.
please merge this, just one line