jodit 4.18.6 → 4.18.8
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 +19 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +9 -9
- package/es2015/jodit.js +265 -36
- package/es2015/jodit.min.js +9 -9
- 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 +9 -9
- package/es2018/jodit.min.js +7 -7
- 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 +11 -11
- package/es2021/jodit.js +264 -36
- package/es2021/jodit.min.js +7 -7
- 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 +8 -8
- package/es2021.en/jodit.js +264 -36
- package/es2021.en/jodit.min.js +7 -7
- 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 +280 -35
- 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 +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/config.d.ts +4 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/decorators/component/component.js +12 -0
- package/esm/core/ui/popup/popup.js +14 -9
- package/esm/jodit.js +5 -1
- package/esm/modules/dialog/dialog.js +18 -3
- package/esm/modules/file-browser/ui/files/files.js +17 -2
- package/esm/modules/file-browser/ui/tree/tree.js +17 -2
- package/esm/plugins/backspace/cases/check-join-neighbors.js +81 -0
- package/esm/plugins/backspace/cases/check-remove-char.d.ts +2 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +31 -9
- package/esm/plugins/backspace/cases/check-unwrap-list-item.d.ts +26 -0
- package/esm/plugins/backspace/cases/check-unwrap-list-item.js +56 -0
- package/esm/plugins/backspace/cases/index.js +2 -0
- package/esm/plugins/backspace/config.d.ts +4 -2
- package/esm/plugins/backspace/config.js +6 -3
- package/esm/plugins/enter/enter.js +1 -1
- package/esm/plugins/enter/helpers/check-br.js +7 -2
- package/esm/plugins/image-properties/image-properties.d.ts +5 -0
- package/esm/plugins/image-properties/image-properties.js +30 -5
- package/esm/plugins/mobile/mobile.js +7 -4
- package/package.json +1 -1
- package/types/config.d.ts +4 -2
- package/types/plugins/backspace/cases/check-remove-char.d.ts +2 -1
- package/types/plugins/backspace/cases/check-unwrap-list-item.d.ts +26 -0
- package/types/plugins/backspace/config.d.ts +4 -2
- package/types/plugins/image-properties/image-properties.d.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,25 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.18.8
|
|
13
|
+
|
|
14
|
+
#### :bug: Bug Fix
|
|
15
|
+
|
|
16
|
+
- [#1691](https://github.com/xdan/jodit/issues/1691) Backspace at the start of any list item takes the bullet off and turns the item into a paragraph where it was, as it already did for the first item and as Word does. A split numbered list carries its numbering on with `start`. `delete.disableCases: new Set(['unwrap-list-item'])` restores the old join. Thanks [@brendon](https://github.com/brendon).
|
|
17
|
+
- [#1693](https://github.com/xdan/jodit/issues/1693) Backspace at the start of a paragraph that follows bare text in the same list item, box or quote joins the paragraph to the text instead of deleting its last character, and Delete at the end of such a paragraph pulls the text up. Bare text right after a block joins the block the same way (`<div><p>a</p>|b</div>` gives `<div><p>a|b</p></div>`). Thanks [@brendon](https://github.com/brendon).
|
|
18
|
+
- [#1694](https://github.com/xdan/jodit/issues/1694) Enter in a paragraph inside a blockquote starts a new paragraph in the quote, as it does elsewhere, instead of inserting a line break. Thanks [@brendon](https://github.com/brendon).
|
|
19
|
+
- [#1698](https://github.com/xdan/jodit/issues/1698) A dialog dragged towards the edge of the window stops there at its own size, instead of narrowing, wrapping its title and leaving the window. Thanks [@brendon](https://github.com/brendon).
|
|
20
|
+
|
|
21
|
+
## 4.18.7
|
|
22
|
+
|
|
23
|
+
#### :bug: Bug Fix
|
|
24
|
+
|
|
25
|
+
- [#1656](https://github.com/xdan/jodit/issues/1656) The adaptive toolbar chooses its buttons by the editor's own width, not its parent's, so an editor beside a label gets the set that fits it. Thanks [@brendon](https://github.com/brendon).
|
|
26
|
+
- [#1683](https://github.com/xdan/jodit/issues/1683) On macOS, Cmd+Backspace, Ctrl+Backspace, Ctrl+Option+Backspace and Cmd+Option+Backspace are no longer bound by default, so they do what macOS binds them to: Cmd+Backspace deletes to the start of the line instead of the next character. An empty hotkey list (`Jodit.atom([])`, or `commandToHotkeys: { cmd: [] }`) turns the key off instead of throwing. Thanks [@brendon](https://github.com/brendon).
|
|
27
|
+
- [#1685](https://github.com/xdan/jodit/issues/1685) Popups update their position at most once per 10ms while the page scrolls, as intended, where before they did it several times for each wheel event. Thanks [@brendon](https://github.com/brendon).
|
|
28
|
+
- [#1687](https://github.com/xdan/jodit/issues/1687) Ctrl+Backspace keeps the space before the deleted word, as the browsers do on Windows, and with the caret after a space it deletes the word before it instead of only the space. Thanks [@brendon](https://github.com/brendon).
|
|
29
|
+
- [#1689](https://github.com/xdan/jodit/issues/1689) The image properties dialog takes focus when it opens, and closing it reselects the image and gives the editor focus back. Escape now closes it in iframe mode. Thanks [@brendon](https://github.com/brendon).
|
|
30
|
+
|
|
12
31
|
## 4.18.6
|
|
13
32
|
|
|
14
33
|
> 4.18.5 was tagged but not published to npm: its release run failed on the Firefox jobs. Everything listed under 4.18.5 ships in this version.
|
package/es2015/jodit.css
CHANGED