javascript - Converting an input field into a Rich Text Editor - Stack Overflow

admin2025-04-22  0

I have a pretty basic question to ask but can anybody please tell me if there is any way to convert an input into a Rich Text Editor?? I did some googling but I cannot find a clear explanation regarding this topic. I can't and don't want to use a div with contentEditable as true nor do I want to manipulate the input of the div and send it to some hidden input tag using JS and then use it to send the form due to project limitations. I'm using Redux Form in a MERN Stack-based app and the redux form value doesn't seem to catch the value when I send the HTML of the div of Rich Text Editor to a hidden input using JQuery. Please, somebody, tell me a possible solution. Thanks in advance!

I have a pretty basic question to ask but can anybody please tell me if there is any way to convert an input into a Rich Text Editor?? I did some googling but I cannot find a clear explanation regarding this topic. I can't and don't want to use a div with contentEditable as true nor do I want to manipulate the input of the div and send it to some hidden input tag using JS and then use it to send the form due to project limitations. I'm using Redux Form in a MERN Stack-based app and the redux form value doesn't seem to catch the value when I send the HTML of the div of Rich Text Editor to a hidden input using JQuery. Please, somebody, tell me a possible solution. Thanks in advance!

Share Improve this question edited Mar 3, 2021 at 17:39 iamdhavalparmar 1,21810 silver badges26 bronze badges asked Mar 3, 2021 at 16:16 Codetheweb1234Codetheweb1234 232 silver badges5 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 4

You can try Jodit editor. Its open source and can be used on textarea.

This is the examples link:- https://froala./wysiwyg-editor/examples/textarea/

This is the documentation link :- https://xdsoft/jodit/doc/

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1745284786a294323.html

最新回复(0)