+ 3
how would i make a real time html editor?
What i mean by Real Time editior is that you would type in html/css code and it would run it and give an output. Im trying to make this for my website thats on html but i dont understand how to code it.
7 Respostas
+ 8
look at github
+ 3
You can use a library ( search on google ) to handle an adanced code editor ( with syntaxic coloration, and so on )...
And on the other side, you have to send ( JS document.write() ) your source code to a new document for displaying it ( it could be on the same window/tab, on a new one, inside an <iframe> element... ).
+ 1
w3schools & codepen.io ...not the answer you're looking for but they're cool & do what you're asking...so it can be done.
+ 1
Try code playground..the best mobile code editor.
0
write your code then save it as (.html or .htm)