mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Release v2.2.2
This commit is contained in:
parent
57f2d37c1d
commit
311b8ee39e
9 changed files with 41 additions and 18 deletions
|
@ -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).
|
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
|
## [2.2.1] - 2023-10-03
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
8
dist/squire-raw.js
vendored
8
dist/squire-raw.js
vendored
|
@ -3271,6 +3271,14 @@
|
||||||
range.collapse(false);
|
range.collapse(false);
|
||||||
}
|
}
|
||||||
mergeInlines(root, range);
|
mergeInlines(root, range);
|
||||||
|
if (cantFocusEmptyTextNodes && fixer) {
|
||||||
|
fixer = fixer.parentNode;
|
||||||
|
let block = fixer;
|
||||||
|
while (isInline(block)) {
|
||||||
|
block = block.parentNode;
|
||||||
|
}
|
||||||
|
removeZWS(block, fixer);
|
||||||
|
}
|
||||||
return range;
|
return range;
|
||||||
}
|
}
|
||||||
// ---
|
// ---
|
||||||
|
|
8
dist/squire-raw.mjs
vendored
8
dist/squire-raw.mjs
vendored
|
@ -3268,6 +3268,14 @@ var Squire = class {
|
||||||
range.collapse(false);
|
range.collapse(false);
|
||||||
}
|
}
|
||||||
mergeInlines(root, range);
|
mergeInlines(root, range);
|
||||||
|
if (cantFocusEmptyTextNodes && fixer) {
|
||||||
|
fixer = fixer.parentNode;
|
||||||
|
let block = fixer;
|
||||||
|
while (isInline(block)) {
|
||||||
|
block = block.parentNode;
|
||||||
|
}
|
||||||
|
removeZWS(block, fixer);
|
||||||
|
}
|
||||||
return range;
|
return range;
|
||||||
}
|
}
|
||||||
// ---
|
// ---
|
||||||
|
|
12
dist/squire.js
vendored
12
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
12
dist/squire.mjs
vendored
12
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
2
dist/types/Editor.d.ts.map
vendored
2
dist/types/Editor.d.ts.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.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.",
|
"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