Skip to content

Releases: reedsy/quill-cursors

v2.2.0

21 Oct 16:25
Compare
Choose a tag to compare
  • Apply pointer-events: none CSS to selections so that other users' selections don't block mouse and touch interaction
  • Ignore zero-width and zero-height selection rectangles
  • Build selections from multiple Ranges
  • Fix max Quill index bug
  • Add a local cursor transform for smoother experience on high-latency connections

v2.0.3

27 Feb 12:34
Compare
Choose a tag to compare
  • Fixes for editor with a fixed height container

v2.0.2

26 Feb 16:17
Compare
Choose a tag to compare
  • Include bundled JavaScript in npm release

v2.0.0

26 Feb 16:12
Compare
Choose a tag to compare
  • Move to TypeScript
  • Breaking API changes
    • setCursor removed in favour of using createCursor and moveCursor
    • CSS is now in-lined in JavaScript
    • change to configuration options
    • this module will now emit extra selection-change events on text-change
  • Add tests and Travis config
  • Update Webpack

v1.0.3

11 Apr 15:45
Compare
Choose a tag to compare

Remove engines configuration from package.json.

v1.0.2

24 Jan 17:38
Compare
Choose a tag to compare

Fixes #4.

v1.0.1

24 Jan 01:09
Compare
Choose a tag to compare

Slightly improves the logging of issues when a cursor can't be updated, replacing an overly generic console log for a warning.

v1.0.0

14 Nov 16:51
Compare
Choose a tag to compare

Notes

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.

Breaking Changes

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,
  ...
});