© 2022 Hashnode
Today, I will show you a very simple and quick way to add text editing functionality to your react project. It's very quick and simple. So, we are going to use the "React Draft Wysiwyg" package. You c…
There might be a moment in your life as a software developer that you need to build a text editing component for your ReactJS app, and you just don’t want to throw those fancy old-fashioned textarea o…
Braft Editor - Custom Media Upload Function Introduction In this article I am going to show you how to implement custom upload and validation function for media upload in Braft Editor. Braft Editor i…
EditorState has a static method called forceSelection. It should be used when you want to re-render the editor — with selection and focus — forcefully. Here is what is said about it in the docs: 📘 forceSelection static forceSelection( …
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 …