

This can be defined as a rich text editor component that is completely inspired by Draft Js. This happens because when you are dealing with “DOM only” then you are going to save your entire HTML into the database.
REACT DOCUMENT EDITOR UPDATE
Let’s take an example that if you want to change the default mark up for the paragraphs then you have to update your entire content. This biggest disadvantage of having this kind of approach is if your choice is to make a change that will affect the presentation of your users, you will need to update all the contents that you have stored. This dependency causes a complete mix of presentation and its logic also.Įven if having a modular plugin system, this condition supposes a spaghetti model to work with on every feature.

The previous version that we were having of Dante had completely relied a lot on DOM manipulation. It can be referred to as the rewritten form of Dante and draft-js. Dante 2ĭante 2 is the latest upgrade of Dante.

This is defined as an open-source WYSIWYG editor that has been built for the modern web applications.
