A multi cursor module for Quill text editor.
setCursor
removed in favour of using createCursor
and moveCursor
selection-change
events on text-change
Remove engines
configuration from package.json
.
Fixes #4.
Slightly improves the logging of issues when a cursor can't be updated, replacing an overly generic console log for a warning.
Export the module as a UMD module and removes the behaviour of registering itself on Quill on import. It will need to be registered manually from now on. Improves it's export as a UMD module and stops relying on global/window RangeFix
and imports it instead.
This release has breaking changes from the previous. Check how to migrate below.
This module stopped automatically registering itself, so make sure you register this module manually before using Quill like so:
Quill.register('modules/cursors', QuillCursors);
var editor = new Quill('#editor-container', {
modules: {
cursors: true,
...
});