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:
parent
3c8f0cd89b
commit
34952705f2
8 changed files with 15 additions and 9 deletions
|
@ -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).
|
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
|
## [2.3.0] - 2024-07-18
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
2
dist/squire-raw.js
vendored
2
dist/squire-raw.js
vendored
|
@ -1129,7 +1129,7 @@
|
||||||
frag.appendChild(node);
|
frag.appendChild(node);
|
||||||
node = next;
|
node = next;
|
||||||
}
|
}
|
||||||
node = endContainer.previousSibling;
|
node = endContainer && endContainer.previousSibling;
|
||||||
if (node && node instanceof Text && endContainer instanceof Text) {
|
if (node && node instanceof Text && endContainer instanceof Text) {
|
||||||
endOffset = node.length;
|
endOffset = node.length;
|
||||||
node.appendData(endContainer.data);
|
node.appendData(endContainer.data);
|
||||||
|
|
2
dist/squire-raw.mjs
vendored
2
dist/squire-raw.mjs
vendored
|
@ -1127,7 +1127,7 @@ var extractContentsOfRange = (range, common, root) => {
|
||||||
frag.appendChild(node);
|
frag.appendChild(node);
|
||||||
node = next;
|
node = next;
|
||||||
}
|
}
|
||||||
node = endContainer.previousSibling;
|
node = endContainer && endContainer.previousSibling;
|
||||||
if (node && node instanceof Text && endContainer instanceof Text) {
|
if (node && node instanceof Text && endContainer instanceof Text) {
|
||||||
endOffset = node.length;
|
endOffset = node.length;
|
||||||
node.appendData(endContainer.data);
|
node.appendData(endContainer.data);
|
||||||
|
|
2
dist/squire.js
vendored
2
dist/squire.js
vendored
File diff suppressed because one or more lines are too long
4
dist/squire.js.map
vendored
4
dist/squire.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/squire.mjs
vendored
2
dist/squire.mjs
vendored
File diff suppressed because one or more lines are too long
4
dist/squire.mjs.map
vendored
4
dist/squire.mjs.map
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "squire-rte",
|
"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.",
|
"description": "Squire is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible.",
|
||||||
"main": "dist/squire.mjs",
|
"main": "dist/squire.mjs",
|
||||||
"types": "dist/types/Squire.d.ts",
|
"types": "dist/types/Squire.d.ts",
|
||||||
|
|
Loading…
Reference in a new issue