add quill-cursors example

This commit is contained in:
Kevin Jahns
2018-02-26 17:15:27 +01:00
parent f35c056bde
commit 384a4b72b0
6 changed files with 135 additions and 13 deletions

View File

@@ -2,9 +2,9 @@
<html>
<head>
<!-- Main Quill library -->
<script src="https://cdn.quilljs.com/1.3.5/quill.js"></script>
<!-- Theme included stylesheets -->
<link href="https://cdn.quilljs.com/1.3.5/quill.snow.css" rel="stylesheet">
<script src="../../node_modules/quill/dist/quill.min.js"></script>
<link href="../../node_modules/quill/dist/quill.snow.css" rel="stylesheet">
<!-- Yjs Library and connector -->
<script src="../../y.js"></script>
<script src='../../../y-websockets-client/y-websockets-client.js'></script>
</head>

View File

@@ -1,6 +1,6 @@
/* global Y, Quill */
let y = new Y('htmleditor10', {
let y = new Y('quill-cursors-0', {
connector: {
name: 'websockets-client',
url: 'http://127.0.0.1:1234'