jodit 4.20.5 → 4.21.1
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 +28 -0
- package/README.md +0 -1
- package/es2015/jodit.css +2 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +12 -12
- package/es2015/jodit.js +558 -210
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +12 -12
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +2 -2
- package/es2015/plugins/debug/debug.min.js +2 -2
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +12 -12
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +12 -12
- package/es2018/plugins/debug/debug.min.js +2 -2
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +2 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +17 -17
- package/es2021/jodit.js +550 -203
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +17 -17
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +2 -2
- package/es2021/plugins/debug/debug.min.js +2 -2
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +2 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +17 -17
- package/es2021.en/jodit.js +550 -203
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +32 -32
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +2 -2
- package/es2021.en/plugins/debug/debug.min.js +2 -2
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +3 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +595 -177
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +2 -2
- package/es5/plugins/debug/debug.min.js +2 -2
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/polyfills.fat.min.js +2 -2
- package/es5/polyfills.js +1 -29
- package/es5/polyfills.min.js +2 -2
- package/esm/config.d.ts +18 -0
- package/esm/core/constants.d.ts +6 -0
- package/esm/core/constants.js +18 -1
- package/esm/core/helpers/html/clean-from-word.d.ts +3 -1
- package/esm/core/helpers/html/clean-from-word.js +87 -11
- package/esm/core/helpers/utils/selector.js +4 -3
- package/esm/plugins/hr/hr.js +290 -1
- package/esm/plugins/inline-popup/config/config.js +2 -0
- package/esm/plugins/inline-popup/config/items/hr.d.ts +11 -0
- package/esm/plugins/inline-popup/config/items/hr.js +15 -0
- package/esm/plugins/key-arrow-outside/key-arrow-outside.js +2 -2
- package/esm/plugins/link/config.d.ts +7 -0
- package/esm/plugins/link/config.js +1 -0
- package/esm/plugins/link/link.js +20 -16
- package/esm/plugins/paste/config.d.ts +5 -0
- package/esm/plugins/paste/config.js +2 -1
- package/esm/plugins/paste/paste.js +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.js +2 -2
- package/esm/plugins/symbols/config.d.ts +6 -0
- package/esm/plugins/symbols/config.js +1 -0
- package/esm/plugins/symbols/symbols.d.ts +0 -1
- package/esm/plugins/symbols/symbols.js +12 -10
- package/package.json +1 -1
- package/types/config.d.ts +18 -0
- package/types/core/constants.d.ts +6 -0
- package/types/core/helpers/html/clean-from-word.d.ts +3 -1
- package/types/plugins/inline-popup/config/items/hr.d.ts +11 -0
- package/types/plugins/link/config.d.ts +7 -0
- package/types/plugins/paste/config.d.ts +5 -0
- package/types/plugins/symbols/config.d.ts +6 -0
- package/types/plugins/symbols/symbols.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,34 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.21.1
|
|
13
|
+
|
|
14
|
+
#### :bug: Bug Fix
|
|
15
|
+
|
|
16
|
+
- Keep the Update button's text styling when editing a link ([#1851](https://github.com/xdan/jodit/pull/1851)).
|
|
17
|
+
- Avoid inserting a visible space when moving the caret out of inline formatting with the right arrow key ([#1857](https://github.com/xdan/jodit/pull/1857)).
|
|
18
|
+
|
|
19
|
+
Thanks [@brendon](https://github.com/brendon).
|
|
20
|
+
|
|
21
|
+
## 4.21.0
|
|
22
|
+
|
|
23
|
+
#### :rocket: New Feature
|
|
24
|
+
|
|
25
|
+
- [#1802](https://github.com/xdan/jodit/issues/1802) A horizontal line is selected whole, as an image is. A click on a line, or an arrow key that comes to one, selects it with a frame, and the click opens the new `hr` popup with Delete. With a line selected, Delete and Backspace remove only the line, Enter adds an empty paragraph after it and Shift+Enter one before it, and typing starts a new paragraph after it. The arrow keys no longer stop beside a line, where typing started a stray paragraph. A line in a list item or a table cell, and an editor with `enter: 'br'`, keep the old arrow keys. A selection of a single line no longer opens the selection toolbar.
|
|
26
|
+
- [#1830](https://github.com/xdan/jodit/pull/1830), [#1780](https://github.com/xdan/jodit/issues/1780) Clean paste preserves merged table cells, image descriptions, link targets and styled bold/italic text, including nested resets; configure retained attributes with `pasteKeepAttributes`.
|
|
27
|
+
- [#1832](https://github.com/xdan/jodit/pull/1832), [#1785](https://github.com/xdan/jodit/issues/1785) Set `link.selectKeepOtherClassNames: true` to preserve classes not offered by a select-mode link form; the default remains unchanged.
|
|
28
|
+
- [#1844](https://github.com/xdan/jodit/pull/1844), [#1843](https://github.com/xdan/jodit/issues/1843) Configure special-character picker columns with `specialCharactersColumns`; invalid values fall back to 17 for layout and navigation.
|
|
29
|
+
|
|
30
|
+
Thanks [@brendon](https://github.com/brendon).
|
|
31
|
+
|
|
32
|
+
#### :boom: Breaking Change
|
|
33
|
+
|
|
34
|
+
- Horizontal-rule selection now has its own popup and keyboard handling; integrations that customized selection toolbars for a single horizontal rule should configure `popup.hr` instead. Clean paste now retains the documented formatting and attributes; set `pasteKeepAttributes: ['src', 'href', 'rel', 'content']` to retain the earlier attribute list.
|
|
35
|
+
|
|
36
|
+
#### :memo: Documentation
|
|
37
|
+
|
|
38
|
+
- Remove the unsupported Internet Explorer 11 compatibility claim; use a supported modern browser with Jodit 4.
|
|
39
|
+
|
|
12
40
|
## 4.20.5
|
|
13
41
|
|
|
14
42
|
#### :bug: Bug Fix
|
package/README.md
CHANGED
package/es2015/jodit.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.21.1
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -4881,11 +4881,11 @@ html.jodit_fullsize-box_true {
|
|
|
4881
4881
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
4882
4882
|
*/
|
|
4883
4883
|
.jodit-symbols {
|
|
4884
|
-
width: 460px;
|
|
4885
4884
|
padding: var(--jd-padding-default);
|
|
4886
4885
|
}
|
|
4887
4886
|
.jodit-symbols__container {
|
|
4888
4887
|
display: flex;
|
|
4888
|
+
width: calc((460px - 2 * var(--jd-padding-default)) * var(--jd-symbols-columns, 17) / 17);
|
|
4889
4889
|
}
|
|
4890
4890
|
.jodit-symbols__container_table {
|
|
4891
4891
|
width: 88%;
|