diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-04-13 21:28:28 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-04-13 21:28:28 +0300 |
commit | 1bdb0ff3eaa0f8a874bbf306ca5fe8a45f8e6ff4 (patch) | |
tree | 69363d95e38dc7b02a55c4e2cf3a9149f75cbb46 /templates | |
parent | 66adbbbe655ef62f1545a39c2bf31630455af8da (diff) |
Add first working version of collaborative editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/templates/main.php b/templates/main.php index 0aba4731d..77a116127 100644 --- a/templates/main.php +++ b/templates/main.php @@ -3,27 +3,7 @@ script('text', 'type'); style('text', 'style'); ?> <div id="app-content"> - <div id="editor1"></div> - <div id="editor2"></div> - <div id="editor3"></div> + <div id="maineditor"></div> - <div style="display: none" id="editor-content"> - <h3>Hello ProseMirror</h3> - - <p>This is editable text. You can focus it and start typing.</p> - - <p>To apply styling, you can select a piece of text and manipulate - its styling from the menu. The basic schema - supports <em>emphasis</em>, <strong>strong - text</strong>, <a href="http://marijnhaverbeke.nl/blog">links</a>, <code>code - font</code>, and <img src="/img/smiley.png"> images.</p> - - <p>Block-level structure can be manipulated with key bindings (try - ctrl-shift-2 to create a level 2 heading, or enter in an empty - textblock to exit the parent block), or through the menu.</p> - - <p>Try using the “list” item in the menu to wrap this paragraph in - a numbered list.</p> - </div> </div> |