add quill-cursors example
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user