Skip to content

Commit

Permalink
Release v2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
neilj committed Jul 23, 2024
1 parent 3c8f0cd commit 3495270
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dist/squire-raw.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion dist/squire-raw.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion dist/squire.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/squire.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/squire.mjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/squire.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 3495270

Please sign in to comment.