
If everything is running well, take a deep breath and smile đ, you have implemented a rich text editor, been able to get data from it and present it in the React App. Though itâs not yet that rich, isnât it? so, letâs add some styles to the app so that everything is visible. As a result, you will see a rich text editor on your page.
HOW TO GET DRAFT VIEW IN WORD CODE
HOW TO GET DRAFT VIEW IN WORD INSTALL
In the myapp directory, install draft-js and react-draft-wysiwyg by running, npm install -S draft-js react-draft-wysiwyg or yarn add draft-js react-draft-wysiwyg Add the editor component to our app. |_yarn.lock Add draft-js and react-draft-wysiwyg to the app.

Some knowledge about React Apps(if you are a beginner still donât worry, try to catch up).In this case we are using the bootstrap CDN link. The goal is to provide high availability and performance by distributing the service spatially relative to end users. CDN â A content delivery network, or content distribution network, is a geographically distributed network of proxy servers and their data centers.WYSIWYG is an acronym for âwhat you see is what you getâ. Wysiwyg â A WYSIWYG (pronounced âwiz-ee-wigâ) editor or program is one that allows a developer to see what the end result will look like while the interface or document is being created.Draft.js allows you to build any type of rich text input, whether youâre only looking to support a few inline text styles or building a complex text editor for composing long-form articles.Draft.js is a framework for building rich text editors in React, powered by an immutable model and abstracting over cross-browser differences.There are a number of frameworks that one can use for rich text editors but we shall choose draft.js because of its precedence over the others. Rich text editors are important in applications because of their extended functionalities and text formattings.

In this article, we are going to create a react app and add a rich text editor using the draftjs library and react-draft-wysiwyg.
