Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

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