Releases: livingdocsIO/editable.js
Releases · livingdocsIO/editable.js
v3.0.0
3.0.0 (2021-08-02)
chore
- Change the module to use a named export for Editable (58f9a24)
BREAKING CHANGES
- The module exports changed from a default export to a named export
For Import:
change
import Editable from '@livingdocs/editable.js'
to
import {Editable} from '@livingdocs/editable.js'
For require:
change
const Editable = require('@livingdocs/editable.js')
to
const {Editable} = require('@livingdocs/editable.js')
The source code doesn't get transpiled anymore into the lib
directory.
This simplifies the usage together with npm link as there's a build step less in between.
The files in the dist folder should work as before.
v2.14.3
2.14.3 (2021-08-02)
Bug Fixes
- remove console.log call and
fit
(test run only declaration) (ed5a4fe)
v2.14.2
2.14.2 (2021-08-02)
Bug Fixes
- Fix cursor.isAtLastLine and cursor.isAtFirstLine calculations to respect line breaks (5687b0f)
- Fix newline behavior (97f0f28)
v2.14.1
2.14.1 (2021-08-02)
Bug Fixes
- focus: Use a null escape character instead of a br tag for focused elements (11039c7)
v2.14.0
2.14.0 (2021-07-28)
Features
- selection: Add helper functions to select tags. (cc6ffa3)
- selection: Add isWrappable() helper function. (4fd1f77)
v2.13.2
2.13.2 (2021-07-26)
Bug Fixes
- dispatcher: Deregister event listeners properly by passing the capture flag/option (3de9554)
v2.13.1
2.13.1 (2021-07-21)
Bug Fixes
- events: Check event.target.closest() exists before calling (0e194df)
v2.13.0
2.13.0 (2021-07-19)
Features
- selection: Remove formatting based on extended selector. (eb02a88)
- selection: Remove nodes based on tag name and class. (74db885)
v2.12.0
2.12.0 (2021-07-19)
Bug Fixes
- parser: Fix function name. (39ca54d)
Features
- selection: Add a toString() helper function. (4411a02)
v2.11.2
2.11.2 (2021-07-08)
Bug Fixes
- content: Fix isExactSelection for textNodes and hidden content (ef5c307)