最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览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/

发布评论

评论列表(0)

  1. 暂无评论