May 27, 2019

60 words 1 min read

umpox/TinyEditor

umpox/TinyEditor

A functional HTML/CSS/JS editor in less than 400 bytes

repo name umpox/TinyEditor
repo link https://github.com/umpox/TinyEditor
homepage
language HTML
size (curr.) 5 kB
stars (curr.) 2273
created 2016-12-20
license MIT License

TinyEditor

Usage

Paste the following code into your browser address bar:

data:text/html,<body oninput="i.srcdoc=h.value+'<style>'+c.value+'</style><script>'+j.value+'</script>'"><style>textarea,iframe{width:100%;height:50%}body{margin:0}textarea{width:33.33%;font-size:18}</style><textarea placeholder=HTML id=h></textarea><textarea placeholder=CSS id=c></textarea><textarea placeholder=JS id=j></textarea><iframe id=i>

If you want to read the code, check out index.html

comments powered by Disqus