+ 1

Editable HTML?

So I recently discovered how to display code that the user can edit(not sure if JS even works. Haven't tested) Is there a way to make the HTML editable? https://code.sololearn.com/W1Hb3ZcBX9wb/?ref=app

20th Jul 2018, 3:41 AM
Daniel Cooper
Daniel Cooper - avatar
2 ответов
0
Yes, I understand this is probably a stupid question xD
20th Jul 2018, 3:42 AM
Daniel Cooper
Daniel Cooper - avatar
0
I think you can just put the “contenteditable” after the tag and put =“true”. This code has editable CSS shapes but in the style tag, you can see the contenteditable=“true”. https://code.sololearn.com/WNtUpM8fH4nz/?ref=app
20th Jul 2018, 3:43 AM
Noah Garza
Noah Garza - avatar