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

I have a pretty basic question to ask but can anybody please tell me if there is any way to convert an

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/

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745284785a4620495.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信