jodit 4.18.10 → 4.18.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +5 -5
- package/es2015/jodit.js +256 -71
- package/es2015/jodit.min.js +5 -5
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.js +5 -5
- package/es2018/jodit.min.js +5 -5
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +6 -6
- package/es2021/jodit.js +253 -71
- package/es2021/jodit.min.js +6 -6
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +6 -6
- package/es2021.en/jodit.js +253 -71
- package/es2021.en/jodit.min.js +6 -6
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +303 -72
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +2 -2
- package/es5/polyfills.js +3 -3
- package/es5/polyfills.min.js +2 -2
- package/esm/core/async/async.js +2 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/size/get-fixed-position-offset.d.ts +4 -2
- package/esm/core/helpers/size/get-fixed-position-offset.js +14 -2
- package/esm/plugins/add-new-line/add-new-line.d.ts +7 -0
- package/esm/plugins/add-new-line/add-new-line.js +45 -0
- package/esm/plugins/backspace/backspace.d.ts +7 -0
- package/esm/plugins/backspace/backspace.js +45 -2
- package/esm/plugins/backspace/cases/check-join-neighbors.js +69 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +3 -1
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.d.ts +4 -1
- package/esm/plugins/backspace/cases/check-remove-content-not-editable.js +39 -11
- package/esm/plugins/wrap-nodes/wrap-nodes.js +19 -2
- package/esm/types/async.d.ts +7 -0
- package/package.json +1 -1
- package/types/core/helpers/size/get-fixed-position-offset.d.ts +4 -2
- package/types/plugins/add-new-line/add-new-line.d.ts +7 -0
- package/types/plugins/backspace/backspace.d.ts +7 -0
- package/types/plugins/backspace/cases/check-remove-content-not-editable.d.ts +4 -1
- package/types/types/async.d.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,21 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.18.11
|
|
13
|
+
|
|
14
|
+
#### :bug: Bug Fix
|
|
15
|
+
|
|
16
|
+
- [#1708](https://github.com/xdan/jodit/issues/1708) Backspace and Delete next to a non-editable block remove the block whole and join the lines either side of it, as the spec's tests do. Before, Delete at the end of a list item pulled the block's text into the item, a line in a box could move into the block, and the caret could be left outside any block. Adjacent non-editable blocks go one per key press, and a non-editable list item is removed before the bullet comes off the next one. Thanks [@brendon](https://github.com/brendon).
|
|
17
|
+
- [#1716](https://github.com/xdan/jodit/issues/1716) `wrap-nodes` no longer puts an inline element that holds a block, such as a `<span>` round a `<p>`, inside a paragraph, so the value stays the same when it is parsed again. Thanks [@brendon](https://github.com/brendon).
|
|
18
|
+
- [#1718](https://github.com/xdan/jodit/issues/1718) `wrap-nodes` keeps a `<br>` with the loose lines it breaks instead of turning them into separate paragraphs with a blank line between. Thanks [@brendon](https://github.com/brendon).
|
|
19
|
+
- [#1720](https://github.com/xdan/jodit/issues/1720) Delete or Backspace next to a paragraph inside an inline element, such as `<span style="…"><p>…</p></span>`, joins the lines and keeps each line's styles, instead of nesting one paragraph in the other or dropping the styles. Thanks [@brendon](https://github.com/brendon).
|
|
20
|
+
- [#1722](https://github.com/xdan/jodit/issues/1722) Backspace no longer deletes the text after the caret when `wrap-nodes` wraps the line it joins. Thanks [@brendon](https://github.com/brendon).
|
|
21
|
+
- [#1724](https://github.com/xdan/jodit/issues/1724) Delete or Backspace beside an inline element that holds a block no longer deletes the whole block as if it were a character. Thanks [@brendon](https://github.com/brendon).
|
|
22
|
+
- [#1726](https://github.com/xdan/jodit/issues/1726) After Backspace or Delete the caret goes where the browser types, at the end of the text before it on its line, so a paste and the toolbar agree with what is typed. Thanks [@brendon](https://github.com/brendon).
|
|
23
|
+
- [#1729](https://github.com/xdan/jodit/issues/1729) The arrow keys can take the caret past an embed that ends the content, or before one that starts it: a new line is added there. Thanks [@brendon](https://github.com/brendon).
|
|
24
|
+
- [#1731](https://github.com/xdan/jodit/issues/1731) `Async.clear()` and `destruct()` now clear timeouts set with a label (and debounced or throttled ones), so they no longer run after the editor is destroyed. Thanks [@brendon](https://github.com/brendon).
|
|
25
|
+
- [#1222](https://github.com/xdan/jodit/issues/1222) Popups and tooltips stay at their target in pinch-zoomed Safari. Thanks [@brendon](https://github.com/brendon).
|
|
26
|
+
|
|
12
27
|
## 4.18.10
|
|
13
28
|
|
|
14
29
|
#### :bug: Bug Fix
|
package/es2015/jodit.css
CHANGED