Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<style>
:read-only { color: red; }
:read-write { color: green; }
</style>
<body onload="document.designMode='on';document.designMode='off'">
<div contenteditable>test</div>
</body>
</html>