Commit 061c133f authored by Fred Chasen's avatar Fred Chasen

Make Moby dick editable

parent 01969ab9
......@@ -15,6 +15,10 @@
break-before: column;
} */
[contenteditable]:focus {
outline: 0px solid transparent;
}
@media screen {
body {
......
......@@ -34,6 +34,11 @@
let t1 = performance.now();
console.log("Rendering " + flow.total + " pages took " + (t1 - t0) + " milliseconds.");
let editable = document.querySelectorAll(".page .area > div");
for (var i = 0; i < editable.length; i++) {
editable[i].setAttribute("contenteditable", true);
}
});
let resizer = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment