im writing a Soulver-like application with html+js. I need to customize text from input(highlight). For input im using <div contenteditable="true"></div> After each enter in the div appears new div. How can i assign to it id. Or override all internals div with \n, like in textarea. Any ideas?
im writing a Soulver-like application with html+js. I need to customize text from input(highlight).
Share
After each
keyupyou could loop through thedivsand addattrto them: