DraftJS Tip — Getting the bounding rect of a content block in DraftJS
Is there a way to grab the bounding rect of a sentence in draft? Or do I need to setup some kind of decorator/custom block function to get that information?
This question has originally been asked on the official DraftJS slack group.
The blocks in ...
saiki.hashnode.dev1 min read
Arihant
Non sticky pan to events 🥘🍳
This helped big time! Thanks again Sai!