jodit 4.0.0-beta.86 → 4.0.0-beta.88
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 +42 -8
- package/README.md +5 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +46 -43
- package/es2015/jodit.min.js +2 -2
- 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.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +46 -43
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.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 +2 -2
- package/es2021/jodit.js +43 -43
- package/es2021/jodit.min.js +2 -2
- 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 +2 -2
- package/es2021.en/jodit.js +43 -43
- package/es2021.en/jodit.min.js +2 -2
- 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 +85 -69
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- 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/esm/core/constants.js +1 -1
- package/esm/core/selection/interface.d.ts +5 -0
- package/esm/core/selection/interface.js +6 -1
- package/esm/core/selection/style/commit-style.js +2 -0
- package/esm/core/ui/button/button/button.js +2 -1
- package/esm/core/ui/button/group/group.js +2 -1
- package/esm/core/ui/button/tooltip/tooltip.js +2 -1
- package/esm/core/ui/element.js +2 -1
- package/esm/core/ui/form/block/block.js +2 -1
- package/esm/core/ui/form/form.js +2 -1
- package/esm/core/ui/form/inputs/area/area.js +2 -1
- package/esm/core/ui/form/inputs/checkbox/checkbox.js +2 -1
- package/esm/core/ui/form/inputs/file/file.js +2 -1
- package/esm/core/ui/form/inputs/input/input.js +2 -1
- package/esm/core/ui/form/inputs/select/select.js +2 -1
- package/esm/core/ui/group/group.js +2 -1
- package/esm/core/ui/group/list.js +2 -1
- package/esm/core/ui/group/separator.js +2 -1
- package/esm/core/ui/group/spacer.js +2 -1
- package/esm/core/ui/icon.js +4 -1
- package/esm/core/view/view.js +2 -1
- package/esm/jodit.js +3 -11
- package/esm/modules/context-menu/context-menu.js +2 -1
- package/esm/modules/dialog/dialog.js +2 -1
- package/esm/modules/file-browser/file-browser.js +2 -1
- package/esm/modules/image-editor/image-editor.js +2 -1
- package/esm/modules/messages/message.js +2 -1
- package/esm/modules/messages/messages.js +2 -1
- package/esm/modules/status-bar/status-bar.js +2 -1
- package/esm/modules/toolbar/button/button.js +2 -1
- package/esm/modules/toolbar/button/content.js +2 -1
- package/esm/modules/toolbar/button/select/select.js +2 -1
- package/esm/modules/toolbar/collection/collection.js +2 -1
- package/esm/modules/toolbar/collection/editor-collection.js +2 -1
- package/esm/plugins/backspace/interface.d.ts +9 -8
- package/esm/plugins/resize-handler/resize-handler.js +2 -1
- package/esm/plugins/search/ui/search.js +2 -1
- package/esm/plugins/size/size.js +2 -1
- package/esm/plugins/speech-recognize/helpers/recognize-manager.js +2 -1
- package/esm/plugins/wrap-nodes/wrap-nodes.js +34 -30
- package/examples/arabic.lang.html +111 -64
- package/examples/assets/app.css +1 -3
- package/examples/color-picker.html +122 -72
- package/examples/custom-icons.html +204 -157
- package/examples/custom-toolbar.html +110 -63
- package/examples/example.default.html +4 -3
- package/examples/fullsize.html +107 -60
- package/examples/index.html +6 -5
- package/examples/inline-mode.html +193 -92
- package/examples/oneinstance.html +138 -90
- package/examples/theme.html +6 -5
- package/package.json +1 -1
- package/types/core/selection/interface.d.ts +5 -0
- package/types/plugins/backspace/interface.d.ts +9 -8
- package/examples/assets/prism.css +0 -200
- package/examples/assets/prism.js +0 -1254
package/CHANGELOG.md
CHANGED
|
@@ -9,9 +9,43 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 4.0.0-beta.88
|
|
13
|
+
|
|
14
|
+
### :bug: Bug Fix
|
|
15
|
+
|
|
16
|
+
- Fixed a bug where the cursor, when positioned at the start of the h1 tag and a style was applied to the h1 tag, would move up one tag level.
|
|
17
|
+
- [Firefox specific execCommands no longer needed #1028](https://github.com/xdan/jodit/issues/1028)
|
|
18
|
+
|
|
19
|
+
## 4.0.0-beta.78
|
|
20
|
+
|
|
21
|
+
- Update
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
@types/ace ^0.0.48 → ^0.0.49
|
|
25
|
+
@types/fs-extra ^11.0.1 → ^11.0.2
|
|
26
|
+
@types/karma ^6.3.4 → ^6.3.5
|
|
27
|
+
@types/node ^20.5.7 → ^20.8.3
|
|
28
|
+
@types/postcss-css-variables ^0.18.0 → ^0.18.1
|
|
29
|
+
@types/yargs ^17.0.24 → ^17.0.28
|
|
30
|
+
@typescript-eslint/eslint-plugin ^6.5.0 → ^6.7.4
|
|
31
|
+
@typescript-eslint/parser ^6.5.0 → ^6.7.4
|
|
32
|
+
autoprefixer ^10.4.15 → ^10.4.16
|
|
33
|
+
axios ^1.5.0 → ^1.5.1
|
|
34
|
+
chai ^4.3.8 → ^4.3.10
|
|
35
|
+
core-js ^3.32.1 → ^3.33.0
|
|
36
|
+
eslint ^8.48.0 → ^8.51.0
|
|
37
|
+
eslint-plugin-mocha ^10.1.0 → ^10.2.0
|
|
38
|
+
glob ^10.3.3 → ^10.3.10
|
|
39
|
+
postcss >=8.4.28 → >=8.4.31
|
|
40
|
+
prettier ^3.0.2 → ^3.0.3
|
|
41
|
+
ts-loader ^9.4.4 → ^9.5.0
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
|
|
12
45
|
## 4.0.0-beta.78
|
|
13
46
|
|
|
14
|
-
-
|
|
47
|
+
- Update
|
|
48
|
+
|
|
15
49
|
```
|
|
16
50
|
@types/karma ^6.3.3 → ^6.3.4
|
|
17
51
|
@types/node ^20.1.0 → ^20.5.0
|
|
@@ -137,9 +171,9 @@ yargs ^17.7.1 → ^17.7.2
|
|
|
137
171
|
- Build in es2018 target was removed, instead es2021 was added
|
|
138
172
|
- Event `getIcon` was removed. Use option `getIcon` instead
|
|
139
173
|
|
|
140
|
-
```
|
|
174
|
+
```ts
|
|
141
175
|
Jodit.make('#editor', {
|
|
142
|
-
getIcon: (name: string) => {
|
|
176
|
+
getIcon: (name: string, clearName: string) => {
|
|
143
177
|
if (name === 'bold') {
|
|
144
178
|
return '<svg>...</svg>';
|
|
145
179
|
}
|
|
@@ -2220,11 +2254,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
|
|
|
2220
2254
|
- @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
|
|
2221
2255
|
modeClassName="select")
|
|
2222
2256
|
- ex: [
|
|
2223
|
-
-
|
|
2224
|
-
-
|
|
2225
|
-
-
|
|
2226
|
-
-
|
|
2227
|
-
-
|
|
2257
|
+
- { value: "", text: "" },
|
|
2258
|
+
- { value: "val1", text: "text1" },
|
|
2259
|
+
- { value: "val2", text: "text2" },
|
|
2260
|
+
- { value: "val3", text: "text3" }
|
|
2261
|
+
- ]
|
|
2228
2262
|
PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
|
|
2229
2263
|
|
|
2230
2264
|
##### New option `statusbar: boolean = true`
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ without the use of additional libraries. It includes a file editor and image edi
|
|
|
16
16
|
- [Documentation](https://xdsoft.net/jodit/docs/)
|
|
17
17
|
- [Download & Changes](https://github.com/xdan/jodit/releases)
|
|
18
18
|
- [Changelog](https://github.com/xdan/jodit/blob/main/CHANGELOG.md)
|
|
19
|
-
- [Examples](https://xdan.github.io/jodit
|
|
19
|
+
- [Examples](https://xdan.github.io/jodit)
|
|
20
20
|
- [TypeScript Starter](https://codesandbox.io/s/ggc6km)
|
|
21
21
|
|
|
22
22
|
## Get Started
|
|
@@ -109,9 +109,9 @@ You can manually include additional plugins and languages as needed.
|
|
|
109
109
|
```html
|
|
110
110
|
<link
|
|
111
111
|
rel="stylesheet"
|
|
112
|
-
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.
|
|
112
|
+
href="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.88/es2021/jodit.min.css"
|
|
113
113
|
/>
|
|
114
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.
|
|
114
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jodit/4.0.0-beta.88/es2021/jodit.min.js"></script>
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
#### unpkg
|
|
@@ -119,9 +119,9 @@ You can manually include additional plugins and languages as needed.
|
|
|
119
119
|
```html
|
|
120
120
|
<link
|
|
121
121
|
rel="stylesheet"
|
|
122
|
-
href="https://unpkg.com/jodit@4.0.0-beta.
|
|
122
|
+
href="https://unpkg.com/jodit@4.0.0-beta.88/es2021/jodit.min.css"
|
|
123
123
|
/>
|
|
124
|
-
<script src="https://unpkg.com/jodit@4.0.0-beta.
|
|
124
|
+
<script src="https://unpkg.com/jodit@4.0.0-beta.88/es2021/jodit.min.js"></script>
|
|
125
125
|
```
|
|
126
126
|
|
|
127
127
|
### Usage
|
package/es2015/jodit.css
CHANGED