jodit 4.15.18 → 4.16.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 +18 -0
- package/es2015/jodit.css +11 -1
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +10 -9
- package/es2015/jodit.js +116 -50
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +10 -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.css +1 -1
- package/es2018/jodit.fat.min.js +10 -9
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +10 -9
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +11 -1
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +11 -10
- package/es2021/jodit.js +116 -50
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +11 -10
- 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 +11 -1
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +11 -10
- package/es2021.en/jodit.js +116 -50
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +11 -10
- 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 +15 -2
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +131 -56
- 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 +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/core/constants.js +1 -1
- package/esm/core/ui/button/button/button.js +10 -4
- package/esm/core/ui/form/inputs/file/file.js +1 -0
- package/esm/core/ui/group/group.d.ts +4 -0
- package/esm/core/ui/group/group.js +5 -1
- package/esm/core/ui/group/list.js +2 -2
- package/esm/modules/dialog/dialog.js +7 -0
- package/esm/modules/toolbar/button/content.d.ts +7 -0
- package/esm/modules/toolbar/button/content.js +9 -1
- package/esm/plugins/iframe/config.js +4 -0
- package/esm/plugins/image-processor/image-processor.d.ts +5 -0
- package/esm/plugins/image-processor/image-processor.js +29 -2
- package/esm/plugins/source/editor/engines/ace.js +13 -6
- package/esm/plugins/source/source.js +16 -1
- package/package.json +1 -1
- package/types/core/ui/group/group.d.ts +4 -0
- package/types/modules/toolbar/button/content.d.ts +7 -0
- package/types/plugins/image-processor/image-processor.d.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,24 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.16.1
|
|
13
|
+
|
|
14
|
+
#### :bug: Bug Fix
|
|
15
|
+
|
|
16
|
+
- [#1526](https://github.com/xdan/jodit/issues/1526) Text typed into the source view is no longer replaced when js-beautify finishes loading after the source view opens; the beautifier formats the source view from the next time it opens. Thanks [@brendon](https://github.com/brendon).
|
|
17
|
+
- [#1528](https://github.com/xdan/jodit/issues/1528) In Safari, selecting a block image with text after it no longer highlights the rest of the image's line, and no highlight is left behind after changing the image's alignment. Thanks [@brendon](https://github.com/brendon).
|
|
18
|
+
|
|
19
|
+
## 4.16.0
|
|
20
|
+
|
|
21
|
+
#### :boom: Breaking Change
|
|
22
|
+
|
|
23
|
+
- The ACE source editor (`sourceEditor: 'ace'`) and js-beautify (`beautifyHTML: true`) CDN scripts are no longer downloaded when the editor starts in WYSIWYG mode. They are fetched the first time the source (or split) view is opened, so a page that only ever shows WYSIWYG no longer loads ~500 KiB of third-party JavaScript. Consequently `sourceEditorReady` fires when the source view is first opened, not right after `new Jodit()`, and `window.ace` is not defined until then. Code that relied on either has to open the source mode first (or use `defaultMode: Jodit.MODE_SOURCE`).
|
|
24
|
+
- ARIA roles: `UIGroup` containers default to `role="group"` instead of `role="list"` (toolbar button groups created by `UIList` keep `role="list"`); `ToolbarContent` items use `role="listitem"` instead of the invalid `role="content"` and no longer carry `aria-pressed`. Selectors relying on `[role="list"]` for generic groups or on `[role="content"]` have to be updated.
|
|
25
|
+
|
|
26
|
+
#### :nail_care: Polish
|
|
27
|
+
|
|
28
|
+
- Accessibility: an icon-only button without a tooltip gets an `aria-label` from its name, the native `<input type="file">` of the upload button is labelled, and a dialog opened with a text title gets an `aria-label`. Together with the role changes this clears the Lighthouse `aria-roles`, `aria-allowed-attr`, `aria-required-children`, `button-name`, `label` and `aria-dialog-name` audits for the editor and the file browser.
|
|
29
|
+
|
|
12
30
|
## 4.15.18
|
|
13
31
|
|
|
14
32
|
#### :rocket: New Feature
|
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.16.1
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -4059,6 +4059,16 @@ html.jodit_fullsize-box_true {
|
|
|
4059
4059
|
height: 100%;
|
|
4060
4060
|
}
|
|
4061
4061
|
|
|
4062
|
+
/*!
|
|
4063
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4064
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4065
|
+
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
4066
|
+
*/
|
|
4067
|
+
.jodit-wysiwyg.jodit-wysiwyg_image-selected::selection,
|
|
4068
|
+
.jodit-wysiwyg.jodit-wysiwyg_image-selected *:not(img)::selection {
|
|
4069
|
+
background: transparent;
|
|
4070
|
+
}
|
|
4071
|
+
|
|
4062
4072
|
/*!
|
|
4063
4073
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4064
4074
|
* Released under MIT see LICENSE.txt in the project root for license information.
|