draftjs-to-html
draftjs-to-html copied to clipboard
customEntityTransform is not applied if entity is within bullet list
I bumped into this recently, because I wanted to override with customEntityTransform that every link included is opened into a new tab. Somehow it seems that customEntityTransform is not taken into account if entity is within a bullet list.
Is that intended? Id be more than happy to dive into this next week and do a pr, if there are any active maintainers.
This is fixed in https://github.com/jpuri/draftjs-to-html/pull/85
@jpuri Any chance you can merge these quite old PRs and publish a new version?
Exactly this. I have just ran into this as well when trying to override parsing on Mentions. Also thinking about collaborating to fix this.