0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-21 23:03:11 -05:00

Release v2.2.2

This commit is contained in:
Neil Jenkins 2023-10-04 12:29:58 +11:00
parent 57f2d37c1d
commit 311b8ee39e
9 changed files with 41 additions and 18 deletions

View file

@ -4,6 +4,13 @@ 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.2.2] - 2023-10-04
### Fixed
- Added a workaround for a bug in Chrome that resulted in text in the editor
not being rendered in certain circumstances.
## [2.2.1] - 2023-10-03
### Fixed

8
dist/squire-raw.js vendored
View file

@ -3271,6 +3271,14 @@
range.collapse(false);
}
mergeInlines(root, range);
if (cantFocusEmptyTextNodes && fixer) {
fixer = fixer.parentNode;
let block = fixer;
while (isInline(block)) {
block = block.parentNode;
}
removeZWS(block, fixer);
}
return range;
}
// ---

8
dist/squire-raw.mjs vendored
View file

@ -3268,6 +3268,14 @@ var Squire = class {
range.collapse(false);
}
mergeInlines(root, range);
if (cantFocusEmptyTextNodes && fixer) {
fixer = fixer.parentNode;
let block = fixer;
while (isInline(block)) {
block = block.parentNode;
}
removeZWS(block, fixer);
}
return range;
}
// ---

12
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

12
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

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "squire-rte",
"version": "2.2.1",
"version": "2.2.2",
"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",