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

customEntityTransform is not applied if entity is within bullet list

Open agnese-kerubina opened this issue 3 years ago • 2 comments

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.

agnese-kerubina avatar Dec 08 '21 17:12 agnese-kerubina

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?

lochstar avatar Mar 02 '22 02:03 lochstar

Exactly this. I have just ran into this as well when trying to override parsing on Mentions. Also thinking about collaborating to fix this.

ghost avatar Mar 04 '22 19:03 ghost