J
J
Juniorrrrr2020-07-21 19:35:39
JavaScript
Juniorrrrr, 2020-07-21 19:35:39

How to add styles in react-draft-wysiwyg editor?

The task is to add the wysiwyg editor in the admin panel.

I am using the react-draft-wysiwyg editor.

The problem arose in styling. The task is to style the input data, that is, what is written in the editor and also what we get at the output.
For example, there are tags, you need to add classes to them and style them correctly.

Is it possible to implement this from under the hood of the library, if so, how?

Here is an example

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question