+ 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..
2 odpowiedzi
+ 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
+ 4
yes sure