UNPKG

codemirror-ot

Version:

Operational Transformation adapter for CodeMirror 6.

69 lines 2.5 kB
{ "vizFilesBefore": { "17909460": { "text": "A bare minimum [HTML](https://en.wikipedia.org/wiki/HTML)\npage demonstrating use of\n[CSS](https://en.wikipedia.org/wiki/CSS) and\n[JavaScript](https://en.wikipedia.org/wiki/JavaScript).\n\nSee also\n[React Starter](https://vizhub.com/curran/c3b14112dae34ef395999cef5783324f).\n", "name": "README.md" }, "76605407": { "text": "<!DOCTYPE html>\n<html>\n <head>\n <title>HTML Starter</title>\n <style>\n .message {\n font-size: 12em;\n text-align: center;\n }\n </style>\n </head>\n <body>\n <div class=\"message\">Hello HTML!</div>\n <script>\n console.log('hello world');\n </script>\n </body>\n</html>\n", "name": "index.html" } }, "vizFilesAfter": { "17909460": { "text": "A bare minimum [HTML](https://en.wikipedia.org/wiki/HTML)\npage demonstrating use of\n[CSS](https://en.wikipedia.org/wiki/CSS) and\n[JavaScript](https://en.wikipedia.org/wiki/JavaScript).\n\nSee also\n[React Starter](https://vizhub.com/curran/c3b14112dae34ef395999cef5783324f).\n", "name": "README.md" }, "76605407": { "text": "<!DOCTYPE html>\n<html>\n <head>\n <title>HTML Starter</title>\n <link rel=\"stylesheet\" href=\"style.css\" />\n </head>\n <body>\n <div class=\"message\">Hello HTML!</div>\n <script src=\"script.js\"></script>\n </body>\n</html>\n", "name": "index.html" }, "9a092fd7": { "name": "style.css", "text": ".message {\n font-size: 12em;\n text-align: center;\n}\n" }, "bb2514d3": { "name": "script.js", "text": "console.log('hello world');\n" } }, "filesOp": [ "files", [ "76605407", "text", { "es": [ 69, "link rel=\"stylesheet\" href=\"style.css\" /", { "d": "style>\n .message {\n font-size: 12em;\n text-align: center;\n }\n </style" }, 75, " src=\"script.js\">", { "d": ">\n console.log('hello world');\n " } ] } ], [ "9a092fd7", { "i": { "name": "style.css", "text": ".message {\n font-size: 12em;\n text-align: center;\n}\n" } } ], [ "bb2514d3", { "i": { "name": "script.js", "text": "console.log('hello world');\n" } } ] ] }