![]() This is a new area for us because weve never open-sourced a rich-text framework, but we were excited to see that within the first couple of hours of it being open-sourced in GitHub, Draft.js received more than 1,000 stars. View = document. We open-sourced Draft.js, a React-based rich text editor framework that has been in development since summer 2013. Textbox = document.getElementById('my_textarea') MyTextArea.value = before_txt + '' + selected_txt + '' + after_txt Var after_txt = myTextAreaValue.substring(lectionEnd, myTextAreaValue.length) Var before_txt = myTextAreaValue.substring(0, lectionStart) Var selected_txt = myTextAreaValue.substring(lectionStart, lectionEnd) Var myTextArea = document.getElementById('my_textarea') #Rich text editor js how toThis is my attempt.I'm making a simple rich text editor using textarea for editor, i simply paste for bold, italic & underline in textarea everything working fine, problem is that i cannot understand how to insert ordered list & unordered list using this script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |