[CHALLENGE]Make a text editor using html5, js and css with save and print like features.(print only text area) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

[CHALLENGE]Make a text editor using html5, js and css with save and print like features.(print only text area)

Make a text editor that can save, print, save and do much more by only using CSS, HTML, JavaScript..

11th Mar 2018, 3:46 AM
Manan
Manan - avatar
2 Answers
+ 6
Someone might be interested in execCommands(), which gives you in-page HTML editing. This private code was me verifying it worked here (source codepen in HTML comment), and you should be able to test the buttons on the text/content BELOW the buttons. https://code.sololearn.com/WuZCJH0Nj3Ra/?ref=app Because I may eventually delete it, here's the CodePen: "execCommands supported in your browser" (by Sten Hougaard) https://codepen.io/netsi1964/full/QbLLGW
11th Mar 2018, 4:09 AM
Kirk Schafer
Kirk Schafer - avatar
+ 4
yes sure
11th Mar 2018, 3:52 AM
Manan
Manan - avatar