0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Release v2.3.1

This commit is contained in:
Neil Jenkins 2024-07-23 14:17:32 +10:00
parent 3c8f0cd89b
commit 34952705f2
8 changed files with 15 additions and 9 deletions

View file

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file, starting fr
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.3.1] - 2024-07-23
### Fixed
- Fix crash extracting contents of range.
## [2.3.0] - 2024-07-18
### Fixed

2
dist/squire-raw.js vendored
View file

@ -1129,7 +1129,7 @@
frag.appendChild(node);
node = next;
}
node = endContainer.previousSibling;
node = endContainer && endContainer.previousSibling;
if (node && node instanceof Text && endContainer instanceof Text) {
endOffset = node.length;
node.appendData(endContainer.data);

2
dist/squire-raw.mjs vendored
View file

@ -1127,7 +1127,7 @@ var extractContentsOfRange = (range, common, root) => {
frag.appendChild(node);
node = next;
}
node = endContainer.previousSibling;
node = endContainer && endContainer.previousSibling;
if (node && node instanceof Text && endContainer instanceof Text) {
endOffset = node.length;
node.appendData(endContainer.data);

2
dist/squire.js vendored

File diff suppressed because one or more lines are too long

4
dist/squire.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/squire.mjs vendored

File diff suppressed because one or more lines are too long

4
dist/squire.mjs.map vendored

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "squire-rte",
"version": "2.3.0",
"version": "2.3.1",
"description": "Squire is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible.",
"main": "dist/squire.mjs",
"types": "dist/types/Squire.d.ts",