jodit 4.2.43 → 4.2.46
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 +855 -806
- package/es2015/jodit.css +5 -7
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +47 -15
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- 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.css +5 -7
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +47 -14
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +1 -1
- 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 +5 -7
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +47 -14
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- 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 +5 -7
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +47 -14
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- 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/164.fat.min.js +1 -1
- package/es5/164.min.js +1 -1
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/jodit.css +35 -66
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +47 -15
- 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/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/config-proto.d.ts +18 -0
- package/esm/core/helpers/utils/config-proto.js +25 -0
- package/esm/core/traits/dlgs.js +1 -0
- package/esm/jodit.js +3 -7
- package/esm/modules/dialog/dialog.js +4 -0
- package/esm/plugins/source/editor/engines/ace.js +4 -0
- package/esm/plugins/source/editor/engines/area.js +2 -1
- package/esm/types/view.d.ts +1 -0
- package/package.json +1 -1
- package/types/core/helpers/utils/config-proto.d.ts +18 -0
- package/types/types/view.d.ts +1 -0
- package/esm/polyfills.d.ts +0 -10
- package/types/polyfills.d.ts +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,33 +2,82 @@
|
|
|
2
2
|
|
|
3
3
|
> **Tags:**
|
|
4
4
|
>
|
|
5
|
-
> -
|
|
6
|
-
> -
|
|
7
|
-
> -
|
|
8
|
-
> -
|
|
9
|
-
> -
|
|
10
|
-
> -
|
|
5
|
+
> - :boom: [Breaking Change]
|
|
6
|
+
> - :rocket: [New Feature]
|
|
7
|
+
> - :bug: [Bug Fix]
|
|
8
|
+
> - :memo: [Documentation]
|
|
9
|
+
> - :house: [Internal]
|
|
10
|
+
> - :nail_care: [Polish]
|
|
11
|
+
|
|
12
|
+
## 4.2.45
|
|
13
|
+
|
|
14
|
+
- Fixed bug with RTL mode when all dialogs were opened without RTL mode
|
|
15
|
+
|
|
16
|
+
## 4.2.44
|
|
17
|
+
|
|
18
|
+
### :rocket: New Feature
|
|
19
|
+
|
|
20
|
+
- Added method `Jodit.modules.Helpers.ConfigDeepFlatten` it allows make plain object from prototype chain object.
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
const editor = Jodit.make('#editor', {
|
|
24
|
+
image: {
|
|
25
|
+
dialogWidth: 500
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
console.log(editor.o.image.openOnDblClick); // true
|
|
30
|
+
// But you can't get all options in plain object
|
|
31
|
+
console.log(JSON.stringify(editor.o.image)); // {"dialogWidth":500}
|
|
32
|
+
|
|
33
|
+
const plain = Jodit.modules.Helpers.ConfigDeepFlatten(editor.o.image);
|
|
34
|
+
console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": true, "editSrc": true, ...}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
#### :house: Internal
|
|
38
|
+
|
|
39
|
+
- Update dependencies
|
|
40
|
+
|
|
41
|
+
```plain
|
|
42
|
+
@eslint/compat ^1.2.2 → ^1.2.3
|
|
43
|
+
@eslint/eslintrc ^3.1.0 → ^3.2.0
|
|
44
|
+
@eslint/js ^9.14.0 → ^9.16.0
|
|
45
|
+
@playwright/test ^1.48.2 → ^1.49.0
|
|
46
|
+
@types/mocha ^10.0.9 → ^10.0.10
|
|
47
|
+
@types/node ^22.8.7 → ^22.10.1
|
|
48
|
+
@typescript-eslint/eslint-plugin ^8.12.2 → ^8.16.0
|
|
49
|
+
@typescript-eslint/parser ^8.12.2 → ^8.16.0
|
|
50
|
+
axios ^1.7.7 → ^1.7.8
|
|
51
|
+
eslint ^9.14.0 → ^9.16.0
|
|
52
|
+
eslint-plugin-tsdoc ^0.3.0 → ^0.4.0
|
|
53
|
+
globals ^15.11.0 → ^15.12.0
|
|
54
|
+
less ^4.2.0 → ^4.2.1
|
|
55
|
+
postcss >=8.4.47 → >=8.4.49
|
|
56
|
+
prettier ^3.3.3 → ^3.4.1
|
|
57
|
+
stylelint ^16.10.0 → ^16.11.0
|
|
58
|
+
typescript ^5.6.3 → ^5.7.2
|
|
59
|
+
```
|
|
11
60
|
|
|
12
61
|
## 4.2.42
|
|
13
62
|
|
|
14
63
|
### :rocket: New Feature
|
|
15
64
|
|
|
16
|
-
-
|
|
17
|
-
|
|
65
|
+
- With the symbols plugin you can use the Shift key to select multiple symbols.
|
|
66
|
+
[special character #1194](https://github.com/xdan/jodit/issues/1194)
|
|
18
67
|
|
|
19
68
|
### :bug: Bug Fix
|
|
20
69
|
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
70
|
+
- Fixed a bug in the logic of the ControlType.popup method; if the method did not return anything,
|
|
71
|
+
it could be used as an alternative to `exec`. But when called again it did not work.
|
|
72
|
+
- Fixed logic in the symbols plugin
|
|
73
|
+
- [Does it have an API for closing record operations #1193](https://github.com/xdan/jodit/issues/1193)
|
|
25
74
|
|
|
26
75
|
## 4.2.41
|
|
27
76
|
|
|
28
77
|
### :rocket: New Feature
|
|
29
78
|
|
|
30
|
-
-
|
|
31
|
-
|
|
79
|
+
- Related issue: [The video plugin only support content from youtube and vimeo #1170](https://github.com/xdan/jodit/issues/1170)
|
|
80
|
+
Added options `video.defaultWidth`, `video.defaultHeight`, and `video.parseUrlToVideoEmbed` to the video plugin. The `parseUrlToVideoEmbed` option allows you to add your own video parser.
|
|
32
81
|
|
|
33
82
|
```ts
|
|
34
83
|
Jodit.make('#editor', {
|
|
@@ -60,20 +109,20 @@
|
|
|
60
109
|
|
|
61
110
|
### :bug: Bug Fix
|
|
62
111
|
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
112
|
+
- [Toolbar Customization Issue When Selecting Text Inside Table Cells](https://github.com/xdan/jodit/issues/1131)
|
|
113
|
+
- Fixed a bug when the tooltip remained on the screen when its popup was already closed
|
|
114
|
+
- [Inline popup tooltips are not visible #1141](https://github.com/xdan/jodit/issues/1141)
|
|
115
|
+
- Fixed a bug in the Enter plugin where inside a table you had to press Enter twice to create a new row
|
|
67
116
|
|
|
68
117
|
## 4.2.39
|
|
69
118
|
|
|
70
119
|
#### :house: Internal
|
|
71
120
|
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
121
|
+
- Chai.js switched to ESM from version 5.0.0, which led to problems with tests inside browser.
|
|
122
|
+
To solve the problem, we abandoned node_modules version and switched to jsdelivr+esm
|
|
123
|
+
We are not removing the dependency yet, see `./test/tests/chai-loader.js`
|
|
75
124
|
|
|
76
|
-
-
|
|
125
|
+
- Update dependencies
|
|
77
126
|
|
|
78
127
|
```plain
|
|
79
128
|
@eslint/compat ^1.2.0 → ^1.2.2
|
|
@@ -97,38 +146,38 @@
|
|
|
97
146
|
|
|
98
147
|
### :bug: Bug Fix
|
|
99
148
|
|
|
100
|
-
-
|
|
149
|
+
- Fixed behavior of form submit with its own validation
|
|
101
150
|
|
|
102
151
|
## 4.2.37
|
|
103
152
|
|
|
104
153
|
### :bug: Bug Fix
|
|
105
154
|
|
|
106
|
-
-
|
|
155
|
+
- [Bug: this.j.o.resizer is undefined in jodit version 4 #1166](https://github.com/xdan/jodit/issues/1166)
|
|
107
156
|
|
|
108
157
|
## 4.2.35
|
|
109
158
|
|
|
110
159
|
### :bug: Bug Fix
|
|
111
160
|
|
|
112
|
-
-
|
|
161
|
+
- [Edit Link bugg when there is a iframe #1176](https://github.com/xdan/jodit/issues/1176)
|
|
113
162
|
|
|
114
163
|
## 4.2.34
|
|
115
164
|
|
|
116
165
|
### :bug: Bug Fix
|
|
117
166
|
|
|
118
|
-
-
|
|
167
|
+
- [Bug UL and OL list not working corretly with option "enter":"BR" #1178](https://github.com/xdan/jodit/issues/1178)
|
|
119
168
|
|
|
120
169
|
## 4.2.33
|
|
121
170
|
|
|
122
171
|
### :bug: Bug Fix
|
|
123
172
|
|
|
124
|
-
-
|
|
173
|
+
- Fixed bug inside Search plugin with Highlight API. When selection was not cleared
|
|
125
174
|
|
|
126
175
|
## 4.2.32
|
|
127
176
|
|
|
128
177
|
### :rocket: New Feature
|
|
129
178
|
|
|
130
|
-
-
|
|
131
|
-
|
|
179
|
+
- Added option `iframeSandbox: string | null = null;` Apply the `sandbox` attribute to the iframe element. The value of the attribute is a space-separated list of directives. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox
|
|
180
|
+
Issue: https://github.com/xdan/jodit/issues/1186
|
|
132
181
|
|
|
133
182
|
```typescript
|
|
134
183
|
Jodit.make('#editor', {
|
|
@@ -139,8 +188,8 @@ Jodit.make('#editor', {
|
|
|
139
188
|
|
|
140
189
|
#### :house: Internal
|
|
141
190
|
|
|
142
|
-
-
|
|
143
|
-
-
|
|
191
|
+
- Move to ESLint 9
|
|
192
|
+
- Update dependencies
|
|
144
193
|
|
|
145
194
|
```plain
|
|
146
195
|
@playwright/test ^1.45.0 → ^1.48.0
|
|
@@ -178,7 +227,7 @@ Jodit.make('#editor', {
|
|
|
178
227
|
|
|
179
228
|
### :rocket: New Feature
|
|
180
229
|
|
|
181
|
-
-
|
|
230
|
+
- Added option `countTextSpaces: boolean = false;` Issue https://github.com/xdan/jodit/issues/1144
|
|
182
231
|
|
|
183
232
|
```typescript
|
|
184
233
|
Jodit.make('#editor', {
|
|
@@ -188,12 +237,12 @@ Jodit.make('#editor', {
|
|
|
188
237
|
|
|
189
238
|
### :bug: Bug Fix
|
|
190
239
|
|
|
191
|
-
-
|
|
240
|
+
- [Menu Item Popups Hidden when Jodit is inside an <dialog> element #1146](https://github.com/xdan/jodit/issues/1146)
|
|
192
241
|
|
|
193
242
|
#### :house: Internal
|
|
194
243
|
|
|
195
|
-
-
|
|
196
|
-
-
|
|
244
|
+
- Use node 20 for build
|
|
245
|
+
- Update dependencies
|
|
197
246
|
|
|
198
247
|
```plain
|
|
199
248
|
@playwright/test ^1.43.1 → ^1.45.0
|
|
@@ -226,42 +275,42 @@ Jodit.make('#editor', {
|
|
|
226
275
|
|
|
227
276
|
### :bug: Bug Fix
|
|
228
277
|
|
|
229
|
-
-
|
|
230
|
-
-
|
|
231
|
-
-
|
|
232
|
-
-
|
|
233
|
-
-
|
|
234
|
-
-
|
|
278
|
+
- [Table dragging creates an issue #1128](https://github.com/xdan/jodit/issues/1128)
|
|
279
|
+
- AddNewLine plugin shown incorrect position after CleanHTML plugin
|
|
280
|
+
- Inserting a new table - added extra spaces before the table
|
|
281
|
+
- When merging multiple table cells after the TR tag, the CleanHTML plugin added `<br>`
|
|
282
|
+
- [Inline popup tooltips are not visible #1141](https://github.com/xdan/jodit/issues/1141)
|
|
283
|
+
- [space key issues #1143](https://github.com/xdan/jodit/issues/1143)
|
|
235
284
|
|
|
236
285
|
## 4.2.25
|
|
237
286
|
|
|
238
287
|
### :rocket: New Feature
|
|
239
288
|
|
|
240
|
-
-
|
|
289
|
+
- [add ukrainian localization #1142](https://github.com/xdan/jodit/pull/1142)
|
|
241
290
|
|
|
242
291
|
## 4.2.22
|
|
243
292
|
|
|
244
293
|
### :bug: Bug Fix
|
|
245
294
|
|
|
246
|
-
-
|
|
295
|
+
- [Try to fix Unable to use Speech Recognition #1139](https://github.com/xdan/jodit/issues/1139)
|
|
247
296
|
|
|
248
297
|
## 4.2.21
|
|
249
298
|
|
|
250
299
|
#### :house: Internal
|
|
251
300
|
|
|
252
|
-
-
|
|
253
|
-
-
|
|
301
|
+
- Improved appearance of tabs
|
|
302
|
+
- Fixed a bug when hovering over a button. The tooltip sometimes did not disappear
|
|
254
303
|
|
|
255
304
|
## 4.2.19
|
|
256
305
|
|
|
257
|
-
-
|
|
306
|
+
- Fixed the lag between setting the activity to a list item when opening it.
|
|
258
307
|
|
|
259
308
|
## 4.2.18
|
|
260
309
|
|
|
261
310
|
#### :house: Internal
|
|
262
311
|
|
|
263
|
-
-
|
|
264
|
-
|
|
312
|
+
- When connecting third-party scripts, two attributes are now added to the script tag.
|
|
313
|
+
[Jodit not hiding the raw textarea #1086](https://github.com/xdan/jodit/issues/1086)
|
|
265
314
|
|
|
266
315
|
```json
|
|
267
316
|
{
|
|
@@ -270,14 +319,14 @@ Jodit.make('#editor', {
|
|
|
270
319
|
}
|
|
271
320
|
```
|
|
272
321
|
|
|
273
|
-
-
|
|
274
|
-
-
|
|
322
|
+
- [crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin)
|
|
323
|
+
- [referrerpolicy](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/referrerPolicy)
|
|
275
324
|
|
|
276
325
|
## 4.2.17
|
|
277
326
|
|
|
278
327
|
#### :house: Internal
|
|
279
328
|
|
|
280
|
-
-
|
|
329
|
+
- Removed conversion of list arrays into objects when creating a button in the toolbar. Previously the code looked like:
|
|
281
330
|
|
|
282
331
|
```js
|
|
283
332
|
Jodit.make('#editor', {
|
|
@@ -329,20 +378,20 @@ Jodit.make('#editor', {
|
|
|
329
378
|
|
|
330
379
|
### :bug: Bug Fix
|
|
331
380
|
|
|
332
|
-
-
|
|
333
|
-
-
|
|
381
|
+
- [Backspacing in the editor with preadded styling or added styling is not retained #1120](https://github.com/xdan/jodit/issues/1120)
|
|
382
|
+
- [missing generation of inferface.js and interface.d.ts in esm build path esm\plugins\image-properties #1117](https://github.com/xdan/jodit/issues/1117)
|
|
334
383
|
|
|
335
384
|
## 4.2.13
|
|
336
385
|
|
|
337
386
|
### :bug: Bug Fix
|
|
338
387
|
|
|
339
|
-
-
|
|
388
|
+
- [Table inline popup buttons issue #1129](https://github.com/xdan/jodit/issues/1129)
|
|
340
389
|
|
|
341
390
|
## 4.2.8
|
|
342
391
|
|
|
343
392
|
### :rocket: New Feature
|
|
344
393
|
|
|
345
|
-
-
|
|
394
|
+
- Controls have a new field `isVisible(editor: IJodit): boolean`, which allows you to completely hide the button in some situations.
|
|
346
395
|
|
|
347
396
|
```typescript
|
|
348
397
|
Jodit.make('#editor', {
|
|
@@ -360,10 +409,10 @@ Jodit.make('#editor', {
|
|
|
360
409
|
|
|
361
410
|
### :bug: Bug Fix
|
|
362
411
|
|
|
363
|
-
-
|
|
364
|
-
-
|
|
365
|
-
|
|
366
|
-
|
|
412
|
+
- [Size of picture is not correct when changin a picture #1107](https://github.com/xdan/jodit/issues/1107)
|
|
413
|
+
- [Selection by triple click removes close tag + open tag of next paragraph #1101](https://github.com/xdan/jodit/issues/1101)
|
|
414
|
+
Added options `select.normalizeTripleClick: boolean = true` to normalize selection after triple click
|
|
415
|
+
For disable this behavior set `select.normalizeTripleClick: false`
|
|
367
416
|
|
|
368
417
|
```js
|
|
369
418
|
Jodit.make('#editor', {
|
|
@@ -377,7 +426,7 @@ Jodit.make('#editor', {
|
|
|
377
426
|
|
|
378
427
|
#### :boom: Breaking Change
|
|
379
428
|
|
|
380
|
-
-
|
|
429
|
+
- Removed the default export from the watch decorator. We refrain from using default exports in this project (refer to CONTRIBUTING.md for more details).
|
|
381
430
|
|
|
382
431
|
Before:
|
|
383
432
|
|
|
@@ -393,15 +442,15 @@ import { watch } from 'jodit/core/decorators/watch/watch';
|
|
|
393
442
|
|
|
394
443
|
### :bug: Bug Fix
|
|
395
444
|
|
|
396
|
-
-
|
|
445
|
+
- [FileBrowser - Permissions Incorrect during Open of Dialog #1095](https://github.com/xdan/jodit/issues/1095)
|
|
397
446
|
|
|
398
447
|
## 4.1.11
|
|
399
448
|
|
|
400
|
-
-
|
|
449
|
+
- Fixed a bug within the FileBrowser module. The issue was due to the import order; the Ajax configuration was applied after the module had been initialized.
|
|
401
450
|
|
|
402
451
|
## 4.1.9
|
|
403
452
|
|
|
404
|
-
-
|
|
453
|
+
- Added `AbortError` to the `Jodit.modules` namespace. This is a custom error that is thrown when the user cancels the operation.
|
|
405
454
|
|
|
406
455
|
```js
|
|
407
456
|
const jodit = Jodit.make('#editor');
|
|
@@ -417,15 +466,15 @@ jodit.destruct();
|
|
|
417
466
|
|
|
418
467
|
## 4.1.7
|
|
419
468
|
|
|
420
|
-
-
|
|
469
|
+
- [Wrong generation of es5 bundle - polyfills missing #1105](https://github.com/xdan/jodit/issues/1105)
|
|
421
470
|
|
|
422
471
|
## 4.1.1
|
|
423
472
|
|
|
424
|
-
-
|
|
473
|
+
- Added plugin AI Assistant. https://github.com/xdan/jodit/pull/1088 Thanks @huizarmx
|
|
425
474
|
|
|
426
475
|
#### :house: Internal
|
|
427
476
|
|
|
428
|
-
-
|
|
477
|
+
- Update dependencies
|
|
429
478
|
|
|
430
479
|
```plain
|
|
431
480
|
|
|
@@ -449,7 +498,7 @@ webpack-dev-middleware ^7.0.0 → ^7.2.0
|
|
|
449
498
|
webpack-dev-server ^5.0.2 → ^5.0.4
|
|
450
499
|
```
|
|
451
500
|
|
|
452
|
-
-
|
|
501
|
+
- Update dependencies
|
|
453
502
|
|
|
454
503
|
```plain
|
|
455
504
|
@types/node ^20.10.7 → ^20.11.25
|
|
@@ -484,32 +533,32 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
484
533
|
|
|
485
534
|
## 4.0.15
|
|
486
535
|
|
|
487
|
-
-
|
|
488
|
-
|
|
536
|
+
- Fixed bug in `beforeInit` hook. If the hook returned a promise, and the editor was destroyed after that,
|
|
537
|
+
then after resolving the promise, the editor continued the initialization procedure
|
|
489
538
|
|
|
490
539
|
## 4.0.8
|
|
491
540
|
|
|
492
|
-
-
|
|
541
|
+
- Fixed a bug in the plugins module when extra plugins did not cause the editor to be redrawn after initialization
|
|
493
542
|
|
|
494
543
|
## 4.0.7
|
|
495
544
|
|
|
496
|
-
-
|
|
497
|
-
|
|
498
|
-
-
|
|
545
|
+
- Added `search.useCustomHighlightAPI` option to the "Search" plugin to use the built-in text highlighting API https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API
|
|
546
|
+
If the browser does not support this API, then standard text highlighting will be used by wrapping it in the `<span jd-tmp-selection>` tag.
|
|
547
|
+
- Added Finnish (Suomi) translation https://github.com/xdan/jodit/pull/1081
|
|
499
548
|
|
|
500
549
|
## 4.0.2
|
|
501
550
|
|
|
502
|
-
-
|
|
551
|
+
- [BUG: FileBrowser Context Menu Grows Infinitely](https://github.com/xdan/jodit/issues/1059)
|
|
503
552
|
|
|
504
553
|
## 4.0.1
|
|
505
554
|
|
|
506
|
-
-
|
|
555
|
+
- [See changelog](https://github.com/xdan/jodit/releases)
|
|
507
556
|
|
|
508
557
|
## 4.0.0-beta.121
|
|
509
558
|
|
|
510
559
|
#### :boom: Breaking Change
|
|
511
560
|
|
|
512
|
-
-
|
|
561
|
+
- All static methods of the `Jodit.modules.Table` module have been removed and replaced with methods of an instance of the `Table` class with the same name.
|
|
513
562
|
|
|
514
563
|
```js
|
|
515
564
|
const jodit = Jodit.make('#editor');
|
|
@@ -521,16 +570,16 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
521
570
|
jodit.getInstance('Table').mergeSelected(jodit.editor.firstChild);
|
|
522
571
|
```
|
|
523
572
|
|
|
524
|
-
-
|
|
525
|
-
-
|
|
573
|
+
- `.jodit-filebrowser` class prefix was renamed to `.jodit-file-browser`
|
|
574
|
+
- CSS key `--color-background-filebrowser-folders` was removed from global scope.
|
|
526
575
|
|
|
527
576
|
### :bug: Bug Fix
|
|
528
577
|
|
|
529
|
-
-
|
|
578
|
+
- [Folder renames not working if "space" is added in folder name #1054](https://github.com/xdan/jodit/issues/1054)
|
|
530
579
|
|
|
531
580
|
#### :house: Internal
|
|
532
581
|
|
|
533
|
-
-
|
|
582
|
+
- Update dependencies
|
|
534
583
|
|
|
535
584
|
```plain
|
|
536
585
|
stylelint-config-idiomatic-order v9.0.0 → v10.0.0
|
|
@@ -545,7 +594,7 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
545
594
|
|
|
546
595
|
### :rocket: New Feature
|
|
547
596
|
|
|
548
|
-
-
|
|
597
|
+
- The `Jodit.getInstance` method can accept a module constructor instead of its name:
|
|
549
598
|
|
|
550
599
|
```js
|
|
551
600
|
const jodit = Jodit.make('#editor');
|
|
@@ -556,29 +605,29 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
556
605
|
|
|
557
606
|
## 4.0.0-beta.119
|
|
558
607
|
|
|
559
|
-
-
|
|
608
|
+
- [Even though I disable some editor plugins, they are displayed on mobile #243](https://github.com/jodit/jodit-react/issues/243)
|
|
560
609
|
|
|
561
610
|
## 4.0.0-beta.118
|
|
562
611
|
|
|
563
612
|
### :bug: Bug Fix
|
|
564
613
|
|
|
565
|
-
-
|
|
614
|
+
- [fix import #1046](https://github.com/xdan/jodit/pull/1046)
|
|
566
615
|
|
|
567
616
|
#### :house: Internal
|
|
568
617
|
|
|
569
|
-
-
|
|
618
|
+
- Fixed colors for selected toolbar elements in the dark theme
|
|
570
619
|
|
|
571
620
|
## 4.0.0-beta.117
|
|
572
621
|
|
|
573
622
|
### :bug: Bug Fix
|
|
574
623
|
|
|
575
|
-
-
|
|
624
|
+
- [Marking a line with shift "pos1 or end" and pressing del removes too much and destroys structure #1038](https://github.com/xdan/jodit/issues/1038)
|
|
576
625
|
|
|
577
626
|
## 4.0.0-beta.108
|
|
578
627
|
|
|
579
628
|
### :bug: Bug Fix
|
|
580
629
|
|
|
581
|
-
-
|
|
630
|
+
- [Comment block in the template throws error "Cannot read properties of undefined (reading 'font-weight')" #1044](https://github.com/xdan/jodit/issues/1044)
|
|
582
631
|
|
|
583
632
|
#### :house: Internal
|
|
584
633
|
|
|
@@ -606,15 +655,15 @@ typescript ^5.2.2 → ^5.3.2
|
|
|
606
655
|
|
|
607
656
|
## 4.0.0-beta.108
|
|
608
657
|
|
|
609
|
-
-
|
|
658
|
+
- Fixed a bug in the UITextArea UI component. Instead of adding a textarea element, it was incorrectly adding an input element.
|
|
610
659
|
|
|
611
660
|
## 4.0.0-beta.107
|
|
612
661
|
|
|
613
662
|
### :rocket: New Feature
|
|
614
663
|
|
|
615
|
-
-
|
|
616
|
-
|
|
617
|
-
|
|
664
|
+
- Introduced the pasteExcludeStripTags option. This is a list of tags that won't be removed from the pasted HTML
|
|
665
|
+
when in INSERT_AS_TEXT mode. By default, it includes `['br', 'hr']`.
|
|
666
|
+
See https://github.com/xdan/jodit/issues/1033 for more details.
|
|
618
667
|
|
|
619
668
|
```js
|
|
620
669
|
Jodit.make('#editor', {
|
|
@@ -622,41 +671,41 @@ typescript ^5.2.2 → ^5.3.2
|
|
|
622
671
|
});
|
|
623
672
|
```
|
|
624
673
|
|
|
625
|
-
-
|
|
674
|
+
- [copy pasting twitter or istagram or etc. not as expected #1032](https://github.com/xdan/jodit/issues/1032)
|
|
626
675
|
|
|
627
676
|
## 4.0.0-beta.97
|
|
628
677
|
|
|
629
678
|
#### :house: Internal
|
|
630
679
|
|
|
631
|
-
-
|
|
680
|
+
- Calls to setTimout without the async module have been removed from autotests, and most of the asynchronous tests have been rewritten from done to async/await
|
|
632
681
|
|
|
633
682
|
## 4.0.0-beta.96
|
|
634
683
|
|
|
635
684
|
#### :boom: Breaking Change
|
|
636
685
|
|
|
637
|
-
-
|
|
686
|
+
- Removed `Jodit.modules.Helpers.val` method
|
|
638
687
|
|
|
639
688
|
## 4.0.0-beta.95
|
|
640
689
|
|
|
641
690
|
### :bug: Bug Fix
|
|
642
691
|
|
|
643
|
-
-
|
|
692
|
+
- Fixed the logic of the file upload module. When HTTP errors were simply ignored.
|
|
644
693
|
|
|
645
694
|
## 4.0.0-beta.93
|
|
646
695
|
|
|
647
696
|
### :bug: Bug Fix
|
|
648
697
|
|
|
649
|
-
-
|
|
698
|
+
- Fixed a bug with the `editor.selection.setCursorIn(box)` method, which could set the cursor inside a <br>.
|
|
650
699
|
|
|
651
700
|
## 4.0.0-beta.91
|
|
652
701
|
|
|
653
702
|
### :bug: Bug Fix
|
|
654
703
|
|
|
655
|
-
-
|
|
656
|
-
|
|
704
|
+
- Issues with ESM #1029, icons were not included in the esm build
|
|
705
|
+
Issue: https://github.com/xdan/jodit/issues/1029
|
|
657
706
|
|
|
658
|
-
-
|
|
659
|
-
-
|
|
707
|
+
- Use node 18.17.1 for build
|
|
708
|
+
- Update
|
|
660
709
|
|
|
661
710
|
```
|
|
662
711
|
@types/ace ^0.0.49 → ^0.0.50
|
|
@@ -679,7 +728,7 @@ webpack 5.88.2 → 5.89.0
|
|
|
679
728
|
|
|
680
729
|
### :rocket: New Feature
|
|
681
730
|
|
|
682
|
-
-
|
|
731
|
+
- Improved UX of dialog boxes. Added two options `closeOnEsc` defaulting to `true` and `closeOnClickOverlay` defaulting to `false`.
|
|
683
732
|
```js
|
|
684
733
|
Jodit.make('#editor', {
|
|
685
734
|
dialog: {
|
|
@@ -702,12 +751,12 @@ webpack 5.88.2 → 5.89.0
|
|
|
702
751
|
|
|
703
752
|
### :bug: Bug Fix
|
|
704
753
|
|
|
705
|
-
-
|
|
706
|
-
-
|
|
754
|
+
- 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.
|
|
755
|
+
- [Firefox specific execCommands no longer needed #1028](https://github.com/xdan/jodit/issues/1028)
|
|
707
756
|
|
|
708
757
|
## 4.0.0-beta.78
|
|
709
758
|
|
|
710
|
-
-
|
|
759
|
+
- Update
|
|
711
760
|
|
|
712
761
|
```
|
|
713
762
|
@types/ace ^0.0.48 → ^0.0.49
|
|
@@ -733,7 +782,7 @@ webpack 5.88.2 → 5.89.0
|
|
|
733
782
|
|
|
734
783
|
## 4.0.0-beta.78
|
|
735
784
|
|
|
736
|
-
-
|
|
785
|
+
- Update
|
|
737
786
|
|
|
738
787
|
```
|
|
739
788
|
@types/karma ^6.3.3 → ^6.3.4
|
|
@@ -777,48 +826,48 @@ webpack 5.88.2 → 5.89.0
|
|
|
777
826
|
|
|
778
827
|
### :bug: Bug Fix
|
|
779
828
|
|
|
780
|
-
-
|
|
781
|
-
-
|
|
829
|
+
- [Image duplication issue #993](https://github.com/xdan/jodit/issues/993)
|
|
830
|
+
- Fixed an issue where the inline popup was not hidden after deleting an image
|
|
782
831
|
|
|
783
832
|
### :rocket: New Feature
|
|
784
833
|
|
|
785
|
-
-
|
|
786
|
-
|
|
787
|
-
-
|
|
834
|
+
- [When cursor is not in view and paste is done, editor doesn't scroll to the pasted content automatically #983](https://github.com/xdan/jodit/issues/983)
|
|
835
|
+
Added [scrollToPastedContent](https://xdsoft.net/jodit/docs/classes/config.Config.html#scrollToPastedContent)
|
|
836
|
+
- After inserting the HTML, the cursor will be inserted inside the block element
|
|
788
837
|
|
|
789
838
|
## 4.0.0-beta.52
|
|
790
839
|
|
|
791
840
|
#### :boom: Breaking Change
|
|
792
841
|
|
|
793
|
-
-
|
|
794
|
-
-
|
|
795
|
-
-
|
|
796
|
-
|
|
842
|
+
- Removed deprecated selection.applyStyle method
|
|
843
|
+
- Change Creates. Sandbox signature to return body,iframe tuple
|
|
844
|
+
- In the plugin system, the requirement field has been removed from instances,
|
|
845
|
+
only the field in the constructor has been left
|
|
797
846
|
```js
|
|
798
847
|
class somePlugin extends Jodit.modulules.Plugin {
|
|
799
848
|
static requires = ['hotkeys']; // It still works
|
|
800
849
|
requires = ['hotkeys']; // Now it does not work
|
|
801
850
|
}
|
|
802
851
|
```
|
|
803
|
-
-
|
|
852
|
+
- Deprecated were removed
|
|
804
853
|
|
|
805
|
-
-
|
|
806
|
-
-
|
|
807
|
-
-
|
|
808
|
-
-
|
|
854
|
+
- `Dom.isTag` does not support array
|
|
855
|
+
- `Select.applyStyle` method was removed
|
|
856
|
+
- `history.observer` was removed
|
|
857
|
+
- `editorCssClass` removed
|
|
809
858
|
|
|
810
|
-
-
|
|
811
|
-
-
|
|
812
|
-
-
|
|
859
|
+
- `wrapNodes.exclude` changed from array to set
|
|
860
|
+
- `allowResizeTags` changed from array to set
|
|
861
|
+
- `resizer.useAspectRatio` changed from array to set
|
|
813
862
|
|
|
814
|
-
-
|
|
863
|
+
- All css variables renamed to kebab-case
|
|
815
864
|
|
|
816
865
|
## 4.0.0-beta.42
|
|
817
866
|
|
|
818
|
-
-
|
|
819
|
-
-
|
|
820
|
-
-
|
|
821
|
-
-
|
|
867
|
+
- Remove all languages from lang/index.js for ESM build
|
|
868
|
+
- Only base plugins list in plugins/index.js for ESM build
|
|
869
|
+
- Remove polyfills from ESM build
|
|
870
|
+
- Remove `composer.json`
|
|
822
871
|
|
|
823
872
|
## 4.0.0-beta.10
|
|
824
873
|
|
|
@@ -850,15 +899,15 @@ yargs ^17.7.1 → ^17.7.2
|
|
|
850
899
|
|
|
851
900
|
#### :boom: Breaking Change
|
|
852
901
|
|
|
853
|
-
-
|
|
854
|
-
-
|
|
855
|
-
-
|
|
856
|
-
-
|
|
857
|
-
-
|
|
858
|
-
-
|
|
859
|
-
-
|
|
860
|
-
-
|
|
861
|
-
-
|
|
902
|
+
- !!! Build files removed from repository and only available in npm package !!!
|
|
903
|
+
- !!! bowers.json was removed !!!
|
|
904
|
+
- server.js was removed
|
|
905
|
+
- All build js files was rewritten to typescript
|
|
906
|
+
- `build-system` was renamed as `tools`
|
|
907
|
+
- Removed `exludeLangs` build option. Instead use `--includeLanguages=en` option.
|
|
908
|
+
- Default target for build was changed to es2015
|
|
909
|
+
- Build in es2018 target was removed, instead es2021 was added
|
|
910
|
+
- Event `getIcon` was removed. Use option `getIcon` instead
|
|
862
911
|
|
|
863
912
|
```ts
|
|
864
913
|
Jodit.make('#editor', {
|
|
@@ -872,7 +921,7 @@ Jodit.make('#editor', {
|
|
|
872
921
|
});
|
|
873
922
|
```
|
|
874
923
|
|
|
875
|
-
-
|
|
924
|
+
- Removed `errorMessage` event. Use `module.messages` instead
|
|
876
925
|
|
|
877
926
|
```js
|
|
878
927
|
Jodit.make('#editor').message.info('Hello world');
|
|
@@ -880,9 +929,9 @@ Jodit.make('#editor', {
|
|
|
880
929
|
|
|
881
930
|
#### :rocket: New Feature
|
|
882
931
|
|
|
883
|
-
-
|
|
884
|
-
-
|
|
885
|
-
-
|
|
932
|
+
- Added `Jodit.modules.Dom.isList` method
|
|
933
|
+
- Added `Jodit.modules.Dom.isLeaf` method
|
|
934
|
+
- Added plugin `delete` for correct delete content with command `delete`
|
|
886
935
|
|
|
887
936
|
#### :house: Internal
|
|
888
937
|
|
|
@@ -924,8 +973,8 @@ yargs ^17.6.2 → ^17.7.1
|
|
|
924
973
|
|
|
925
974
|
#### :house: Internal
|
|
926
975
|
|
|
927
|
-
-
|
|
928
|
-
-
|
|
976
|
+
- `Jodit.modules.Helpers.htmlspecialchars` marked as deprecated. Instead use `Jodit.modules.Helpers.stripTags`
|
|
977
|
+
- `Jodit.modules.Helpers.stripTags` added third argument for excluding tags
|
|
929
978
|
|
|
930
979
|
```js
|
|
931
980
|
Jodit.modules.Helpers.stripTags(
|
|
@@ -936,8 +985,8 @@ Jodit.modules.Helpers.stripTags(
|
|
|
936
985
|
// <p>test po<br>p<br>stop lop<br></p>
|
|
937
986
|
```
|
|
938
987
|
|
|
939
|
-
-
|
|
940
|
-
-
|
|
988
|
+
- Inside `safeMode` will init only `safePluginsList` plugins. It used to init `extraPlugins` too.
|
|
989
|
+
- `size` plugin was added in default `safePluginsList`
|
|
941
990
|
|
|
942
991
|
```js
|
|
943
992
|
const editor = Jodit.make('#editor', {
|
|
@@ -951,11 +1000,11 @@ console.log(editor.__plugins); // only 'enter', 'backspace'
|
|
|
951
1000
|
|
|
952
1001
|
#### :bug: Bug Fix
|
|
953
1002
|
|
|
954
|
-
-
|
|
955
|
-
-
|
|
956
|
-
-
|
|
957
|
-
-
|
|
958
|
-
-
|
|
1003
|
+
- [Wrong new empty paragraph location when cursor is set after a table and <Enter> key is pressed #953](https://github.com/xdan/jodit/issues/953)
|
|
1004
|
+
- The PluginSystem module has been refactored: now asynchronous plugins do not block the initialization of the editor and it is ready to work without them.
|
|
1005
|
+
- [Remove anchor element when set black text color. #936](https://github.com/xdan/jodit/issues/936)
|
|
1006
|
+
- [Insert_only_text makes mistakes when i copy a text html that includes a style tag #934](https://github.com/xdan/jodit/issues/934)
|
|
1007
|
+
- [Selected font styling reverts to default style after removing the added text using the backspace key #925](https://github.com/xdan/jodit/issues/925)
|
|
959
1008
|
|
|
960
1009
|
#### :house: Internal
|
|
961
1010
|
|
|
@@ -979,9 +1028,9 @@ synchronous-promise 2.0.15 → 2.0.17
|
|
|
979
1028
|
|
|
980
1029
|
#### :boom: Breaking Change
|
|
981
1030
|
|
|
982
|
-
-
|
|
983
|
-
|
|
984
|
-
-
|
|
1031
|
+
- Options to hide the functionality of editing directories and files `filebrowser.createNewFolder`, `filebrowser.editImage`,
|
|
1032
|
+
`filebrowser.deleteFolder`,`filebrowser.renameFolder`,`filebrowser.moveFolder`,`filebrowser.moveFile` were marked as deprecated.
|
|
1033
|
+
- Instead added `filebrowser.permissionsPresets: Partial<IPermissions>` option.
|
|
985
1034
|
|
|
986
1035
|
Before:
|
|
987
1036
|
|
|
@@ -1066,17 +1115,17 @@ Jodit.make('#editor', {
|
|
|
1066
1115
|
|
|
1067
1116
|
#### :rocket: New Feature
|
|
1068
1117
|
|
|
1069
|
-
-
|
|
1118
|
+
- [Fix #909 Add option to provide pre-defined classes for img elements. #910](https://github.com/xdan/jodit/pull/910)
|
|
1070
1119
|
|
|
1071
1120
|
## 3.24.1
|
|
1072
1121
|
|
|
1073
1122
|
#### :boom: Breaking Change
|
|
1074
1123
|
|
|
1075
|
-
-
|
|
1124
|
+
- Constant array `MAY_BE_REMOVED_WITH_KEY` was replaced on set `INSEPARABLE_TAGS`
|
|
1076
1125
|
|
|
1077
1126
|
#### :rocket: New Feature
|
|
1078
1127
|
|
|
1079
|
-
-
|
|
1128
|
+
- Method `Select.applyStyle` marked as deprecated. Use `Select.commitStyle` instead.
|
|
1080
1129
|
|
|
1081
1130
|
Before:
|
|
1082
1131
|
|
|
@@ -1102,8 +1151,8 @@ jodit.s.commitStyle({
|
|
|
1102
1151
|
});
|
|
1103
1152
|
```
|
|
1104
1153
|
|
|
1105
|
-
-
|
|
1106
|
-
|
|
1154
|
+
- In the options of the `Select`.`commitStyle` method, the `attributes` property has been added, which allows you to
|
|
1155
|
+
also set attributes when applying a style.
|
|
1107
1156
|
|
|
1108
1157
|
```js
|
|
1109
1158
|
jodit.s.commitStyle({
|
|
@@ -1116,23 +1165,23 @@ jodit.s.commitStyle({
|
|
|
1116
1165
|
|
|
1117
1166
|
Wraps the selected text into a link with the specified address.
|
|
1118
1167
|
|
|
1119
|
-
-
|
|
1168
|
+
- When inserting a url, if the text is selected, it will automatically be replaced with a link
|
|
1120
1169
|
|
|
1121
|
-
-
|
|
1170
|
+
- In Tab plugin allow use shift+tab for lists
|
|
1122
1171
|
|
|
1123
1172
|
#### :bug: Bug Fix
|
|
1124
1173
|
|
|
1125
|
-
-
|
|
1174
|
+
- [Safari custom color picker errors out on browser check #906](https://github.com/xdan/jodit/issues/906)
|
|
1126
1175
|
|
|
1127
1176
|
#### :house: Internal
|
|
1128
1177
|
|
|
1129
|
-
-
|
|
1178
|
+
- Fixed deletion of the asserts function from the production code, instead of regular expressions, transformers are used\*\*\*\*
|
|
1130
1179
|
|
|
1131
1180
|
## 3.23.3
|
|
1132
1181
|
|
|
1133
1182
|
#### :rocket: New Feature
|
|
1134
1183
|
|
|
1135
|
-
-
|
|
1184
|
+
- Added option `IControlType.childExec` Allows you to set a separate handler for list items
|
|
1136
1185
|
|
|
1137
1186
|
```javascript
|
|
1138
1187
|
Jodit.make('.editor', {
|
|
@@ -1160,30 +1209,30 @@ Jodit.make('.editor', {
|
|
|
1160
1209
|
|
|
1161
1210
|
#### :bug: Bug Fix
|
|
1162
1211
|
|
|
1163
|
-
-
|
|
1212
|
+
- [Insert link in Safari adds link to the beginning of the text #900](https://github.com/xdan/jodit/issues/900)
|
|
1164
1213
|
|
|
1165
1214
|
#### :house: Internal
|
|
1166
1215
|
|
|
1167
|
-
-
|
|
1216
|
+
- Deleted ajax.dataType option, because it was not used
|
|
1168
1217
|
|
|
1169
1218
|
## 3.23.1
|
|
1170
1219
|
|
|
1171
1220
|
#### :boom: Breaking Change
|
|
1172
1221
|
|
|
1173
|
-
-
|
|
1222
|
+
- Remove `IJodit` from first argument of `Ajax` constructor.
|
|
1174
1223
|
|
|
1175
1224
|
#### :rocket: New Feature
|
|
1176
1225
|
|
|
1177
|
-
-
|
|
1178
|
-
|
|
1226
|
+
- The focus method and the isFocused property have been added to the `IJodit` interface.
|
|
1227
|
+
These are just aliases for the same methods and properties of the `Select` module.
|
|
1179
1228
|
|
|
1180
1229
|
```js
|
|
1181
1230
|
const editor = Jodit.make('#editor');
|
|
1182
1231
|
editor.focus();
|
|
1183
1232
|
```
|
|
1184
1233
|
|
|
1185
|
-
-
|
|
1186
|
-
|
|
1234
|
+
- The `IJodit.fetch` method has been added to the `IJodit` interface,
|
|
1235
|
+
which is similar in signature to the `fetch` method in the browser
|
|
1187
1236
|
|
|
1188
1237
|
```js
|
|
1189
1238
|
const editor = Jodit.make('#editor');
|
|
@@ -1192,29 +1241,29 @@ const data = await editor.fetch('https://somesite.com?type=json');
|
|
|
1192
1241
|
|
|
1193
1242
|
#### :bug: Bug Fix
|
|
1194
1243
|
|
|
1195
|
-
-
|
|
1196
|
-
-
|
|
1197
|
-
|
|
1244
|
+
- Fixed error when using `superscript` and `subscript` commands. If the cursor was inside sub or sup tags, then nothing happened.
|
|
1245
|
+
- Fixed a bug in the placeholder plugin when indent styles were set for the edit area,
|
|
1246
|
+
they were not taken into account in the positioning of the placeholder. As a result, it was shifted relative to the focus.
|
|
1198
1247
|
|
|
1199
1248
|
## 3.22.1
|
|
1200
1249
|
|
|
1201
1250
|
#### :boom: Breaking Change
|
|
1202
1251
|
|
|
1203
|
-
-
|
|
1204
|
-
-
|
|
1205
|
-
-
|
|
1206
|
-
-
|
|
1207
|
-
-
|
|
1208
|
-
-
|
|
1209
|
-
-
|
|
1210
|
-
-
|
|
1211
|
-
-
|
|
1212
|
-
-
|
|
1213
|
-
-
|
|
1252
|
+
- `ISnapshot.isBlocked` - is readonly now
|
|
1253
|
+
- `IHistory.snapshot` - is readonly now
|
|
1254
|
+
- `IHistory.processChanges` and `IHistory.upTick` were removed.
|
|
1255
|
+
- Instead of `IHistory.snapshot.isBlocked=true...IHistory.snapshot.isBlocked=false` should be used `IHistory.snapshot.transaction(() => {...})`
|
|
1256
|
+
- `IJodit.registerCommand<C extends string>` - is generic now
|
|
1257
|
+
- `IJodit.getNativeEditorValue` - marked as internal, please do not use it in your code
|
|
1258
|
+
- To class `.jodit-container` was added `background-color: var(--color-background-light-gray);`
|
|
1259
|
+
- To class `.jodit-workplace` was added `background-color: var(--color-background-default);`
|
|
1260
|
+
- Selection markers now are marked as temporary with `Dom.markTemporary`
|
|
1261
|
+
- Search plugin move selection to the next found element after replacing. See bug fix section
|
|
1262
|
+
- WrapNodes plugin added `emptyBlockAfterInit=true` option. After the editor is initialized, if it is empty, an empty block will be added to it.
|
|
1214
1263
|
|
|
1215
1264
|
#### :bug: Bug Fix
|
|
1216
1265
|
|
|
1217
|
-
-
|
|
1266
|
+
- [Select text formatting before writing #894](https://github.com/xdan/jodit/issues/894)
|
|
1218
1267
|
|
|
1219
1268
|
#### :house: Internal
|
|
1220
1269
|
|
|
@@ -1234,13 +1283,13 @@ yargs ^17.6.0 → ^17.6.1
|
|
|
1234
1283
|
|
|
1235
1284
|
## 3.21.5
|
|
1236
1285
|
|
|
1237
|
-
-
|
|
1286
|
+
- [Unnecessary message showing after reaching the limit](https://xdsoft.net/jodit/pro/cab/issues/380e8a02-00c5-4aa0-8923-5b957d503eb1)
|
|
1238
1287
|
|
|
1239
1288
|
## 3.21.4
|
|
1240
1289
|
|
|
1241
1290
|
#### :bug: Bug Fix
|
|
1242
1291
|
|
|
1243
|
-
-
|
|
1292
|
+
- [Font Style Change when removing Bold or Italics](https://xdsoft.net/jodit/pro/cab/issues/6ef20dc4-fabe-43c3-a299-86797d328bdf)
|
|
1244
1293
|
|
|
1245
1294
|
#### :house: Internal
|
|
1246
1295
|
|
|
@@ -1257,9 +1306,9 @@ stylelint-config-standard ^28.0.0 → ^29.0.0
|
|
|
1257
1306
|
|
|
1258
1307
|
#### :boom: Breaking Change
|
|
1259
1308
|
|
|
1260
|
-
-
|
|
1261
|
-
|
|
1262
|
-
-
|
|
1309
|
+
- Filebrowser adds a timestamp to the image preview url, now it will be the same as the server returned the `changed` field in the response.
|
|
1310
|
+
This is necessary for better caching in the browser.
|
|
1311
|
+
- `cleanHTML.denyTags` default equal `script` Those. script tags are disabled by default. If you need them then turn off this rule:
|
|
1263
1312
|
|
|
1264
1313
|
```js
|
|
1265
1314
|
Jodit.make('#editor', {
|
|
@@ -1269,10 +1318,10 @@ Jodit.make('#editor', {
|
|
|
1269
1318
|
});
|
|
1270
1319
|
```
|
|
1271
1320
|
|
|
1272
|
-
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1321
|
+
- The order of the hotkeys plugin keys has been changed to a more popular one.
|
|
1322
|
+
It used to be: `b+meta`, `b+ctrl`
|
|
1323
|
+
Now: `meta+b`, `ctrl+b`
|
|
1324
|
+
This is expressed in the installation of handlers for keyboard shortcuts:
|
|
1276
1325
|
|
|
1277
1326
|
```js
|
|
1278
1327
|
Jodit.make('#editor', { disablePlugins: ['bold'] }).e.on('meta+b', () => {
|
|
@@ -1283,8 +1332,8 @@ Jodit.make('#editor', { disablePlugins: ['bold'] }).e.on('meta+b', () => {
|
|
|
1283
1332
|
|
|
1284
1333
|
#### :house: Internal
|
|
1285
1334
|
|
|
1286
|
-
-
|
|
1287
|
-
-
|
|
1335
|
+
- Remove `assert` calls from production build.
|
|
1336
|
+
- Update deps
|
|
1288
1337
|
|
|
1289
1338
|
```
|
|
1290
1339
|
core-js ^3.24.1 → ^3.25.5
|
|
@@ -1318,69 +1367,69 @@ yargs ^17.5.1 → ^17.6.0
|
|
|
1318
1367
|
|
|
1319
1368
|
#### :house: Internal
|
|
1320
1369
|
|
|
1321
|
-
-
|
|
1322
|
-
-
|
|
1370
|
+
- Move `error-messages` functionality to `messages` module.
|
|
1371
|
+
- Improved appearance of popup messages in the [messages](https://xdsoft.net/jodit/docs/modules/modules_messages.html) module.
|
|
1323
1372
|
|
|
1324
1373
|
#### :bug: Bug Fix
|
|
1325
1374
|
|
|
1326
|
-
-
|
|
1327
|
-
|
|
1328
|
-
-
|
|
1329
|
-
|
|
1375
|
+
- Fixed a bug in the limit plugin. When the limit was reached, he checked the limits strictly,
|
|
1376
|
+
when entering from the keyboard. Therefore, every time I change the input focus.
|
|
1377
|
+
- Events are added to the same plugin when limits are reached.
|
|
1378
|
+
More details can be found in the documentation [limit](https://xdsoft.net/jodit/docs/modules/plugins_limit.html)
|
|
1330
1379
|
|
|
1331
1380
|
## 3.20.3
|
|
1332
1381
|
|
|
1333
1382
|
#### :house: Internal
|
|
1334
1383
|
|
|
1335
|
-
-
|
|
1336
|
-
-
|
|
1337
|
-
-
|
|
1338
|
-
-
|
|
1384
|
+
- En lang is loaded as is
|
|
1385
|
+
- Fix types generation:
|
|
1386
|
+
- Remove styles
|
|
1387
|
+
- Replace aliases
|
|
1339
1388
|
|
|
1340
1389
|
#### :bug: Bug Fix
|
|
1341
1390
|
|
|
1342
|
-
-
|
|
1391
|
+
- [After reaching the maximum character limit unable to copy the content from the editor](https://xdsoft.net/jodit/pro/cab/issues/e72690fa-6dea-4586-82fb-30b0e8d53d4a)
|
|
1343
1392
|
|
|
1344
1393
|
## 3.20.2
|
|
1345
1394
|
|
|
1346
1395
|
#### :house: Internal
|
|
1347
1396
|
|
|
1348
|
-
-
|
|
1397
|
+
- Tooltip plugin functionality moved to `ui/button/tooltip` so that it can be used not only with the editor
|
|
1349
1398
|
|
|
1350
1399
|
#### :bug: Bug Fix
|
|
1351
1400
|
|
|
1352
|
-
-
|
|
1401
|
+
- Fixed bug in add-new-line in iframe-mode
|
|
1353
1402
|
|
|
1354
1403
|
## 3.20.1
|
|
1355
1404
|
|
|
1356
1405
|
#### :rocket: New Feature
|
|
1357
1406
|
|
|
1358
|
-
-
|
|
1359
|
-
-
|
|
1360
|
-
-
|
|
1361
|
-
-
|
|
1362
|
-
-
|
|
1407
|
+
- Removed Panel and IPanel
|
|
1408
|
+
- Made IDlgs and Dlgs traits
|
|
1409
|
+
- Added @derive decorator
|
|
1410
|
+
- Mods/Elms/Dlgs traits now uses with @derive
|
|
1411
|
+
- Added `dtd` plugin. [Read more](https://xdsoft.net/jodit/docs/modules/plugins_dtd.html)
|
|
1363
1412
|
|
|
1364
1413
|
#### :house: Internal
|
|
1365
1414
|
|
|
1366
|
-
-
|
|
1415
|
+
- Added documentation for [Image properties - Input fields are not clickable ( react + material ui ) #879](https://github.com/xdan/jodit/issues/879)
|
|
1367
1416
|
|
|
1368
1417
|
#### :bug: Bug Fix
|
|
1369
1418
|
|
|
1370
|
-
-
|
|
1371
|
-
-
|
|
1372
|
-
-
|
|
1373
|
-
|
|
1419
|
+
- [After adding hyperlink and hit enter the hyperlink added to first letter of the next word.](https://xdsoft.net/jodit/pro/cab/issues/a6ccc696-313f-4195-bed6-59ef28af2643)
|
|
1420
|
+
- [After reaching the maximum character limit unable to copy the content from the editor.(eg:- if limit is 50000 then we are able to copy only 49999)](https://xdsoft.net/jodit/pro/cab/issues/e72690fa-6dea-4586-82fb-30b0e8d53d4a)
|
|
1421
|
+
- [When typing Japanese characters in Jodit editor, extra characters are being added to the beginning of the first word.](https://xdsoft.net/jodit/pro/cab/issues/4c468c09-837d-40c6-b487-3746aecc470a)
|
|
1422
|
+
Same [Composing japanese text is decided unintentionally. #870](https://github.com/xdan/jodit/issues/870)
|
|
1374
1423
|
|
|
1375
1424
|
## 3.19.5
|
|
1376
1425
|
|
|
1377
1426
|
#### :rocket: New Feature
|
|
1378
1427
|
|
|
1379
|
-
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
-
|
|
1383
|
-
|
|
1428
|
+
- Added `cleanHTML.disableCleanFilter:Set<string>` options. Node filtering rules that do not need to be applied to content
|
|
1429
|
+
The full list of rules is generated dynamically from the folder
|
|
1430
|
+
https://github.com/xdan/jodit/tree/main/src/plugins/clean-html/helpers/visitor/filters
|
|
1431
|
+
- Added `allowCommandsInReadOnly:string[]` options. Allow execute commands in readonly mode.
|
|
1432
|
+
[activeButtonsInReadOnly: ['source', 'preview'] is not working. #878](https://github.com/xdan/jodit/issues/878)
|
|
1384
1433
|
```js
|
|
1385
1434
|
const editor = Jodit.make('#editor', {
|
|
1386
1435
|
readonly: true,
|
|
@@ -1394,19 +1443,19 @@ yargs ^17.5.1 → ^17.6.0
|
|
|
1394
1443
|
|
|
1395
1444
|
#### :bug: Bug Fix
|
|
1396
1445
|
|
|
1397
|
-
-
|
|
1398
|
-
-
|
|
1399
|
-
|
|
1400
|
-
-
|
|
1401
|
-
|
|
1402
|
-
-
|
|
1446
|
+
- [Pasting html breaks full screen mode #864](https://github.com/xdan/jodit/issues/864)
|
|
1447
|
+
- [Using BR tag as enter element results reset of cursor while typing in newlines. #860](https://github.com/xdan/jodit/issues/860)
|
|
1448
|
+
Fixed bugs with invisible aand empty nodes.
|
|
1449
|
+
- [Adding paragraph when copying and pasting with little text #851](https://github.com/xdan/jodit/issues/851)
|
|
1450
|
+
Options `select.normalizeSelectionBeforeCutAndCopy` now default is false
|
|
1451
|
+
- [Jodit-selection-marker span appears after clicking Undo button. #880](https://github.com/xdan/jodit/issues/880)
|
|
1403
1452
|
|
|
1404
1453
|
## 3.19.4
|
|
1405
1454
|
|
|
1406
1455
|
#### :rocket: New Feature
|
|
1407
1456
|
|
|
1408
|
-
-
|
|
1409
|
-
|
|
1457
|
+
- Added [[IUploader.getDisplayName]] option. Allow change file name before display it inside editor.
|
|
1458
|
+
[Can we customize uploaded file's name? #869](https://github.com/xdan/jodit/issues/869)
|
|
1410
1459
|
|
|
1411
1460
|
```javascript
|
|
1412
1461
|
Jodit.make('#editor', {
|
|
@@ -1417,36 +1466,36 @@ Jodit.make('#editor', {
|
|
|
1417
1466
|
});
|
|
1418
1467
|
```
|
|
1419
1468
|
|
|
1420
|
-
-
|
|
1421
|
-
|
|
1469
|
+
- Added `cleanHTML.useIframeSandbox`:`boolean` option(default: false). Use iframe[sandbox] to paste HTML code into the editor to check it for safety.
|
|
1470
|
+
Allows you not to run scripts and handlers, but it works much slower
|
|
1422
1471
|
|
|
1423
1472
|
#### :bug: Bug Fix
|
|
1424
1473
|
|
|
1425
|
-
-
|
|
1426
|
-
-
|
|
1427
|
-
-
|
|
1428
|
-
-
|
|
1474
|
+
- [applyLink event is only fired when link is inserted via menu button but not when it is pasted #874](https://github.com/xdan/jodit/issues/874)
|
|
1475
|
+
- [Dialogs don't work inside Shadow DOM #866](https://github.com/xdan/jodit/issues/866)
|
|
1476
|
+
- [Popups don't work inside Shadow DOM #865](https://github.com/xdan/jodit/issues/865)
|
|
1477
|
+
- [Pb with cleanHTML.safeJavaScriptLink option #862](https://github.com/xdan/jodit/issues/862)
|
|
1429
1478
|
|
|
1430
1479
|
## 3.19.3
|
|
1431
1480
|
|
|
1432
1481
|
#### :bug: Bug Fix
|
|
1433
1482
|
|
|
1434
|
-
-
|
|
1483
|
+
- Quick fix bug with webpack output.clean=true.
|
|
1435
1484
|
|
|
1436
1485
|
## 3.19.2
|
|
1437
1486
|
|
|
1438
1487
|
#### :bug: Bug Fix
|
|
1439
1488
|
|
|
1440
|
-
-
|
|
1489
|
+
- Big bugfix in es2021 version, sideEffect cut all styles and configs
|
|
1441
1490
|
|
|
1442
1491
|
## 3.19.1
|
|
1443
1492
|
|
|
1444
1493
|
#### :house: Internal
|
|
1445
1494
|
|
|
1446
|
-
-
|
|
1447
|
-
-
|
|
1448
|
-
|
|
1449
|
-
-
|
|
1495
|
+
- Plugin icons moved to their respective plugins
|
|
1496
|
+
- Used plugin `webpack.ids.DeterministicModuleIdsPlugin` for more reliable sharing of exported module names between builds.
|
|
1497
|
+
Now you can include plugins from 'es5' in the assembly for 'es2021.en'.
|
|
1498
|
+
- Deps
|
|
1450
1499
|
```
|
|
1451
1500
|
@types/node ^17.0.36 → ^17.0.41
|
|
1452
1501
|
@typescript-eslint/eslint-plugin ^5.27.0 → ^5.27.1
|
|
@@ -1465,26 +1514,26 @@ Jodit.make('#editor', {
|
|
|
1465
1514
|
|
|
1466
1515
|
#### :rocket: New Feature
|
|
1467
1516
|
|
|
1468
|
-
-
|
|
1517
|
+
- Allow custom resizing with Alt btn [How to resize image with the handle bars without fixed aspect ratio #839](https://github.com/xdan/jodit/issues/839)
|
|
1469
1518
|
|
|
1470
1519
|
#### :bug: Bug Fix
|
|
1471
1520
|
|
|
1472
|
-
-
|
|
1473
|
-
-
|
|
1521
|
+
- [Multiple modals 'Paste as HTML' after longer pressing ctrl+v #849](https://github.com/xdan/jodit/issues/849)
|
|
1522
|
+
- [All added videos are deleted when you click Delete or Backspace #847](https://github.com/xdan/jodit/issues/847)
|
|
1474
1523
|
|
|
1475
1524
|
## 3.18.6
|
|
1476
1525
|
|
|
1477
1526
|
#### :rocket: New Feature
|
|
1478
1527
|
|
|
1479
|
-
-
|
|
1480
|
-
|
|
1528
|
+
- Separate plugin for voice recognition and input of recognized text into the editor.
|
|
1529
|
+
[Feature Request: Add ability for user to dictate using local device microphone as input #828](https://github.com/xdan/jodit/issues/828)
|
|
1481
1530
|
> This plugin is not included in the main Jodit build. It must be connected separately [Подробнее](./src/plugins/speech-recognize/README.md)
|
|
1482
1531
|
|
|
1483
1532
|
## 3.18.5
|
|
1484
1533
|
|
|
1485
1534
|
#### :boom: Breaking Change
|
|
1486
1535
|
|
|
1487
|
-
-
|
|
1536
|
+
- Added default table style to `createAttributes` option:
|
|
1488
1537
|
|
|
1489
1538
|
```js
|
|
1490
1539
|
Jodit.defaultOptions.createAttributes = {
|
|
@@ -1496,17 +1545,17 @@ Jodit.defaultOptions.createAttributes = {
|
|
|
1496
1545
|
|
|
1497
1546
|
#### :bug: Bug Fix
|
|
1498
1547
|
|
|
1499
|
-
-
|
|
1500
|
-
-
|
|
1501
|
-
-
|
|
1502
|
-
-
|
|
1503
|
-
-
|
|
1548
|
+
- Fixed a bug where the download cancellation business exceptions were shown as errors in the file browser. Also fixed uncatchable exceptions inside Async.promise
|
|
1549
|
+
- [Fixed Eraser delete "<a>" tag! #705 #845](https://github.com/xdan/jodit/pull/845) Thanks @s-renier-taonix-fr
|
|
1550
|
+
- [Update Docker Env #844](https://github.com/xdan/jodit/pull/844) Thanks @s-renier-taonix-fr
|
|
1551
|
+
- Fixed table default styles [Jodit doesn't keep table borders #295](https://github.com/xdan/jodit/issues/295)
|
|
1552
|
+
- [All td elements got double border style. #842](https://github.com/xdan/jodit/issues/842)
|
|
1504
1553
|
|
|
1505
1554
|
## 3.18.4
|
|
1506
1555
|
|
|
1507
1556
|
#### :rocket: New Feature
|
|
1508
1557
|
|
|
1509
|
-
-
|
|
1558
|
+
- Added option `uploader.processFileName` - The method can be used to change the name of the uploaded file
|
|
1510
1559
|
|
|
1511
1560
|
```js
|
|
1512
1561
|
Jodit.make('#editor', {
|
|
@@ -1519,13 +1568,13 @@ Jodit.make('#editor', {
|
|
|
1519
1568
|
});
|
|
1520
1569
|
```
|
|
1521
1570
|
|
|
1522
|
-
-
|
|
1571
|
+
- Fixed file naming error when uploading to server
|
|
1523
1572
|
|
|
1524
1573
|
## 3.18.3
|
|
1525
1574
|
|
|
1526
1575
|
#### :bug: Bug Fix
|
|
1527
1576
|
|
|
1528
|
-
-
|
|
1577
|
+
- Fixed a bug where pressing `Esc` did not close the dialog
|
|
1529
1578
|
|
|
1530
1579
|
## 3.18.2
|
|
1531
1580
|
|
|
@@ -1573,25 +1622,25 @@ editor.e.on(['click', 'mousedown', 'mouseup'], () => {
|
|
|
1573
1622
|
|
|
1574
1623
|
#### :rocket: New Feature
|
|
1575
1624
|
|
|
1576
|
-
-
|
|
1577
|
-
-
|
|
1578
|
-
-
|
|
1625
|
+
- All components have their own instance of the Async module. What used to be `this.j.async` is now `this.async`.
|
|
1626
|
+
- New option `resizer.useAspectRatio` [How to resize image with the handle bars without fixed aspect ratio](https://github.com/xdan/jodit/issues/839)
|
|
1627
|
+
- Added event `applyLink` for issue [change default target for all links #841](https://github.com/xdan/jodit/issues/841)
|
|
1579
1628
|
|
|
1580
1629
|
#### :bug: Bug Fix
|
|
1581
1630
|
|
|
1582
|
-
-
|
|
1583
|
-
-
|
|
1584
|
-
-
|
|
1585
|
-
-
|
|
1586
|
-
-
|
|
1587
|
-
-
|
|
1588
|
-
-
|
|
1631
|
+
- Fixed non-removal of the event handler on destruct
|
|
1632
|
+
- Extra br are not removed
|
|
1633
|
+
- [Bold removing line break in table #838](https://github.com/xdan/jodit/issues/838)
|
|
1634
|
+
- [Cleans <br> that should be there #835](https://github.com/xdan/jodit/issues/835)
|
|
1635
|
+
- [Cursor goes out of edit box when moving to a new line #824](https://github.com/xdan/jodit/issues/824)
|
|
1636
|
+
- [Couldn't click next line button, when table is resized. #831](https://github.com/xdan/jodit/issues/831)
|
|
1637
|
+
- [Unable to add line height for Html pasted content. #830](https://github.com/xdan/jodit/issues/830)
|
|
1589
1638
|
|
|
1590
1639
|
#### :house: Internal
|
|
1591
1640
|
|
|
1592
|
-
-
|
|
1593
|
-
-
|
|
1594
|
-
-
|
|
1641
|
+
- Instead of a self-written truncated polyfill for `Array.from`, the core-js module is used
|
|
1642
|
+
- Moved the test files to the appropriate directories
|
|
1643
|
+
- Update deps
|
|
1595
1644
|
|
|
1596
1645
|
```
|
|
1597
1646
|
@types/node ^17.0.23 → ^17.0.31
|
|
@@ -1639,10 +1688,10 @@ If something broke in your assembly, please create an [issue on github](https://
|
|
|
1639
1688
|
|
|
1640
1689
|
#### :bug: Bug Fix
|
|
1641
1690
|
|
|
1642
|
-
-
|
|
1643
|
-
-
|
|
1644
|
-
-
|
|
1645
|
-
-
|
|
1691
|
+
- Fixed processing of inserting videos from YouTube. Now you can start playing the video.
|
|
1692
|
+
- [selection.insertHTML causes infinite blur loop when Jodit editor not active](https://github.com/xdan/jodit/issues/819) Added `insertCursorAfter` argument.
|
|
1693
|
+
- [Preview missing non styled content in a paragraph when there is any styled text in that paragraph #823](https://github.com/xdan/jodit/issues/823)
|
|
1694
|
+
- [Image hyperlink is not working without https:// #821](https://github.com/xdan/jodit/issues/821)
|
|
1646
1695
|
|
|
1647
1696
|
```js
|
|
1648
1697
|
const editor = Jodit.make('#editor');
|
|
@@ -1651,7 +1700,7 @@ editor.s.insertHTML('test', false);
|
|
|
1651
1700
|
|
|
1652
1701
|
#### :house: Internal
|
|
1653
1702
|
|
|
1654
|
-
-
|
|
1703
|
+
- Update
|
|
1655
1704
|
|
|
1656
1705
|
```
|
|
1657
1706
|
@typescript-eslint/eslint-plugin ^5.16.0 → ^5.19.0
|
|
@@ -1669,18 +1718,18 @@ yargs ^17.4.0 → ^17.4.1
|
|
|
1669
1718
|
|
|
1670
1719
|
#### :bug: Bug Fix
|
|
1671
1720
|
|
|
1672
|
-
-
|
|
1673
|
-
-
|
|
1721
|
+
- [Keyboard Trap in Source Code mode #817](https://github.com/xdan/jodit/issues/817) Author: @haruanm
|
|
1722
|
+
- ["Uncaught TypeError: Cannot redefine property: \_\_activeTab" occurs when I use 'brush' button twice in inline-popup for a element. #815](https://github.com/xdan/jodit/issues/815)
|
|
1674
1723
|
|
|
1675
1724
|
## 3.16.5
|
|
1676
1725
|
|
|
1677
1726
|
#### :rocket: New Feature
|
|
1678
1727
|
|
|
1679
|
-
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1728
|
+
- imageProcessor.replaceDataURIToBlobIdInView
|
|
1729
|
+
The `imageProcessor` plugin has added the functionality of replacing data-uri objects in the `src` of images with `blob-url`.
|
|
1730
|
+
This allows you to more conveniently work with an HTML document without loading the processor.
|
|
1731
|
+
Checks if the `imageProcessor.replaceDataURIToBlobIdInView` option is enabled then converts image src which has `data:base64`
|
|
1732
|
+
to [blob-object-uri](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL)
|
|
1684
1733
|
|
|
1685
1734
|
In this case, `Jodit.value` returns images with `data-uri`. And original `textarea` itself does the reverse replacement take place.
|
|
1686
1735
|
|
|
@@ -1698,11 +1747,11 @@ console.log(editor.getElementValue()); // '<p><img src="data:image/png;base64,iV
|
|
|
1698
1747
|
console.log(editor.getNativeEditorValue()); // <p><img src="blob:http://localhost:2000/03377cf0-6260-4351-82ad-8a8901ea104f"></p>
|
|
1699
1748
|
```
|
|
1700
1749
|
|
|
1701
|
-
-
|
|
1750
|
+
- Method `Jodit.setElementValue` marked us deprecated and will be removed in next major release.
|
|
1702
1751
|
|
|
1703
1752
|
#### :house: Internal
|
|
1704
1753
|
|
|
1705
|
-
-
|
|
1754
|
+
- Update
|
|
1706
1755
|
|
|
1707
1756
|
```
|
|
1708
1757
|
@types/node ^17.0.21 → ^17.0.23
|
|
@@ -1723,60 +1772,60 @@ yargs ^17.3.1 → ^17.4.0
|
|
|
1723
1772
|
|
|
1724
1773
|
#### :bug: Bug Fix
|
|
1725
1774
|
|
|
1726
|
-
-
|
|
1727
|
-
-
|
|
1728
|
-
-
|
|
1775
|
+
- [Sass compile error Css3 min() #809](https://github.com/xdan/jodit/issues/809)
|
|
1776
|
+
- [The preview popup has double scrollbars #808](https://github.com/xdan/jodit/issues/808)
|
|
1777
|
+
- Fixed bug with sync editor size with iframe mode (Works only with [ResizeObserver](https://caniuse.com/resizeobserver))
|
|
1729
1778
|
|
|
1730
1779
|
## 3.16.3
|
|
1731
1780
|
|
|
1732
|
-
-
|
|
1781
|
+
- Fixed composition `wait` and `debounce` decorators
|
|
1733
1782
|
|
|
1734
1783
|
## 3.16.2
|
|
1735
1784
|
|
|
1736
1785
|
#### :bug: Bug Fix
|
|
1737
1786
|
|
|
1738
|
-
-
|
|
1787
|
+
- ["Uncaught TypeError: this.setEditorValue is not a function" with Japanese input method #807](https://github.com/xdan/jodit/issues/807)
|
|
1739
1788
|
|
|
1740
1789
|
## 3.16.1
|
|
1741
1790
|
|
|
1742
1791
|
#### :rocket: New Feature
|
|
1743
1792
|
|
|
1744
|
-
-
|
|
1745
|
-
-
|
|
1746
|
-
-
|
|
1747
|
-
-
|
|
1748
|
-
-
|
|
1749
|
-
-
|
|
1750
|
-
-
|
|
1751
|
-
-
|
|
1752
|
-
-
|
|
1793
|
+
- Added `spellcheck` plugin.
|
|
1794
|
+
- Added `Config.pasteHTMLActionList` and `Config.pasteFromWordActionList` options https://github.com/xdan/jodit/issues/802.
|
|
1795
|
+
- Added `Jodit.synchronizeValues()` method. The method synchronizes the WYSIWYG values of the editor
|
|
1796
|
+
- and the original input field. The method works through `Async.throttle`.
|
|
1797
|
+
- Added a new class for working with DOM without blocking the main thread `LazyWalker`
|
|
1798
|
+
- Search engine replace on `LazyWalker`
|
|
1799
|
+
- CleanHTML plugin engine replace on `LazyWalker`
|
|
1800
|
+
- Search plugin now highlights all found options https://github.com/xdan/jodit/issues/798
|
|
1801
|
+
- Added `Jodit.constants` https://github.com/xdan/jodit/issues/806
|
|
1753
1802
|
|
|
1754
1803
|
#### :boom: Breaking Change
|
|
1755
1804
|
|
|
1756
|
-
-
|
|
1757
|
-
-
|
|
1758
|
-
-
|
|
1805
|
+
- Renamed `wrap-text-nodes` plugin to `wrap-nodes`
|
|
1806
|
+
- Option `spellcheck` = false by default. This is due to the fact that the built-in spell check slows down the editor very much on large tests.
|
|
1807
|
+
- Enabled `@typescript-eslint/explicit-function-return-type` in eslint
|
|
1759
1808
|
|
|
1760
1809
|
#### :bug: Bug Fix
|
|
1761
1810
|
|
|
1762
|
-
-
|
|
1763
|
-
-
|
|
1764
|
-
-
|
|
1811
|
+
- Fixed a bug in the `watch` decorator, when multiple watchers were set, it used only one context
|
|
1812
|
+
- [Default is not working for insert ordered list and insert unordered list #799](https://github.com/xdan/jodit/issues/799)
|
|
1813
|
+
- [In print preview, table border color and background color is not showing #803](https://github.com/xdan/jodit/issues/803)
|
|
1765
1814
|
|
|
1766
1815
|
#### :house: Internal
|
|
1767
1816
|
|
|
1768
|
-
-
|
|
1817
|
+
- `clean-html` plugin now works via `requestIdleCallback` and doesn't slow down the browser
|
|
1769
1818
|
|
|
1770
1819
|
## 3.15.3
|
|
1771
1820
|
|
|
1772
1821
|
#### :boom: Breaking Change
|
|
1773
1822
|
|
|
1774
|
-
-
|
|
1775
|
-
-
|
|
1776
|
-
-
|
|
1777
|
-
-
|
|
1778
|
-
-
|
|
1779
|
-
|
|
1823
|
+
- `Observer` module renamed to `History`, accessed via `Jodit.history`
|
|
1824
|
+
- `Jodit.observer` field deprecated and will be removed in future releases
|
|
1825
|
+
- Changed to `history` in `observer` settings. The `observer` field has been deprecated.
|
|
1826
|
+
- Removed `stack` field from `History` class (former `Observer`).
|
|
1827
|
+
- Separated default editor timeout and `history.timeout`. Now the second setting is just for history.
|
|
1828
|
+
Timeouts for all asynchronous operations in Jodit now apply the `defaultTimeout` setting
|
|
1780
1829
|
|
|
1781
1830
|
Before:
|
|
1782
1831
|
|
|
@@ -1805,109 +1854,109 @@ console.log(editor.defaultTimeout); // 122
|
|
|
1805
1854
|
editor.history.clear();
|
|
1806
1855
|
```
|
|
1807
1856
|
|
|
1808
|
-
-
|
|
1809
|
-
|
|
1857
|
+
- When adding information to the editor via `Jodit.value`, the history of changes will be process immediately,
|
|
1858
|
+
without a timeout. Read more https://github.com/xdan/jodit/issues/792
|
|
1810
1859
|
|
|
1811
1860
|
#### :bug: Bug Fix
|
|
1812
1861
|
|
|
1813
|
-
-
|
|
1862
|
+
- [Colors popup closes when I select the secondary tab (Text) #171](https://github.com/jodit/jodit-react/issues/171)
|
|
1814
1863
|
|
|
1815
1864
|
## 3.15.2
|
|
1816
1865
|
|
|
1817
|
-
-
|
|
1818
|
-
-
|
|
1819
|
-
-
|
|
1866
|
+
- Fixed a bug when it was impossible to select a normal font after selecting any other
|
|
1867
|
+
- [Dropdowns not hiding when clicking again on the arrow #791](https://github.com/xdan/jodit/issues/791)
|
|
1868
|
+
- [The problem that the selected text disappears #790](https://github.com/xdan/jodit/issues/790)
|
|
1820
1869
|
|
|
1821
1870
|
## 3.15.1
|
|
1822
1871
|
|
|
1823
1872
|
#### :rocket: New Feature
|
|
1824
1873
|
|
|
1825
|
-
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1874
|
+
- When copying elements, their hierarchy is taken into, for example, if you selected `<ul><li><span>|test|</span></li></ul>`,
|
|
1875
|
+
then when copying to the clipboard, the selection will be expanded to root element `UL`.
|
|
1876
|
+
For this, the [[Select.expandSelection]] method has been added to the [[Select]] class.
|
|
1877
|
+
[Ordered Bullets are getting changed to unordered bullets after copy and pasting within the editor #789](https://github.com/xdan/jodit/issues/789)
|
|
1829
1878
|
> Method called before copy/cut/selectall operations
|
|
1830
1879
|
|
|
1831
1880
|
#### :house: Internal
|
|
1832
1881
|
|
|
1833
|
-
-
|
|
1834
|
-
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1882
|
+
- The [[Dom.isNode]] method now uses Duck Typing instead of inctanceof, this seems to be enough
|
|
1883
|
+
- Update
|
|
1884
|
+
@types/node ^17.0.18 → ^17.0.21
|
|
1885
|
+
@typescript-eslint/eslint-plugin ^5.12.0 → ^5.13.0
|
|
1886
|
+
@typescript-eslint/parser ^5.12.0 → ^5.13.0
|
|
1887
|
+
cssnano-preset-advanced ^5.1.12 → ^5.2.1
|
|
1888
|
+
eslint ^8.9.0 → ^8.10.0
|
|
1889
|
+
eslint-config-prettier ^8.4.0 → ^8.5.0
|
|
1890
|
+
karma ^6.3.16 → ^6.3.17
|
|
1891
|
+
mini-css-extract-plugin ^2.5.3 → ^2.6.0
|
|
1892
|
+
postcss >=8.4.6 → >=8.4.7
|
|
1893
|
+
stylelint ^14.5.1 → ^14.5.3
|
|
1894
|
+
ts-loader ^9.2.6 → ^9.2.7
|
|
1895
|
+
typescript ^4.5.5 → ^4.6.2
|
|
1896
|
+
webpack ^5.69.1 → ^5.70.0
|
|
1848
1897
|
|
|
1849
1898
|
## 3.14.2
|
|
1850
1899
|
|
|
1851
1900
|
#### :rocket: New Feature
|
|
1852
1901
|
|
|
1853
|
-
-
|
|
1902
|
+
- Added an experimental module for working with VDom<->Dom, an attempt to switch to this technology in the editor
|
|
1854
1903
|
|
|
1855
1904
|
#### :house: Internal
|
|
1856
1905
|
|
|
1857
|
-
-
|
|
1858
|
-
-
|
|
1859
|
-
-
|
|
1860
|
-
-
|
|
1861
|
-
-
|
|
1862
|
-
-
|
|
1863
|
-
-
|
|
1864
|
-
-
|
|
1865
|
-
-
|
|
1866
|
-
-
|
|
1867
|
-
-
|
|
1868
|
-
-
|
|
1869
|
-
-
|
|
1870
|
-
-
|
|
1871
|
-
-
|
|
1906
|
+
- @types/node ^17.0.15 → ^17.0.18
|
|
1907
|
+
- @typescript-eslint/eslint-plugin ^5.10.2 → ^5.12.0
|
|
1908
|
+
- @typescript-eslint/parser ^5.10.2 → ^5.12.0
|
|
1909
|
+
- axios ^0.25.0 → ^0.26.0
|
|
1910
|
+
- cssnano-preset-advanced ^5.1.11 → ^5.1.12
|
|
1911
|
+
- eslint ^8.8.0 → ^8.9.0
|
|
1912
|
+
- eslint-config-prettier ^8.3.0 → ^8.4.0
|
|
1913
|
+
- express ^4.17.2 → ^4.17.3
|
|
1914
|
+
- karma ^6.3.15 → ^6.3.16
|
|
1915
|
+
- lint-staged ^12.3.3 → ^12.3.4
|
|
1916
|
+
- mocha ^9.2.0 → ^9.2.1
|
|
1917
|
+
- stylelint ^14.3.0 → ^14.5.1
|
|
1918
|
+
- stylelint-config-standard ^24.0.0 → ^25.0.0
|
|
1919
|
+
- webpack ^5.68.0 → ^5.69.1
|
|
1920
|
+
- core-js ^3.21.0 → ^3.21.1
|
|
1872
1921
|
|
|
1873
1922
|
## 3.14.1
|
|
1874
1923
|
|
|
1875
1924
|
#### :house: Internal
|
|
1876
1925
|
|
|
1877
|
-
-
|
|
1926
|
+
- [(change) improved a few german translations #783](https://github.com/xdan/jodit/pull/783)
|
|
1878
1927
|
|
|
1879
1928
|
#### :boom: Breaking Change
|
|
1880
1929
|
|
|
1881
|
-
-
|
|
1882
|
-
-
|
|
1930
|
+
- Changed the positions of some buttons on different resolutions for greater density
|
|
1931
|
+
- Disabled the ability to drag and drop elements on mobile devices as it affected page scrollability
|
|
1883
1932
|
|
|
1884
1933
|
#### :bug: Bug Fix
|
|
1885
1934
|
|
|
1886
|
-
-
|
|
1935
|
+
- [Cannot format table cells in PRO version #786](https://github.com/xdan/jodit/issues/786) -[Build error: Property or signature expected. #174](https://github.com/jodit/jodit-react/issues/174)
|
|
1887
1936
|
|
|
1888
1937
|
## 3.13.5
|
|
1889
1938
|
|
|
1890
1939
|
#### :bug: Bug Fix
|
|
1891
1940
|
|
|
1892
|
-
-
|
|
1941
|
+
- [Unable to drag and drop image between table cells #782](https://github.com/xdan/jodit/issues/782)
|
|
1893
1942
|
|
|
1894
1943
|
## 3.13.4
|
|
1895
1944
|
|
|
1896
1945
|
#### :rocket: New Feature
|
|
1897
1946
|
|
|
1898
|
-
-
|
|
1947
|
+
- Plugin for setting line spacing
|
|
1899
1948
|
|
|
1900
1949
|
#### :bug: Bug Fix
|
|
1901
1950
|
|
|
1902
|
-
-
|
|
1951
|
+
- [Previewing data not showing table content #780](https://github.com/xdan/jodit/issues/780)
|
|
1903
1952
|
|
|
1904
1953
|
## 3.13.2
|
|
1905
1954
|
|
|
1906
1955
|
#### :rocket: New Feature
|
|
1907
1956
|
|
|
1908
|
-
-
|
|
1909
|
-
|
|
1910
|
-
-
|
|
1957
|
+
- Added a plugin to handle pressing the Tab key, it added the functionality of processing a keystroke inside the UL/li
|
|
1958
|
+
element and allows you to add tree-like lists.
|
|
1959
|
+
- Added static `Jodit.isJoditAssigned` method: Checks if the element has already been initialized when for Jodit
|
|
1911
1960
|
|
|
1912
1961
|
```js
|
|
1913
1962
|
const area = document.getElementById('editor');
|
|
@@ -1920,15 +1969,15 @@ console.log(Jodit.isJoditAssigned(area)); // false
|
|
|
1920
1969
|
|
|
1921
1970
|
#### :bug: Bug Fix
|
|
1922
1971
|
|
|
1923
|
-
-
|
|
1924
|
-
-
|
|
1972
|
+
- Fixed a bug when switching between source and wysiwyg mode, the FORM tag was wrapped in P
|
|
1973
|
+
- [Not maintaining styles set when switching format blocks #773](https://github.com/xdan/jodit/issues/773)
|
|
1925
1974
|
|
|
1926
1975
|
## 3.13.1
|
|
1927
1976
|
|
|
1928
1977
|
#### :boom: Breaking Change
|
|
1929
1978
|
|
|
1930
|
-
-
|
|
1931
|
-
-
|
|
1979
|
+
- `ObserveObject` removed
|
|
1980
|
+
- Added `observable` function which makes object observable. In this case, the function returns the same object.
|
|
1932
1981
|
|
|
1933
1982
|
```js
|
|
1934
1983
|
const obj = {
|
|
@@ -1964,13 +2013,13 @@ obj.b.c = 8;
|
|
|
1964
2013
|
|
|
1965
2014
|
#### :bug: Bug Fix
|
|
1966
2015
|
|
|
1967
|
-
-
|
|
2016
|
+
- Fixed autotest in Chrome on Windows
|
|
1968
2017
|
|
|
1969
2018
|
## 3.12.5
|
|
1970
2019
|
|
|
1971
2020
|
#### :rocket: New Feature
|
|
1972
2021
|
|
|
1973
|
-
-
|
|
2022
|
+
- Added options `safeMode:boolean` and `safePluginsList:string[]` for debugging
|
|
1974
2023
|
|
|
1975
2024
|
```js
|
|
1976
2025
|
Jodit.make('#editor', {
|
|
@@ -1983,17 +2032,17 @@ Only one plugin will be activated. Convenient for debugging and your plugins, yo
|
|
|
1983
2032
|
|
|
1984
2033
|
#### :bug: Bug Fix
|
|
1985
2034
|
|
|
1986
|
-
-
|
|
2035
|
+
- Fixed a bug due to which Jodit did not work in ie11, + added a polyfill for the iterator
|
|
1987
2036
|
|
|
1988
2037
|
## 3.12.3
|
|
1989
2038
|
|
|
1990
|
-
-
|
|
2039
|
+
- [Fixed Full Screen showing elements not part of editable content #763](Issue: https://github.com/xdan/jodit/issues/763)
|
|
1991
2040
|
|
|
1992
2041
|
#### :rocket: New Feature
|
|
1993
2042
|
|
|
1994
|
-
-
|
|
1995
|
-
-
|
|
1996
|
-
|
|
2043
|
+
- Added `monospace` button in format list https://github.com/xdan/jodit/issues/767
|
|
2044
|
+
- In plugin `paste` added `memorizeChoiceWhenPasteFragment` option: when the user inserts a piece of HTML, the plugin will ask - How to insert it.
|
|
2045
|
+
If after that user insert the same fragment again, the previous option will be used without extra question.
|
|
1997
2046
|
|
|
1998
2047
|
> memorizeChoiceWhenPasteFragment = false, by default, it is Breaking change
|
|
1999
2048
|
|
|
@@ -2001,7 +2050,7 @@ Only one plugin will be activated. Convenient for debugging and your plugins, yo
|
|
|
2001
2050
|
|
|
2002
2051
|
#### :boom: Breaking Change
|
|
2003
2052
|
|
|
2004
|
-
-
|
|
2053
|
+
- `ObserveObject` renamed to `ObservableObject`
|
|
2005
2054
|
|
|
2006
2055
|
```js
|
|
2007
2056
|
const obj = { a: 1, b: 2 };
|
|
@@ -2011,40 +2060,40 @@ observed.on('change', (oldV, newV) => console.log(oldV, newV));
|
|
|
2011
2060
|
observed.a = 5;
|
|
2012
2061
|
```
|
|
2013
2062
|
|
|
2014
|
-
-
|
|
2063
|
+
- [Replace additional newlines by HTML line breaks. #770](https://github.com/xdan/jodit/pull/770)
|
|
2015
2064
|
|
|
2016
2065
|
#### :bug: Bug Fix
|
|
2017
2066
|
|
|
2018
|
-
-
|
|
2067
|
+
- [New lines are removed when pasting plain text in the jodit editor #755](https://github.com/xdan/jodit/issues/755)
|
|
2019
2068
|
|
|
2020
2069
|
#### :rocket: New Feature
|
|
2021
2070
|
|
|
2022
|
-
-
|
|
2071
|
+
- In addition to the preinstalled editors, the source plugin adds the ability to use its own implementation. You can read more in the [documentation](https://xdsoft.net/jodit/docs/modules/plugins_source.html)
|
|
2023
2072
|
|
|
2024
2073
|
## 3.11.2
|
|
2025
2074
|
|
|
2026
2075
|
#### :bug: Bug Fix
|
|
2027
2076
|
|
|
2028
|
-
-
|
|
2077
|
+
- Fixed a bug when resizing images whose size was specified in the style attribute - the size did not change
|
|
2029
2078
|
|
|
2030
2079
|
## 3.11.1
|
|
2031
2080
|
|
|
2032
2081
|
#### :boom: Breaking Change
|
|
2033
2082
|
|
|
2034
|
-
-
|
|
2083
|
+
- Plugin `Delete` renamed to` Backspace`. And it is highly refractory.
|
|
2035
2084
|
|
|
2036
2085
|
#### :rocket: New Feature
|
|
2037
2086
|
|
|
2038
|
-
-
|
|
2039
|
-
-
|
|
2087
|
+
- Open localhost in browser on `npm start`
|
|
2088
|
+
- Added `Async.prototype.delay` method
|
|
2040
2089
|
|
|
2041
2090
|
```js
|
|
2042
2091
|
await editor.async.delay(1000);
|
|
2043
2092
|
alert('Alert after 1s');
|
|
2044
2093
|
```
|
|
2045
2094
|
|
|
2046
|
-
-
|
|
2047
|
-
-
|
|
2095
|
+
- Added `Ajax.options.responseType` option `XMLHttpRequestResponseType`
|
|
2096
|
+
- Added `Response.prototype.blob()` method
|
|
2048
2097
|
|
|
2049
2098
|
```js
|
|
2050
2099
|
const ajax = new Jodit.modules.Ajax({ responseType: 'blob' });
|
|
@@ -2053,16 +2102,16 @@ await ajax.send().then(resp => resp.blob());
|
|
|
2053
2102
|
|
|
2054
2103
|
#### :bug: Bug Fix
|
|
2055
2104
|
|
|
2056
|
-
-
|
|
2057
|
-
-
|
|
2058
|
-
-
|
|
2105
|
+
- Added handling of `contenteditable = false` elements to the plugin` Backspace`.
|
|
2106
|
+
- [es2021 build don't works properly starting from jodit 3.9.4 #758](https://github.com/xdan/jodit/issues/758)
|
|
2107
|
+
- [shadow dom support only partly fixed #746](https://github.com/xdan/jodit/issues/746)
|
|
2059
2108
|
|
|
2060
2109
|
## 3.10.2
|
|
2061
2110
|
|
|
2062
2111
|
#### :boom: Breaking Change
|
|
2063
2112
|
|
|
2064
|
-
-
|
|
2065
|
-
|
|
2113
|
+
- The hotkeys have been castled in the Delete plugin:
|
|
2114
|
+
Was:
|
|
2066
2115
|
|
|
2067
2116
|
```js
|
|
2068
2117
|
const hotkeys = {
|
|
@@ -2089,17 +2138,17 @@ const hotkeys = {
|
|
|
2089
2138
|
|
|
2090
2139
|
#### :bug: Bug Fix
|
|
2091
2140
|
|
|
2092
|
-
-
|
|
2141
|
+
- fixed sync between WYSIWYG and source editor
|
|
2093
2142
|
|
|
2094
2143
|
## 3.10.1
|
|
2095
2144
|
|
|
2096
2145
|
#### :boom: Breaking Change
|
|
2097
2146
|
|
|
2098
|
-
-
|
|
2099
|
-
-
|
|
2100
|
-
|
|
2101
|
-
-
|
|
2102
|
-
-
|
|
2147
|
+
- Update `TypeScript@4.5.2`
|
|
2148
|
+
- In `IJodit.getEditorValue` added second argument for using with `afterGetValueFromEditor` event.
|
|
2149
|
+
You can see example in `source` plugin.
|
|
2150
|
+
- In UIButton `state.status` changed to `state.variant`
|
|
2151
|
+
- `beforeClose` event can prevent closing the dialog
|
|
2103
2152
|
|
|
2104
2153
|
```js
|
|
2105
2154
|
const dialog = new Jodit.modules.Dialog();
|
|
@@ -2109,16 +2158,16 @@ dialog.e.on('beforeClose', () => confirm('Are you sure?'));
|
|
|
2109
2158
|
|
|
2110
2159
|
#### :bug: Bug Fix
|
|
2111
2160
|
|
|
2112
|
-
-
|
|
2161
|
+
- fix: Proxy blur event to parent triggered on the ACE editor
|
|
2113
2162
|
|
|
2114
2163
|
## 3.9.5
|
|
2115
2164
|
|
|
2116
2165
|
#### :rocket: New Feature
|
|
2117
2166
|
|
|
2118
|
-
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2167
|
+
- [Feature request: Open the inline toolbar without having to highlight text. #600](https://github.com/xdan/jodit/issues/600)
|
|
2168
|
+
Allow open inline toolbar. This feature is implemented on the basis of the `inline-popup` plugin, a setting has been
|
|
2169
|
+
added to it: `popup.toolbar`, which lists the buttons that will be shown in such a toolbar. Added the `showInline`
|
|
2170
|
+
method to the `ToolbarEditorCollection` itself:
|
|
2122
2171
|
|
|
2123
2172
|
```js
|
|
2124
2173
|
const editor = Jodit.make('#editor', {
|
|
@@ -2142,15 +2191,15 @@ editor.toolbar.hide();
|
|
|
2142
2191
|
editor.toolbar.show();
|
|
2143
2192
|
```
|
|
2144
2193
|
|
|
2145
|
-
-
|
|
2194
|
+
- Allow use prototype as component name
|
|
2146
2195
|
|
|
2147
2196
|
```js
|
|
2148
2197
|
console.log(Jodit.modules.UIButton.getFullElName('element')); // jodit-ui-button__element
|
|
2149
2198
|
console.log(Jodit.modules.UIButton.componentName); // jodit-ui-button
|
|
2150
2199
|
```
|
|
2151
2200
|
|
|
2152
|
-
-
|
|
2153
|
-
|
|
2201
|
+
- [Remember last opened folder with FileBrowser #675](https://github.com/xdan/jodit/issues/675)
|
|
2202
|
+
Boolean option `filebrowser.saveStateInStorage` split to dictionary:
|
|
2154
2203
|
|
|
2155
2204
|
```typescript
|
|
2156
2205
|
interface IFileBrowserOptions {
|
|
@@ -2196,10 +2245,10 @@ Jodit.make('#editor', {
|
|
|
2196
2245
|
});
|
|
2197
2246
|
```
|
|
2198
2247
|
|
|
2199
|
-
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2248
|
+
- [Spacer in Button Toolbar](https://github.com/xdan/jodit/issues/713)
|
|
2249
|
+
In addition to the `|` metacharacters and `\n` which stand for separator and newline, the `---` metacharacter has
|
|
2250
|
+
appeared, which allows you to add a spacer element which pushes all buttons behind the spacer to the right side of the
|
|
2251
|
+
toolbar and creates space in the middle.
|
|
2203
2252
|
|
|
2204
2253
|
```js
|
|
2205
2254
|
Jodit.make('#editor', {
|
|
@@ -2221,31 +2270,31 @@ Jodit.make('#editor', {
|
|
|
2221
2270
|
|
|
2222
2271
|
#### :rocket: New Feature
|
|
2223
2272
|
|
|
2224
|
-
-
|
|
2225
|
-
-
|
|
2226
|
-
-
|
|
2273
|
+
- Changed style resize rectangle for resize image or table
|
|
2274
|
+
- Added link `POWERED BY JODIT` in statusbar
|
|
2275
|
+
- Changed icon for resize handle in the bottom right corner
|
|
2227
2276
|
|
|
2228
2277
|
#### :bug: Bug Fix
|
|
2229
2278
|
|
|
2230
|
-
-
|
|
2231
|
-
-
|
|
2232
|
-
-
|
|
2233
|
-
-
|
|
2234
|
-
-
|
|
2279
|
+
- Fixed popup color for dark theme
|
|
2280
|
+
- [Change html tags when list style on/off #738](https://github.com/xdan/jodit/issues/738)
|
|
2281
|
+
- [order list/unorder list in source view #732](https://github.com/xdan/jodit/issues/732)
|
|
2282
|
+
- [dots supplementary buttons shown incorrectly #692](https://github.com/xdan/jodit/issues/692)
|
|
2283
|
+
- [Jodit adds unexpected <span> tag when user lefts cursor inside <script> tag #687](https://github.com/xdan/jodit/issues/687)
|
|
2235
2284
|
|
|
2236
2285
|
## 3.9.3
|
|
2237
2286
|
|
|
2238
2287
|
#### :boom: Breaking Change
|
|
2239
2288
|
|
|
2240
|
-
-
|
|
2241
|
-
|
|
2289
|
+
- The style `table-layout: fixed` has been removed from tables. When inserting a table, the width of the columns is
|
|
2290
|
+
immediately set for it.
|
|
2242
2291
|
|
|
2243
2292
|
## 3.9.1
|
|
2244
2293
|
|
|
2245
2294
|
#### :boom: Breaking Change
|
|
2246
2295
|
|
|
2247
|
-
-
|
|
2248
|
-
-
|
|
2296
|
+
- Removed `Travis.CI` 👋👋👋
|
|
2297
|
+
- `EventsNative` module - renamed to `EventEmitter`
|
|
2249
2298
|
|
|
2250
2299
|
```js
|
|
2251
2300
|
const editor = Jodit.make('#editor');
|
|
@@ -2255,13 +2304,13 @@ console.log(editor.events instanceof Jodit.modules.EventEmitter); // true
|
|
|
2255
2304
|
console.log(editor.events instanceof Jodit.modules.EventsNative); // true, deprecated
|
|
2256
2305
|
```
|
|
2257
2306
|
|
|
2258
|
-
-
|
|
2307
|
+
- BOOM: Move Ajax class into `request` folder.
|
|
2259
2308
|
|
|
2260
2309
|
```js
|
|
2261
2310
|
import { Ajax } from 'jodit/core/request';
|
|
2262
2311
|
```
|
|
2263
2312
|
|
|
2264
|
-
-
|
|
2313
|
+
- Changed the signature of the send method in the Ajax API and is closer to the fetch () API
|
|
2265
2314
|
|
|
2266
2315
|
```js
|
|
2267
2316
|
const editor = Jodit.make('#editor');
|
|
@@ -2279,17 +2328,17 @@ await new Ajax(editor, {
|
|
|
2279
2328
|
.then(resp => resp.json()); // {success: true, data: ...}
|
|
2280
2329
|
```
|
|
2281
2330
|
|
|
2282
|
-
-
|
|
2283
|
-
-
|
|
2284
|
-
-
|
|
2285
|
-
-
|
|
2286
|
-
-
|
|
2287
|
-
-
|
|
2288
|
-
-
|
|
2289
|
-
-
|
|
2290
|
-
-
|
|
2291
|
-
-
|
|
2292
|
-
-
|
|
2331
|
+
- In `.npmignore` added:
|
|
2332
|
+
- build-system/
|
|
2333
|
+
- test.html
|
|
2334
|
+
- .eslintrc.js
|
|
2335
|
+
- .eslintignore
|
|
2336
|
+
- .editorconfig
|
|
2337
|
+
- .gitignore
|
|
2338
|
+
- .prettierrc.json
|
|
2339
|
+
- .stylelintrc
|
|
2340
|
+
- app.css
|
|
2341
|
+
- composer.json
|
|
2293
2342
|
|
|
2294
2343
|
#### :rocket: New Feature
|
|
2295
2344
|
|
|
@@ -2318,39 +2367,39 @@ while (!next2.done) {
|
|
|
2318
2367
|
|
|
2319
2368
|
#### :bug: Bug Fix
|
|
2320
2369
|
|
|
2321
|
-
-
|
|
2322
|
-
-
|
|
2323
|
-
-
|
|
2324
|
-
-
|
|
2325
|
-
-
|
|
2326
|
-
-
|
|
2327
|
-
-
|
|
2370
|
+
- [Indent doesn't work in table cell #729](https://github.com/xdan/jodit/issues/729)
|
|
2371
|
+
- [cleanHTML replaceOldTags doesn't seem to do anything #728](https://github.com/xdan/jodit/issues/728)
|
|
2372
|
+
- [Fixed Resize column table #712](https://github.com/xdan/jodit/issues/712)
|
|
2373
|
+
- [Font and font size settings are not applied to all text if part of it has been changed earlier #706](https://github.com/xdan/jodit/issues/706)
|
|
2374
|
+
- [Delete multi rows and colums #690](https://github.com/xdan/jodit/issues/690)
|
|
2375
|
+
- [When {"enter": "BR"} option is enabled, adding a heading to the text causes it to become wrapped by a "h\*" tag #547](https://github.com/xdan/jodit/issues/547)
|
|
2376
|
+
- [Issue with clear format on <p> tags #680](https://github.com/xdan/jodit/issues/680)
|
|
2328
2377
|
|
|
2329
2378
|
## 3.8.5
|
|
2330
2379
|
|
|
2331
2380
|
#### :house: Internal
|
|
2332
2381
|
|
|
2333
|
-
-
|
|
2334
|
-
|
|
2382
|
+
- The build system is divided into modules and is now located in the 'build-system' folder, the `src/utils` folder has
|
|
2383
|
+
been moved to it.
|
|
2335
2384
|
|
|
2336
2385
|
#### :bug: Bug Fix
|
|
2337
2386
|
|
|
2338
|
-
-
|
|
2339
|
-
-
|
|
2340
|
-
-
|
|
2341
|
-
-
|
|
2342
|
-
-
|
|
2343
|
-
-
|
|
2344
|
-
-
|
|
2387
|
+
- [When I merged some cells by dragging it to change its width. #737](https://github.com/xdan/jodit/issues/737)
|
|
2388
|
+
- [Color dropdown looks broken #736](https://github.com/xdan/jodit/issues/736)
|
|
2389
|
+
- [all popups and dialogs are outside shadow dom #731](https://github.com/xdan/jodit/issues/731)
|
|
2390
|
+
- [shadow dom browser support #730](https://github.com/xdan/jodit/issues/730)
|
|
2391
|
+
- [fix removal of attributes width and height when editing images](https://github.com/xdan/jodit/pull/733)
|
|
2392
|
+
- Fixed work in IE11
|
|
2393
|
+
- [toolbar menus are almost not visible on IE11 #458](https://github.com/xdan/jodit/issues/458)
|
|
2345
2394
|
|
|
2346
2395
|
## 3.8.4
|
|
2347
2396
|
|
|
2348
2397
|
#### :rocket: New Feature
|
|
2349
2398
|
|
|
2350
|
-
-
|
|
2351
|
-
-
|
|
2352
|
-
-
|
|
2353
|
-
-
|
|
2399
|
+
- В eventEmitter добавлены методы:
|
|
2400
|
+
- `mute(event?: string)` Doesn't start any handler;
|
|
2401
|
+
- `isMuted(event?: string)` No handlers are triggered for the event
|
|
2402
|
+
- `unmute(event?: string)` Returns event handling
|
|
2354
2403
|
|
|
2355
2404
|
```js
|
|
2356
2405
|
const editor = Jodit.make('#editor');
|
|
@@ -2370,8 +2419,8 @@ editor.value = '3'; // Console '3'
|
|
|
2370
2419
|
|
|
2371
2420
|
#### :boom: Breaking Change
|
|
2372
2421
|
|
|
2373
|
-
-
|
|
2374
|
-
-
|
|
2422
|
+
- beforeSetNativeEditorValue - get object {value: string} and can change value
|
|
2423
|
+
- Added `resizer.forImageChangeAttributes=true` option. Issue: https://github.com/xdan/jodit/issues/696
|
|
2375
2424
|
|
|
2376
2425
|
```js
|
|
2377
2426
|
// Disable
|
|
@@ -2384,21 +2433,21 @@ Jodit.make('#editor', {
|
|
|
2384
2433
|
|
|
2385
2434
|
#### :house: Internal
|
|
2386
2435
|
|
|
2387
|
-
-
|
|
2436
|
+
- The Source button has been moved to the depth of the toolbar as it is not cool for the WYSIWYG editor
|
|
2388
2437
|
|
|
2389
2438
|
#### :bug: Bug Fix
|
|
2390
2439
|
|
|
2391
|
-
-
|
|
2392
|
-
-
|
|
2393
|
-
-
|
|
2394
|
-
-
|
|
2395
|
-
-
|
|
2440
|
+
- [Trying to get in touch regarding a security issue #702](https://github.com/xdan/jodit/issues/702)
|
|
2441
|
+
- [Scrolling to top of editor bug in Safari. #715](https://github.com/xdan/jodit/issues/715)
|
|
2442
|
+
- [Refused to run the JavaScript URL because it violates the following Content Security Policy directive #716](https://github.com/xdan/jodit/issues/716)
|
|
2443
|
+
- [Popup doesn't follow the toolbar on scroll #703](https://github.com/xdan/jodit/issues/703)
|
|
2444
|
+
- Fixed the link dialog: the unlink button does not work in some cases, and the selection is not restored
|
|
2396
2445
|
|
|
2397
2446
|
## 3.8.1
|
|
2398
2447
|
|
|
2399
2448
|
#### :boom: Breaking Change
|
|
2400
2449
|
|
|
2401
|
-
-
|
|
2450
|
+
- Rename `Style` to `CommitStyle`
|
|
2402
2451
|
|
|
2403
2452
|
```js
|
|
2404
2453
|
const editor = Jodit.make('#editor');
|
|
@@ -2413,7 +2462,7 @@ editor.execCommand('selectall');
|
|
|
2413
2462
|
style.apply(editor);
|
|
2414
2463
|
```
|
|
2415
2464
|
|
|
2416
|
-
-
|
|
2465
|
+
- `Dom` refactoring: from `isNode`,`isElement`,`isHTMLElement` removed `Window` argument.
|
|
2417
2466
|
|
|
2418
2467
|
Before
|
|
2419
2468
|
|
|
@@ -2439,9 +2488,9 @@ Dom.isNode(editor.ed.body); // true
|
|
|
2439
2488
|
|
|
2440
2489
|
#### :rocket: New Feature
|
|
2441
2490
|
|
|
2442
|
-
-
|
|
2443
|
-
-
|
|
2444
|
-
|
|
2491
|
+
- Added `KeyArrowOutside`, allowing to go outside an inline element if there is no other element after that.
|
|
2492
|
+
- Dictionary of variable values in css, a complete list can be found
|
|
2493
|
+
here https://github.com/xdan/jodit/blob/main/src/styles/variables.less#L25
|
|
2445
2494
|
```js
|
|
2446
2495
|
const editor = Jodit.make('#editor', {
|
|
2447
2496
|
styleValues: {
|
|
@@ -2455,28 +2504,28 @@ Dom.isNode(editor.ed.body); // true
|
|
|
2455
2504
|
|
|
2456
2505
|
#### :bug: Bug Fix
|
|
2457
2506
|
|
|
2458
|
-
-
|
|
2459
|
-
-
|
|
2460
|
-
-
|
|
2461
|
-
-
|
|
2507
|
+
- [Toolbar buttons are not read by screen reader correctly #725](https://github.com/xdan/jodit/issues/725)
|
|
2508
|
+
- [Bug : table & background color #722](https://github.com/xdan/jodit/issues/722)
|
|
2509
|
+
- [Video links are not reliably converted to an IFrame. #714](https://github.com/xdan/jodit/issues/714)
|
|
2510
|
+
- [Eraser delete "<a>" tag! #705](https://github.com/xdan/jodit/issues/705)
|
|
2462
2511
|
|
|
2463
2512
|
## 3.7.1
|
|
2464
2513
|
|
|
2465
2514
|
#### :boom: Breaking Change
|
|
2466
2515
|
|
|
2467
|
-
-
|
|
2468
|
-
-
|
|
2469
|
-
-
|
|
2470
|
-
-
|
|
2516
|
+
- Update Typescript 4.3.2 - and used override keyword.
|
|
2517
|
+
- `noImplicitOverride` set true.
|
|
2518
|
+
- Enable `@typescript-eslint/explicit-module-boundary-types`
|
|
2519
|
+
- Remove `type` helper. Buy `jQuery` - it was your last part.
|
|
2471
2520
|
|
|
2472
2521
|
#### :bug: Bug Fix
|
|
2473
2522
|
|
|
2474
|
-
-
|
|
2475
|
-
-
|
|
2523
|
+
- [hovering over the text editor triggers hover over source button instantly #138](https://github.com/jodit/jodit-react/issues/138)
|
|
2524
|
+
- Allow insert in image dialog - relative path
|
|
2476
2525
|
|
|
2477
2526
|
#### :rocket: New Feature
|
|
2478
2527
|
|
|
2479
|
-
-
|
|
2528
|
+
- Added `idle` decorator - allow wrap class method in `requestIdleCallback`
|
|
2480
2529
|
|
|
2481
2530
|
```ts
|
|
2482
2531
|
@component
|
|
@@ -2508,15 +2557,15 @@ Some data
|
|
|
2508
2557
|
|
|
2509
2558
|
#### :bug: Bug Fix
|
|
2510
2559
|
|
|
2511
|
-
-
|
|
2512
|
-
-
|
|
2513
|
-
-
|
|
2560
|
+
- Fixed table cells selection
|
|
2561
|
+
- [isUrl add rtmp schema #677](https://github.com/xdan/jodit/issues/677)
|
|
2562
|
+
- [The editor is very slow when working with tables in IE #673](https://github.com/xdan/jodit/issues/673)
|
|
2514
2563
|
|
|
2515
2564
|
## 3.6.17
|
|
2516
2565
|
|
|
2517
2566
|
#### :rocket: New Feature
|
|
2518
2567
|
|
|
2519
|
-
-
|
|
2568
|
+
- Added `IJodit.waitForReady(): Promise<IJodit>` method.
|
|
2520
2569
|
|
|
2521
2570
|
```js
|
|
2522
2571
|
const jodit = Jodit.make('#editor', {
|
|
@@ -2534,44 +2583,44 @@ jodit.e.fire('someAsyncLoadedPluginEvent', test => {
|
|
|
2534
2583
|
|
|
2535
2584
|
#### :bug: Bug Fix
|
|
2536
2585
|
|
|
2537
|
-
-
|
|
2586
|
+
- Fixed selection restoring after blur and set source mode.
|
|
2538
2587
|
|
|
2539
2588
|
## 3.6.15
|
|
2540
2589
|
|
|
2541
2590
|
#### :bug: Bug Fix
|
|
2542
2591
|
|
|
2543
|
-
-
|
|
2592
|
+
- Fixed bug with fixed width and auto height resizing
|
|
2544
2593
|
|
|
2545
2594
|
## 3.6.13
|
|
2546
2595
|
|
|
2547
2596
|
#### :bug: Bug Fix
|
|
2548
2597
|
|
|
2549
|
-
-
|
|
2598
|
+
- Hot fix `focus` plugin + `Select`.`save` deny set focus in another place.
|
|
2550
2599
|
|
|
2551
2600
|
#### :rocket: New Feature
|
|
2552
2601
|
|
|
2553
|
-
-
|
|
2602
|
+
- Added `Select`.`hasMarkers` method.
|
|
2554
2603
|
|
|
2555
2604
|
## 3.6.12
|
|
2556
2605
|
|
|
2557
2606
|
#### :rocket: New Feature
|
|
2558
2607
|
|
|
2559
|
-
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2608
|
+
- Added `cursorAfterAutofocus=end` option inside `autofocus` plugin. Allow change default autofocus position. Possible
|
|
2609
|
+
values `start`, `end`.
|
|
2610
|
+
[autofocus plugin should focus on the end of the text #649](https://github.com/xdan/jodit/issues/649)
|
|
2562
2611
|
|
|
2563
|
-
-
|
|
2564
|
-
|
|
2612
|
+
- Added `saveSelectionOnBlur=true` option inside `autofocus` plugin. Allow restore position after editor has focus after
|
|
2613
|
+
blur.
|
|
2565
2614
|
|
|
2566
2615
|
#### :house: Internal
|
|
2567
2616
|
|
|
2568
|
-
-
|
|
2617
|
+
- Renamed `autofocus` > `focus` plugin.
|
|
2569
2618
|
|
|
2570
2619
|
#### :boom: Breaking Change
|
|
2571
2620
|
|
|
2572
|
-
-
|
|
2573
|
-
-
|
|
2574
|
-
|
|
2621
|
+
- The `Dom`.`wrap` method changed signature - instead IJodit call with ICreate.
|
|
2622
|
+
- The `Select`.`restore` method is called with no arguments. It finds the range using the data attribute selector. In
|
|
2623
|
+
the `Select`.`save` method added `silent=false` argument.
|
|
2575
2624
|
|
|
2576
2625
|
Earlier
|
|
2577
2626
|
|
|
@@ -2594,20 +2643,20 @@ editor.s.restore();
|
|
|
2594
2643
|
|
|
2595
2644
|
#### :bug: Bug Fix
|
|
2596
2645
|
|
|
2597
|
-
-
|
|
2598
|
-
-
|
|
2599
|
-
-
|
|
2600
|
-
-
|
|
2601
|
-
-
|
|
2602
|
-
-
|
|
2603
|
-
-
|
|
2646
|
+
- ['allowResizeX' option does not work without 'height' option #668](https://github.com/xdan/jodit/issues/668)
|
|
2647
|
+
- [Pasting link with a colon (:) crashes the browser/makes it unresponsive #667](https://github.com/xdan/jodit/issues/667)
|
|
2648
|
+
- [Inserting images/videos scrolls user to top of text area #644](https://github.com/xdan/jodit/issues/644)
|
|
2649
|
+
- [Change event is fired twice after inserting a link #636](https://github.com/xdan/jodit/issues/636)
|
|
2650
|
+
- [iPhone is out of text selection #632](https://github.com/xdan/jodit/issues/632)
|
|
2651
|
+
- [Pasting an MS Excel cell inserts the cell as image #474](https://github.com/xdan/jodit/issues/474)
|
|
2652
|
+
- Fixed a bug when FONT was inserted into the change history
|
|
2604
2653
|
|
|
2605
2654
|
## 3.6.10
|
|
2606
2655
|
|
|
2607
2656
|
#### :rocket: New Feature
|
|
2608
2657
|
|
|
2609
|
-
-
|
|
2610
|
-
-
|
|
2658
|
+
- [Video alignment request #646](https://github.com/xdan/jodit/issues/646)
|
|
2659
|
+
- Set `component` property for source textarea with Jodit instance.
|
|
2611
2660
|
|
|
2612
2661
|
```html
|
|
2613
2662
|
<textarea id="editor" cols="30" rows="10"></textarea>
|
|
@@ -2620,24 +2669,24 @@ editor.s.restore();
|
|
|
2620
2669
|
|
|
2621
2670
|
#### :bug: Bug Fix
|
|
2622
2671
|
|
|
2623
|
-
-
|
|
2624
|
-
-
|
|
2625
|
-
-
|
|
2626
|
-
-
|
|
2627
|
-
-
|
|
2628
|
-
-
|
|
2629
|
-
-
|
|
2672
|
+
- Hide popup after deleting target node with key press.
|
|
2673
|
+
- [image-editor : onChangeSizeInput #663](https://github.com/xdan/jodit/issues/663)
|
|
2674
|
+
- [image-editor : switcher #662](https://github.com/xdan/jodit/issues/662) Replace buttons to switcher
|
|
2675
|
+
- [Error from ESlint, please fix it #658](https://github.com/xdan/jodit/issues/658)
|
|
2676
|
+
- [Support Mobile platform’s slide to type feature. #654](https://github.com/xdan/jodit/issues/654)
|
|
2677
|
+
- [The Jodit eraser tool doesn't work for <p> tags #652](https://github.com/xdan/jodit/issues/652)
|
|
2678
|
+
- [Links at the end of editor after unlink #648](https://github.com/xdan/jodit/issues/648)
|
|
2630
2679
|
|
|
2631
2680
|
## 3.6.7
|
|
2632
2681
|
|
|
2633
2682
|
#### :bug: Bug Fix
|
|
2634
2683
|
|
|
2635
|
-
-
|
|
2684
|
+
- When deleting a file via the context menu - the list of files was not updated.
|
|
2636
2685
|
|
|
2637
2686
|
#### :rocket: New Feature
|
|
2638
2687
|
|
|
2639
|
-
-
|
|
2640
|
-
|
|
2688
|
+
- Added the ability to open a file browser and any dialog in a new window. To do this, you need to define
|
|
2689
|
+
the `ownerWindow` field. For example, this can be done so that the file browser opens in a separate popup window.
|
|
2641
2690
|
|
|
2642
2691
|
```js
|
|
2643
2692
|
const editor = Jodit.make('#editor', {
|
|
@@ -2691,8 +2740,8 @@ editor.e.on('getInstanceFileBrowser', options => {
|
|
|
2691
2740
|
|
|
2692
2741
|
#### :boom: Breaking Change
|
|
2693
2742
|
|
|
2694
|
-
-
|
|
2695
|
-
|
|
2743
|
+
- Removed options: `useIframeResizer`, `useImgResizer`, `useTableResizer` from `resizer` plugin. Instead,
|
|
2744
|
+
added `allowResizeTags`.
|
|
2696
2745
|
|
|
2697
2746
|
```js
|
|
2698
2747
|
Config.prototype.allowResizeTags = ['img', 'iframe', 'table', 'jodit'];
|
|
@@ -2702,25 +2751,25 @@ Config.prototype.allowResizeTags = ['img', 'iframe', 'table', 'jodit'];
|
|
|
2702
2751
|
|
|
2703
2752
|
#### :bug: Bug Fix
|
|
2704
2753
|
|
|
2705
|
-
-
|
|
2706
|
-
-
|
|
2707
|
-
-
|
|
2708
|
-
-
|
|
2754
|
+
- [Error when resizing tables and tables cells](https://github.com/xdan/jodit/issues/611)
|
|
2755
|
+
- [Image and video resizing in the table does not work correctly](https://github.com/xdan/jodit/issues/528)
|
|
2756
|
+
- [The link popup closes when trying to add it to an image inside a table. #524](https://github.com/xdan/jodit/issues/524)
|
|
2757
|
+
- Fixed a bug when command `emptyTable` didn't work.
|
|
2709
2758
|
|
|
2710
2759
|
## 3.6.1
|
|
2711
2760
|
|
|
2712
2761
|
#### :bug: Bug Fix
|
|
2713
2762
|
|
|
2714
|
-
-
|
|
2715
|
-
-
|
|
2716
|
-
-
|
|
2717
|
-
-
|
|
2718
|
-
-
|
|
2719
|
-
-
|
|
2763
|
+
- [<style> tag wrapping problem #620](https://github.com/xdan/jodit/issues/620)
|
|
2764
|
+
- [Disable Link Checking #618](https://github.com/xdan/jodit/issues/618)
|
|
2765
|
+
- [Changing text style undoes text alignment #614](https://github.com/xdan/jodit/issues/614)
|
|
2766
|
+
- [<section> tag is always wraped <p></p> once when toggle the wysiwyg/source mode #612](https://github.com/xdan/jodit/issues/612)
|
|
2767
|
+
- [Error when resizing tables and tables cells. #611](https://github.com/xdan/jodit/issues/611)
|
|
2768
|
+
- [Backspace and Delete have an errant character #597](https://github.com/xdan/jodit/issues/597)
|
|
2720
2769
|
|
|
2721
2770
|
#### :rocket: New Feature
|
|
2722
2771
|
|
|
2723
|
-
-
|
|
2772
|
+
- Added `classSpan` plugin. Applying some className to selected text. Thanks https://github.com/s-renier-taonix-fr
|
|
2724
2773
|
|
|
2725
2774
|
```js
|
|
2726
2775
|
const editor = new Jodit('#editor', {
|
|
@@ -2738,8 +2787,8 @@ const editor = new Jodit('#editor', {
|
|
|
2738
2787
|
});
|
|
2739
2788
|
```
|
|
2740
2789
|
|
|
2741
|
-
-
|
|
2742
|
-
-
|
|
2790
|
+
- Added `UIFileInput` element.
|
|
2791
|
+
- Added `UIButtonGroup` element.
|
|
2743
2792
|
|
|
2744
2793
|
```ts
|
|
2745
2794
|
const group = new UIButtonGroup(jodit, {
|
|
@@ -2759,12 +2808,12 @@ const group = new UIButtonGroup(jodit, {
|
|
|
2759
2808
|
|
|
2760
2809
|
#### :house: Internal
|
|
2761
2810
|
|
|
2762
|
-
-
|
|
2763
|
-
-
|
|
2764
|
-
-
|
|
2765
|
-
-
|
|
2766
|
-
-
|
|
2767
|
-
-
|
|
2811
|
+
- Enabled `"importsNotUsedAsValues": "error"` in `tsconfig`
|
|
2812
|
+
- Refactoring `Filebrowser` module
|
|
2813
|
+
- Refactoring `Dialog` module
|
|
2814
|
+
- Added "stylelint-config-idiomatic-order" in style linter
|
|
2815
|
+
- Added "en" bundle without another languages.
|
|
2816
|
+
- Replaced `Config` system. You can change default setting in you extensions.
|
|
2768
2817
|
|
|
2769
2818
|
```js
|
|
2770
2819
|
// before
|
|
@@ -2780,12 +2829,12 @@ Jodit.defaultOptions.allowResizeY = false;
|
|
|
2780
2829
|
a.options.allowResizeY; // false
|
|
2781
2830
|
```
|
|
2782
2831
|
|
|
2783
|
-
-
|
|
2784
|
-
-
|
|
2785
|
-
-
|
|
2786
|
-
-
|
|
2787
|
-
-
|
|
2788
|
-
-
|
|
2832
|
+
- Added `promisify` mode in `debounce` and `throttle` decorators.
|
|
2833
|
+
- Removed `src/core/ui/form/validators/key-validator.ts`.
|
|
2834
|
+
- Added `Async`.`requestIdlePromise` method.
|
|
2835
|
+
- Removed `Helpers`.`extend` method.
|
|
2836
|
+
- Added `Helpers`.`loadImage` method.
|
|
2837
|
+
- Changed `render` method in state/ui system.
|
|
2789
2838
|
|
|
2790
2839
|
```js
|
|
2791
2840
|
// Before
|
|
@@ -2839,28 +2888,28 @@ and styles
|
|
|
2839
2888
|
|
|
2840
2889
|
#### :bug: Bug Fix
|
|
2841
2890
|
|
|
2842
|
-
-
|
|
2891
|
+
- [From Jodit 3.5.1 on, popup z-index is lower than the modal (Ant Design) z-index #587](https://github.com/xdan/jodit/issues/587)
|
|
2843
2892
|
|
|
2844
2893
|
## 3.5.3
|
|
2845
2894
|
|
|
2846
2895
|
#### :bug: Bug Fix
|
|
2847
2896
|
|
|
2848
|
-
-
|
|
2897
|
+
- Fixed es2021 version https://github.com/xdan/jodit/issues/585
|
|
2849
2898
|
|
|
2850
2899
|
## 3.5.2
|
|
2851
2900
|
|
|
2852
2901
|
#### :house: Internal
|
|
2853
2902
|
|
|
2854
|
-
-
|
|
2855
|
-
-
|
|
2903
|
+
- Added `async.requestIdleCallback` method https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback.
|
|
2904
|
+
- Focused inputs have box shadow.
|
|
2856
2905
|
|
|
2857
2906
|
#### :bug: Bug Fix
|
|
2858
2907
|
|
|
2859
|
-
-
|
|
2860
|
-
-
|
|
2861
|
-
-
|
|
2862
|
-
-
|
|
2863
|
-
-
|
|
2908
|
+
- [The link and image popup closes automatically on the inline preset. #582](https://github.com/xdan/jodit/issues/582)
|
|
2909
|
+
- [Preset:inline / Link Popup Closes #515](https://github.com/xdan/jodit/issues/515)
|
|
2910
|
+
- [Missing autobind-decorator types on the latest release #583](https://github.com/xdan/jodit/issues/583)
|
|
2911
|
+
- [link does not carry when dragging/dropping #581](https://github.com/xdan/jodit/issues/581)
|
|
2912
|
+
- [When editor is disabled/readonly (both), list controls are still available by using the arrow bug #572](https://github.com/xdan/jodit/issues/572)
|
|
2864
2913
|
|
|
2865
2914
|
#### :rocket: New Feature
|
|
2866
2915
|
|
|
@@ -2872,8 +2921,8 @@ Execute new command `openLinkDialog`. Related: https://github.com/xdan/jodit/iss
|
|
|
2872
2921
|
|
|
2873
2922
|
#### :house: Internal
|
|
2874
2923
|
|
|
2875
|
-
-
|
|
2876
|
-
-
|
|
2924
|
+
- Removed `useAceEditor` option. [https://github.com/xdan/jodit/issues/544](https://github.com/xdan/jodit/issues/544)
|
|
2925
|
+
- Added `component` and `persistent` decorators
|
|
2877
2926
|
|
|
2878
2927
|
```typescript
|
|
2879
2928
|
import { component, persistent } from './src/core/decorators';
|
|
@@ -2897,21 +2946,21 @@ const item2 = new Item(jodit); // or reload page
|
|
|
2897
2946
|
console.log(item.options); // {some: false}
|
|
2898
2947
|
```
|
|
2899
2948
|
|
|
2900
|
-
-
|
|
2949
|
+
- In `UIInput` added `autocomplete`, `clearButton`, `icon` options.
|
|
2901
2950
|
|
|
2902
2951
|
#### :bug: Bug Fix
|
|
2903
2952
|
|
|
2904
|
-
-
|
|
2905
|
-
-
|
|
2906
|
-
-
|
|
2907
|
-
|
|
2908
|
-
-
|
|
2909
|
-
-
|
|
2910
|
-
-
|
|
2911
|
-
-
|
|
2912
|
-
-
|
|
2913
|
-
-
|
|
2914
|
-
|
|
2953
|
+
- [Clear formatting control does not clear all styles (keeps underline and strikethrough) #575](https://github.com/xdan/jodit/issues/575)
|
|
2954
|
+
- [Reset in size change not rescaling image #568](https://github.com/xdan/jodit/issues/568)
|
|
2955
|
+
- [Backspace in beginning of a _
|
|
2956
|
+
styled_ line does not affect the line positioning #567](https://github.com/xdan/jodit/issues/567)
|
|
2957
|
+
- [Table cell elements are always left-aligned #550](https://github.com/xdan/jodit/issues/550)
|
|
2958
|
+
- [editor.destruct throws error #543](https://github.com/xdan/jodit/issues/543)
|
|
2959
|
+
- [How I can get Iframe without parent element <jodit>...</jodit> #540](https://github.com/xdan/jodit/issues/540)
|
|
2960
|
+
- [Layout bug and drag&drop image loading #536](https://github.com/xdan/jodit/issues/536)
|
|
2961
|
+
- [Popups are not showing at all on Legacy Edge #531](https://github.com/xdan/jodit/issues/531)
|
|
2962
|
+
- Fixed a bug when the search bar was shown in the scrolling editor, the editor was scrolled up. And the search box was
|
|
2963
|
+
not in sticky mode.
|
|
2915
2964
|
|
|
2916
2965
|
#### :rocket: New Feature
|
|
2917
2966
|
|
|
@@ -2936,13 +2985,13 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
|
|
|
2936
2985
|
|
|
2937
2986
|
##### New options in `link.plugin`
|
|
2938
2987
|
|
|
2939
|
-
-
|
|
2940
|
-
|
|
2941
|
-
-
|
|
2942
|
-
-
|
|
2943
|
-
-
|
|
2944
|
-
|
|
2945
|
-
-
|
|
2988
|
+
- @property {"input"|"select"|""} link.modeClassName="input" Use an input text to ask the classname or a select or not
|
|
2989
|
+
ask
|
|
2990
|
+
- @property {boolean} link.selectMultipleClassName=true Allow multiple choises (to use with modeClassName="select")
|
|
2991
|
+
- @property {number} link.selectSizeClassName=3 The size of the select (to use with modeClassName="select")
|
|
2992
|
+
- @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
|
|
2993
|
+
modeClassName="select")
|
|
2994
|
+
- ex: [
|
|
2946
2995
|
- { value: "", text: "" },
|
|
2947
2996
|
- { value: "val1", text: "text1" },
|
|
2948
2997
|
- { value: "val2", text: "text2" },
|
|
@@ -3034,8 +3083,8 @@ editor.events
|
|
|
3034
3083
|
|
|
3035
3084
|
#### :bug: Bug Fix
|
|
3036
3085
|
|
|
3037
|
-
-
|
|
3038
|
-
-
|
|
3086
|
+
- [#526 Editor disable in ifram with split_mode](https://github.com/xdan/jodit/issues/526)
|
|
3087
|
+
- [#519 Insert link scrolls user to top of text area](https://github.com/xdan/jodit/issues/519)
|
|
3039
3088
|
|
|
3040
3089
|
#### :rocket: New Feature
|
|
3041
3090
|
|
|
@@ -3082,36 +3131,36 @@ const editor = Jodit.make({
|
|
|
3082
3131
|
|
|
3083
3132
|
## 3.4.27
|
|
3084
3133
|
|
|
3085
|
-
-
|
|
3086
|
-
|
|
3134
|
+
- https://github.com/xdan/jodit/issues/514
|
|
3135
|
+
Run command insertUnorderedList & insertOrderedList should replace all headings (h1, h2, etc.) to ul>li
|
|
3087
3136
|
|
|
3088
3137
|
## 3.4.26
|
|
3089
3138
|
|
|
3090
3139
|
#### :bug: Bug Fix
|
|
3091
3140
|
|
|
3092
|
-
-
|
|
3093
|
-
-
|
|
3094
|
-
-
|
|
3095
|
-
-
|
|
3096
|
-
-
|
|
3097
|
-
-
|
|
3098
|
-
-
|
|
3099
|
-
-
|
|
3141
|
+
- https://github.com/xdan/jodit/issues/506
|
|
3142
|
+
- https://github.com/xdan/jodit/issues/505
|
|
3143
|
+
- https://github.com/xdan/jodit/issues/503
|
|
3144
|
+
- https://github.com/xdan/jodit/issues/501
|
|
3145
|
+
- https://github.com/xdan/jodit/issues/500
|
|
3146
|
+
- https://github.com/xdan/jodit/issues/496
|
|
3147
|
+
- https://github.com/xdan/jodit/issues/495
|
|
3148
|
+
- https://github.com/xdan/jodit/issues/490
|
|
3100
3149
|
|
|
3101
3150
|
#### :rocket: New Feature
|
|
3102
3151
|
|
|
3103
|
-
-
|
|
3152
|
+
- https://github.com/xdan/jodit/issues/513 allow set percentage and another points inside width and height inputs
|
|
3104
3153
|
|
|
3105
3154
|
## 3.4.25
|
|
3106
3155
|
|
|
3107
|
-
-
|
|
3108
|
-
-
|
|
3109
|
-
-
|
|
3156
|
+
- https://github.com/xdan/jodit/issues/422
|
|
3157
|
+
- https://github.com/xdan/jodit/issues/375
|
|
3158
|
+
- https://github.com/xdan/jodit/issues/343
|
|
3110
3159
|
|
|
3111
3160
|
### Features
|
|
3112
3161
|
|
|
3113
|
-
-
|
|
3114
|
-
|
|
3162
|
+
- https://github.com/xdan/jodit/issues/489
|
|
3163
|
+
In textIcons - besides `boolean`, you can put `function(key: string): boolean`;
|
|
3115
3164
|
|
|
3116
3165
|
```js
|
|
3117
3166
|
const editor = Jodit.make('#editor', {
|
|
@@ -3123,19 +3172,19 @@ const editor = Jodit.make('#editor', {
|
|
|
3123
3172
|
|
|
3124
3173
|
### Bug fixes
|
|
3125
3174
|
|
|
3126
|
-
-
|
|
3127
|
-
-
|
|
3128
|
-
-
|
|
3129
|
-
-
|
|
3130
|
-
-
|
|
3131
|
-
-
|
|
3132
|
-
-
|
|
3133
|
-
-
|
|
3175
|
+
- https://github.com/xdan/jodit/issues/487
|
|
3176
|
+
- https://github.com/xdan/jodit/issues/486
|
|
3177
|
+
- https://github.com/xdan/jodit/issues/485
|
|
3178
|
+
- https://github.com/xdan/jodit/issues/483
|
|
3179
|
+
- https://github.com/xdan/jodit/issues/478
|
|
3180
|
+
- https://github.com/xdan/jodit/issues/476
|
|
3181
|
+
- https://github.com/xdan/jodit/issues/475
|
|
3182
|
+
- https://github.com/xdan/jodit/issues/473
|
|
3134
3183
|
|
|
3135
3184
|
## 3.4.22
|
|
3136
3185
|
|
|
3137
|
-
-
|
|
3138
|
-
-
|
|
3186
|
+
- https://github.com/xdan/jodit/issues/467
|
|
3187
|
+
- https://github.com/xdan/jodit/issues/466
|
|
3139
3188
|
|
|
3140
3189
|
### Features
|
|
3141
3190
|
|
|
@@ -3150,30 +3199,30 @@ const jodit = Jodit.make('#editor', {
|
|
|
3150
3199
|
|
|
3151
3200
|
## 3.4.18
|
|
3152
3201
|
|
|
3153
|
-
-
|
|
3154
|
-
-
|
|
3155
|
-
-
|
|
3156
|
-
-
|
|
3202
|
+
- https://github.com/xdan/jodit/issues/463
|
|
3203
|
+
- https://github.com/xdan/jodit/issues/446
|
|
3204
|
+
- https://github.com/xdan/jodit/issues/342
|
|
3205
|
+
- https://github.com/xdan/jodit/issues/340
|
|
3157
3206
|
|
|
3158
3207
|
## 3.4.16
|
|
3159
3208
|
|
|
3160
3209
|
### Bug fixes
|
|
3161
3210
|
|
|
3162
|
-
-
|
|
3163
|
-
-
|
|
3164
|
-
-
|
|
3165
|
-
-
|
|
3166
|
-
-
|
|
3167
|
-
-
|
|
3168
|
-
-
|
|
3169
|
-
-
|
|
3170
|
-
-
|
|
3211
|
+
- Fixed https://github.com/xdan/jodit/issues/456
|
|
3212
|
+
- Fixed https://github.com/xdan/jodit/issues/454
|
|
3213
|
+
- Fixed https://github.com/xdan/jodit/issues/453
|
|
3214
|
+
- Fixed https://github.com/xdan/jodit/issues/451
|
|
3215
|
+
- Fixed https://github.com/xdan/jodit/issues/444
|
|
3216
|
+
- Fixed https://github.com/xdan/jodit/issues/428
|
|
3217
|
+
- Fixed https://github.com/xdan/jodit/issues/427
|
|
3218
|
+
- Fixed https://github.com/xdan/jodit/issues/426
|
|
3219
|
+
- Fixed https://github.com/xdan/jodit/issues/222
|
|
3171
3220
|
|
|
3172
3221
|
### Features
|
|
3173
3222
|
|
|
3174
|
-
-
|
|
3175
|
-
-
|
|
3176
|
-
|
|
3223
|
+
- Added Find and Preview buttons
|
|
3224
|
+
- https://github.com/xdan/jodit/issues/417
|
|
3225
|
+
Added `defaultFontSizePoints` options. Possible values `pt` or `px`. By default: `px`
|
|
3177
3226
|
|
|
3178
3227
|
```js
|
|
3179
3228
|
const editor = new Jodit('#editor', {
|
|
@@ -3181,8 +3230,8 @@ const editor = new Jodit('#editor', {
|
|
|
3181
3230
|
});
|
|
3182
3231
|
```
|
|
3183
3232
|
|
|
3184
|
-
-
|
|
3185
|
-
|
|
3233
|
+
- https://github.com/xdan/jodit/issues/449
|
|
3234
|
+
Added `showCharsCounter` options.
|
|
3186
3235
|
|
|
3187
3236
|
```js
|
|
3188
3237
|
const editor = new Jodit('#editor', {
|
|
@@ -3199,23 +3248,23 @@ expect(statusbar.textContent.match(/Chars: 36/)).is.not.null;
|
|
|
3199
3248
|
|
|
3200
3249
|
## 3.4.15
|
|
3201
3250
|
|
|
3202
|
-
-
|
|
3203
|
-
-
|
|
3204
|
-
-
|
|
3205
|
-
-
|
|
3251
|
+
- Fixed https://github.com/xdan/jodit/issues/441
|
|
3252
|
+
- Fixed https://github.com/xdan/jodit/issues/437
|
|
3253
|
+
- Fixed https://github.com/xdan/jodit/issues/435
|
|
3254
|
+
- Fixed https://github.com/xdan/jodit/issues/431
|
|
3206
3255
|
|
|
3207
3256
|
## 3.4.13
|
|
3208
3257
|
|
|
3209
3258
|
### Bug fixes
|
|
3210
3259
|
|
|
3211
|
-
-
|
|
3260
|
+
- https://github.com/xdan/jodit/issues/379
|
|
3212
3261
|
|
|
3213
3262
|
## 3.4.12
|
|
3214
3263
|
|
|
3215
3264
|
### Bug fixes
|
|
3216
3265
|
|
|
3217
|
-
-
|
|
3218
|
-
|
|
3266
|
+
- https://github.com/xdan/jodit/issues/424
|
|
3267
|
+
Fixed `allowTabNavigation` By default: `false`.
|
|
3219
3268
|
|
|
3220
3269
|
```js
|
|
3221
3270
|
const jodit = new Jodit('#editor', {
|
|
@@ -3223,11 +3272,11 @@ const jodit = new Jodit('#editor', {
|
|
|
3223
3272
|
});
|
|
3224
3273
|
```
|
|
3225
3274
|
|
|
3226
|
-
-
|
|
3227
|
-
-
|
|
3228
|
-
-
|
|
3229
|
-
-
|
|
3230
|
-
-
|
|
3275
|
+
- https://github.com/xdan/jodit/issues/421
|
|
3276
|
+
- https://github.com/xdan/jodit/issues/420
|
|
3277
|
+
- https://github.com/xdan/jodit/issues/419
|
|
3278
|
+
- https://github.com/xdan/jodit/issues/418#issuecomment-651145548
|
|
3279
|
+
- https://github.com/xdan/jodit/issues/415
|
|
3231
3280
|
|
|
3232
3281
|
## 3.4.2
|
|
3233
3282
|
|
|
@@ -3239,27 +3288,27 @@ https://github.com/xdan/jodit/issues/359
|
|
|
3239
3288
|
|
|
3240
3289
|
### Bug fixes
|
|
3241
3290
|
|
|
3242
|
-
-
|
|
3243
|
-
-
|
|
3244
|
-
-
|
|
3245
|
-
-
|
|
3246
|
-
-
|
|
3247
|
-
-
|
|
3248
|
-
-
|
|
3249
|
-
-
|
|
3250
|
-
-
|
|
3251
|
-
-
|
|
3252
|
-
-
|
|
3253
|
-
-
|
|
3254
|
-
-
|
|
3255
|
-
-
|
|
3256
|
-
-
|
|
3291
|
+
- https://github.com/xdan/jodit/issues/408
|
|
3292
|
+
- https://github.com/xdan/jodit/issues/405
|
|
3293
|
+
- https://github.com/xdan/jodit/issues/404 See more in Features
|
|
3294
|
+
- https://github.com/xdan/jodit/issues/400
|
|
3295
|
+
- https://github.com/xdan/jodit/issues/398
|
|
3296
|
+
- https://github.com/xdan/jodit/issues/396
|
|
3297
|
+
- https://github.com/xdan/jodit/issues/393
|
|
3298
|
+
- https://github.com/xdan/jodit/issues/392
|
|
3299
|
+
- https://github.com/xdan/jodit/issues/391
|
|
3300
|
+
- https://github.com/xdan/jodit/issues/385
|
|
3301
|
+
- https://github.com/xdan/jodit/issues/378
|
|
3302
|
+
- https://github.com/xdan/jodit/issues/369
|
|
3303
|
+
- https://github.com/xdan/jodit/issues/360
|
|
3304
|
+
- https://github.com/xdan/jodit/issues/352
|
|
3305
|
+
- Fixed unde-redo subsystem for source mode
|
|
3257
3306
|
|
|
3258
3307
|
### Features
|
|
3259
3308
|
|
|
3260
|
-
-
|
|
3261
|
-
-
|
|
3262
|
-
|
|
3309
|
+
- All `less` variables were replaced to css custom properties for modern browsers.
|
|
3310
|
+
- Added `WrapNodes` plugin - it wrap all alone text node(or inline elements) inside `options.enter` element. You can
|
|
3311
|
+
disable this behaviour:
|
|
3263
3312
|
|
|
3264
3313
|
```js
|
|
3265
3314
|
const editor = Jodit.make('#editor', {
|
|
@@ -3267,7 +3316,7 @@ const editor = Jodit.make('#editor', {
|
|
|
3267
3316
|
});
|
|
3268
3317
|
```
|
|
3269
3318
|
|
|
3270
|
-
-
|
|
3319
|
+
- Added `shadowRoot` option for ShadowDom support.
|
|
3271
3320
|
> ACE source editor does not support Shadow Dom
|
|
3272
3321
|
|
|
3273
3322
|
```html
|
|
@@ -3292,7 +3341,7 @@ const editor = Jodit.make(root.getElementById('edit'), {
|
|
|
3292
3341
|
editor.value = '<p>start</p>';
|
|
3293
3342
|
```
|
|
3294
3343
|
|
|
3295
|
-
-
|
|
3344
|
+
- From `NativeEvent.on` method was removed `selector` argument. It was `jQuery.live` style. Example:
|
|
3296
3345
|
|
|
3297
3346
|
```html
|
|
3298
3347
|
<div class="test">
|
|
@@ -3322,14 +3371,14 @@ editor.events.on(document.querySelector('div'), 'click', function (e) {
|
|
|
3322
3371
|
});
|
|
3323
3372
|
```
|
|
3324
3373
|
|
|
3325
|
-
-
|
|
3374
|
+
- `Select.applyCSS` was renamed to `Select.applyStyle`
|
|
3326
3375
|
|
|
3327
3376
|
```js
|
|
3328
3377
|
const editor = Jodit.make('#editor');
|
|
3329
3378
|
editor.s.applyStyle({ color: 'red' }); // will add to all selection text - red color
|
|
3330
3379
|
```
|
|
3331
3380
|
|
|
3332
|
-
-
|
|
3381
|
+
- `FileBrowser`, `Dialog` etc. modules which extend `View` has only one argument in the constructor - options. Before:
|
|
3333
3382
|
|
|
3334
3383
|
```js
|
|
3335
3384
|
const editor = Jodit.make('#editor');
|
|
@@ -3367,7 +3416,7 @@ editor.e.on('beforeDestruct', () => {
|
|
|
3367
3416
|
});
|
|
3368
3417
|
```
|
|
3369
3418
|
|
|
3370
|
-
-
|
|
3419
|
+
- Split `table` plugin on `select-cells` and `resize-cells` plugins. `useTableProcessor` was removed. Instead, use
|
|
3371
3420
|
|
|
3372
3421
|
```js
|
|
3373
3422
|
Jodit.make('#editor', {
|
|
@@ -3381,10 +3430,10 @@ Jodit.make('#editor', {
|
|
|
3381
3430
|
});
|
|
3382
3431
|
```
|
|
3383
3432
|
|
|
3384
|
-
-
|
|
3385
|
-
-
|
|
3386
|
-
-
|
|
3387
|
-
|
|
3433
|
+
- All `less` files were moved near with TS. Class naming was changed closer to BEM.
|
|
3434
|
+
- Removed `PopupList` and `Popup`. Instead, use only `PopupMenu`.
|
|
3435
|
+
- Added `ui.button` and `ui.list` for working with buttons. `toolbar.button` extends `ui.button`. UIButton - is
|
|
3436
|
+
reactive:
|
|
3388
3437
|
|
|
3389
3438
|
```js
|
|
3390
3439
|
const button = new UIButton();
|
|
@@ -3402,43 +3451,43 @@ button
|
|
|
3402
3451
|
.appendTo(document.body); // will append it inside the body
|
|
3403
3452
|
```
|
|
3404
3453
|
|
|
3405
|
-
-
|
|
3406
|
-
-
|
|
3407
|
-
-
|
|
3408
|
-
-
|
|
3409
|
-
-
|
|
3410
|
-
-
|
|
3411
|
-
-
|
|
3412
|
-
-
|
|
3413
|
-
-
|
|
3414
|
-
-
|
|
3415
|
-
-
|
|
3416
|
-
-
|
|
3417
|
-
-
|
|
3418
|
-
-
|
|
3419
|
-
-
|
|
3420
|
-
-
|
|
3454
|
+
- In `tsconfig` added decorators supports. Methods that need binding binds with `@autobind` decorator.
|
|
3455
|
+
- Added `watch` decorator.
|
|
3456
|
+
- All filenames were renamed to kebab-case.
|
|
3457
|
+
- Added short aliases for. Can be used as chain - `this.j.e.on`
|
|
3458
|
+
- `this.jodit` => `this.j`
|
|
3459
|
+
- `this.options` => `this.o`
|
|
3460
|
+
- `this.selection` => `this.s`
|
|
3461
|
+
- `this.create` => `this.c`
|
|
3462
|
+
- `this.events` => `this.e`
|
|
3463
|
+
- `this.ownerDocument` => `this.od`
|
|
3464
|
+
- `this.ownerWindow` => `this.ow`
|
|
3465
|
+
- `this.editorDocument` => `this.ed`
|
|
3466
|
+
- `this.editorWindow` => `this.ew`
|
|
3467
|
+
- Change name `Dialog`.`setTitle` to `Dialog`.`setHeader`
|
|
3468
|
+
- Remove `Create.inside` field and instead added `Jodit.createInside`
|
|
3469
|
+
- In popups added position strategies: `'leftBottom' | 'rightBottom' | 'leftTop' | 'rightTop'` etc.
|
|
3421
3470
|
|
|
3422
3471
|
## 3.3.24
|
|
3423
3472
|
|
|
3424
3473
|
### BugFix
|
|
3425
3474
|
|
|
3426
|
-
-
|
|
3427
|
-
-
|
|
3475
|
+
- [342](https://github.com/xdan/jodit/issues/342)
|
|
3476
|
+
- [343](https://github.com/xdan/jodit/issues/343)
|
|
3428
3477
|
|
|
3429
3478
|
## 3.3.23
|
|
3430
3479
|
|
|
3431
3480
|
### BugFix
|
|
3432
3481
|
|
|
3433
|
-
-
|
|
3434
|
-
-
|
|
3435
|
-
-
|
|
3436
|
-
-
|
|
3437
|
-
-
|
|
3482
|
+
- [#325](https://github.com/xdan/jodit/issues/325) [#239](https://github.com/xdan/jodit/issues/239)
|
|
3483
|
+
- [#327](https://github.com/xdan/jodit/issues/327)
|
|
3484
|
+
- [#292](https://github.com/xdan/jodit/issues/292)
|
|
3485
|
+
- [#203](https://github.com/xdan/jodit/issues/203)
|
|
3486
|
+
- [#339](https://github.com/xdan/jodit/issues/339)
|
|
3438
3487
|
|
|
3439
3488
|
### Feature
|
|
3440
3489
|
|
|
3441
|
-
-
|
|
3490
|
+
- Added `Dom`.`isTag` method
|
|
3442
3491
|
|
|
3443
3492
|
```js
|
|
3444
3493
|
const editor = Jodit.make('#editor');
|
|
@@ -3450,14 +3499,14 @@ Jodit.modules.Dom.isTag(a, 'a'); // true
|
|
|
3450
3499
|
Jodit.modules.Dom.isTag(br, 'br'); // true
|
|
3451
3500
|
```
|
|
3452
3501
|
|
|
3453
|
-
-
|
|
3502
|
+
- Added `Helpers`.`call` method
|
|
3454
3503
|
|
|
3455
3504
|
```js
|
|
3456
3505
|
const f = Math.random();
|
|
3457
3506
|
Jodit.modules.Helpers.call(f > 0.5 ? Math.ceil : Math.floor, f);
|
|
3458
3507
|
```
|
|
3459
3508
|
|
|
3460
|
-
-
|
|
3509
|
+
- Added `Helpers`.`position` method - Helper function to get an element's exact position
|
|
3461
3510
|
|
|
3462
3511
|
```js
|
|
3463
3512
|
console.log(Jodit.modules.Helpers.position(editor.editor.querySelector('p')));
|
|
@@ -3467,15 +3516,15 @@ console.log(Jodit.modules.Helpers.position(editor.editor.querySelector('p')));
|
|
|
3467
3516
|
|
|
3468
3517
|
### BugFix
|
|
3469
3518
|
|
|
3470
|
-
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3519
|
+
- Fixed a lots of bugs inside `link` plugin
|
|
3520
|
+
[#331](https://github.com/xdan/jodit/issues/331)
|
|
3521
|
+
[#334](https://github.com/xdan/jodit/issues/334)
|
|
3522
|
+
[#334](https://github.com/xdan/jodit/issues/334)
|
|
3523
|
+
[#235](https://github.com/xdan/jodit/issues/235)
|
|
3475
3524
|
|
|
3476
3525
|
### Feature
|
|
3477
3526
|
|
|
3478
|
-
-
|
|
3527
|
+
- In `link` plugin added `formTemplate` and `formClassName` options [#333](https://github.com/xdan/jodit/issues/333)
|
|
3479
3528
|
|
|
3480
3529
|
```js
|
|
3481
3530
|
const editor = getJodit({
|
|
@@ -3488,8 +3537,8 @@ const editor = getJodit({
|
|
|
3488
3537
|
});
|
|
3489
3538
|
```
|
|
3490
3539
|
|
|
3491
|
-
-
|
|
3492
|
-
|
|
3540
|
+
- Added deprecated mechanism. Some methods will not be removed and only will be marked as deprecated until major
|
|
3541
|
+
release. [#330](https://github.com/xdan/jodit/issues/330)
|
|
3493
3542
|
|
|
3494
3543
|
## 3.3.16
|
|
3495
3544
|
|
|
@@ -3599,7 +3648,7 @@ Jodit.make('#editor', {
|
|
|
3599
3648
|
|
|
3600
3649
|
In PRO version you can choose mirrror&
|
|
3601
3650
|
|
|
3602
|
-
-
|
|
3651
|
+
- Added Async module for control asynchronous operations
|
|
3603
3652
|
|
|
3604
3653
|
```javascript
|
|
3605
3654
|
const editor = new Jodit('#editor');
|
|
@@ -3738,15 +3787,15 @@ var editor = new Jodir('.editor', {
|
|
|
3738
3787
|
|
|
3739
3788
|
### 2.5.60
|
|
3740
3789
|
|
|
3741
|
-
-
|
|
3742
|
-
-
|
|
3790
|
+
- Fix table editor in iframe mode
|
|
3791
|
+
- Fix styles
|
|
3743
3792
|
|
|
3744
3793
|
### 2.5.57
|
|
3745
3794
|
|
|
3746
|
-
-
|
|
3747
|
-
|
|
3748
|
-
-
|
|
3749
|
-
|
|
3795
|
+
- Added `useIframeResizer` option for resize IFRAME tag
|
|
3796
|
+

|
|
3797
|
+
- Added `offsetTopForAssix` option. For example, in Joomla, the top menu bar closes Jodit toolbar when scrolling.
|
|
3798
|
+
Therefore, it is necessary to move the toolbar Jodit by this amount
|
|
3750
3799
|
|
|
3751
3800
|
```javascript
|
|
3752
3801
|
const editor = Jodit.make('#editor', {
|
|
@@ -3841,10 +3890,10 @@ sets of buttons for different sizes editors.
|
|
|
3841
3890
|
|
|
3842
3891
|
> `Note`. this is not the width of the device, the width of the editor
|
|
3843
3892
|
|
|
3844
|
-
-
|
|
3845
|
-
-
|
|
3846
|
-
-
|
|
3847
|
-
-
|
|
3893
|
+
- buttons The list of buttons that appear in the editor's toolbar on large places (≥ options.sizeLG).
|
|
3894
|
+
- buttonsMD The list of buttons that appear in the editor's toolbar on medium places (≥ options.sizeMD).
|
|
3895
|
+
- buttonsSM The list of buttons that appear in the editor's toolbar on small places (≥ options.sizeSM).
|
|
3896
|
+
- buttonsXS The list of buttons that appear in the editor's toolbar on tiny places (< options.sizeSM).
|
|
3848
3897
|
|
|
3849
3898
|
```javascript
|
|
3850
3899
|
const editor = Jodit.make('#some-editor', {
|
|
@@ -3959,19 +4008,19 @@ const editor = Jodit.make('#some-editor', {
|
|
|
3959
4008
|
|
|
3960
4009
|
### 2.5.46
|
|
3961
4010
|
|
|
3962
|
-
-
|
|
4011
|
+
- More comfortable colorpicker
|
|
3963
4012
|
|
|
3964
4013
|

|
|
3965
4014
|
|
|
3966
|
-
-
|
|
3967
|
-
-
|
|
3968
|
-
|
|
4015
|
+
- Added [Helper.normalizeColor](https://xdsoft.net/jodit/docs/modules/helpers_normalize.html#normalizecolor)
|
|
4016
|
+
- Fixed [Helper.colorToHex](https://xdsoft.net/jodit/docs/modules/helpers_color.html#colortohex) now for transparent color it
|
|
4017
|
+
will return NaN
|
|
3969
4018
|
|
|
3970
4019
|
### 2.5.45
|
|
3971
4020
|
|
|
3972
|
-
-
|
|
3973
|
-
-
|
|
3974
|
-
-
|
|
4021
|
+
- Fixed bug in Image Resizer when border was less than Image
|
|
4022
|
+
- Rename Selection.setCursorTo to Selection.moveCursorTo
|
|
4023
|
+
- Fixed style for Dialog resizer
|
|
3975
4024
|
|
|
3976
4025
|
### 2.5.42
|
|
3977
4026
|
|
|
@@ -3979,9 +4028,9 @@ Fix a few bugs in [JJE](https://xdsoft.net/jodit/#extesions)
|
|
|
3979
4028
|
|
|
3980
4029
|
### 2.5.40
|
|
3981
4030
|
|
|
3982
|
-
-
|
|
3983
|
-
-
|
|
3984
|
-
|
|
4031
|
+
- In [Helper](https://xdsoft.net/jodit/docs/modules/helpers.html) module added [isHTML] method. Used plugin `insertHTML`
|
|
4032
|
+
- Added simple plugin `insertHTML` and him option `askBeforePasteHTML` - Ask before paste HTML in WYSIWYG mode. Try
|
|
4033
|
+
insert in WYSIWYG mode some HTML source
|
|
3985
4034
|
|
|
3986
4035
|
```javascript
|
|
3987
4036
|
(function ($) {
|
|
@@ -4036,19 +4085,19 @@ Fix [#issue 11](https://github.com/xdan/jodit/issues/11) in `file:` mode CDN Cod
|
|
|
4036
4085
|
|
|
4037
4086
|
### 2.5.38
|
|
4038
4087
|
|
|
4039
|
-
-
|
|
4040
|
-
-
|
|
4088
|
+
- Added `Filter` in FileBrowser
|
|
4089
|
+
- Added `SortBy` in FileBrowser
|
|
4041
4090
|
|
|
4042
4091
|
### 2.5.37
|
|
4043
4092
|
|
|
4044
|
-
-
|
|
4045
|
-
|
|
4046
|
-
-
|
|
4093
|
+
- Fixed bug in [`Beautifier`](https://xdsoft.net/jodit/docs/classes/config.Config.html#beautifyhtmlcdnurlsjs) plugin. When in `source` mode, start
|
|
4094
|
+
comment enter `<!--` Browser stops responding.
|
|
4095
|
+
- Added `tiles` and `list` switcher in filebrowser
|
|
4047
4096
|
|
|
4048
4097
|
### 2.5.36
|
|
4049
4098
|
|
|
4050
|
-
-
|
|
4051
|
-
-
|
|
4099
|
+
- In PHP FileBrowser connector added MaxFileSize option
|
|
4100
|
+
- Fixed popap error in filebrowser
|
|
4052
4101
|
|
|
4053
4102
|
### 2.5.30
|
|
4054
4103
|
|
|
@@ -4070,10 +4119,10 @@ Jodit.Confirm('Are you sure?', 'Confirm', function (success) {
|
|
|
4070
4119
|
|
|
4071
4120
|
### 2.5.27
|
|
4072
4121
|
|
|
4073
|
-
-
|
|
4074
|
-
|
|
4075
|
-
-
|
|
4076
|
-
|
|
4122
|
+
- Fixed IE11's
|
|
4123
|
+
bug [https://xdsoft.net/jodit/docs/classes/jodit.Jodit.html#comment-2866837441](https://xdsoft.net/jodit/docs/classes/jodit.Jodit.html#comment-2866837441)
|
|
4124
|
+
- Added [textIcons](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#texticons) options - Use text instead of
|
|
4125
|
+
icons. In IE9 it is default - true [Example](https://xdsoft.net/jodit/#example-text-icons)
|
|
4077
4126
|
|
|
4078
4127
|
```javascript
|
|
4079
4128
|
const editor = Jodit.make('#example2_0', {
|
|
@@ -4108,17 +4157,17 @@ But you must remember that Jodit.modules.Dom! = JQuery
|
|
|
4108
4157
|
|
|
4109
4158
|
### 2.5.23
|
|
4110
4159
|
|
|
4111
|
-
-
|
|
4112
|
-
-
|
|
4113
|
-
|
|
4160
|
+
- Added `expand button` In filebrowser
|
|
4161
|
+
- Added [fullsize](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#dialog)
|
|
4162
|
+
and [fullsizeButton](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#dialog) options
|
|
4114
4163
|
|
|
4115
4164
|
### 2.5.20
|
|
4116
4165
|
|
|
4117
|
-
-
|
|
4118
|
-
-
|
|
4119
|
-
|
|
4120
|
-
-
|
|
4121
|
-
|
|
4166
|
+
- Fix [Dom.prev](https://xdsoft.net/jodit/docs/modules/dom.html#prev) method
|
|
4167
|
+
- Added navigation and select in preview
|
|
4168
|
+

|
|
4169
|
+
- Added [showSelectButtonInPreview](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser)
|
|
4170
|
+
and [showPreviewNavigation](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser)
|
|
4122
4171
|
|
|
4123
4172
|
### 2.5.19
|
|
4124
4173
|
|
|
@@ -4163,16 +4212,16 @@ Fixed bug in JJE
|
|
|
4163
4212
|
|
|
4164
4213
|
### 2.5.16
|
|
4165
4214
|
|
|
4166
|
-
-
|
|
4215
|
+
- Fixed a few styles
|
|
4167
4216
|
|
|
4168
4217
|
### 2.5.15
|
|
4169
4218
|
|
|
4170
|
-
-
|
|
4219
|
+
- Fixed `package.json`
|
|
4171
4220
|
|
|
4172
4221
|
### 2.5.13
|
|
4173
4222
|
|
|
4174
|
-
-
|
|
4175
|
-
-
|
|
4223
|
+
- Added in FileBrowser [sort](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser) options
|
|
4224
|
+
- Jodit.Promt and Jodit.Alert by default set focus to OK button
|
|
4176
4225
|
|
|
4177
4226
|
```javascript
|
|
4178
4227
|
Jodit.Promt('Enter your name', function (name) {
|
|
@@ -4184,8 +4233,8 @@ Jodit.Promt('Enter your name', function (name) {
|
|
|
4184
4233
|
});
|
|
4185
4234
|
```
|
|
4186
4235
|
|
|
4187
|
-
-
|
|
4188
|
-
-
|
|
4236
|
+
- Fix `$config` bug in [JJE](https://xdsoft.net/jodit/release/joomla.zip)
|
|
4237
|
+
- Added a few options in JJE plugin
|
|
4189
4238
|
|
|
4190
4239
|
### 2.5.12
|
|
4191
4240
|
|
|
@@ -4194,33 +4243,33 @@ Added edit button in Image Properties Dialog
|
|
|
4194
4243
|
|
|
4195
4244
|
### 2.5.11
|
|
4196
4245
|
|
|
4197
|
-
-
|
|
4198
|
-
|
|
4199
|
-
-
|
|
4246
|
+
- Added file info in filebrowser
|
|
4247
|
+

|
|
4248
|
+
- Added [showFileName,showFileSize,showFileChangeTime](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser)
|
|
4200
4249
|
|
|
4201
4250
|
### 2.5.1
|
|
4202
4251
|
|
|
4203
|
-
-
|
|
4204
|
-
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4252
|
+
- Dom module was rewritten and was fixed afew bugs
|
|
4253
|
+
- In [OEM and Pro](https://xdsoft.net/jodit/#download)
|
|
4254
|
+
added [Image Editor module](https://xdsoft.net/jodit/docs/modules/modules_image_editor.html) resize and crop image. You can
|
|
4255
|
+
try [here](https://xdsoft.net/jodit/)
|
|
4256
|
+

|
|
4257
|
+

|
|
4209
4258
|
|
|
4210
4259
|
### 2.4.22
|
|
4211
4260
|
|
|
4212
|
-
-
|
|
4213
|
-
-
|
|
4214
|
-
-
|
|
4261
|
+
- Added contextmenu module.
|
|
4262
|
+
- Added context menu in FileBrowser
|
|
4263
|
+
- Added preview in FilwBrowser
|
|
4215
4264
|
|
|
4216
4265
|
### 2.4.21
|
|
4217
4266
|
|
|
4218
|
-
-
|
|
4267
|
+
- Fixed TableProcessor's bugs. In a situation did not appear resizer cells and the resizer throughout the table.
|
|
4219
4268
|
|
|
4220
4269
|
### 2.4.20
|
|
4221
4270
|
|
|
4222
|
-
-
|
|
4223
|
-
-
|
|
4271
|
+
- Fixed z-index Popap
|
|
4272
|
+
- Fixed behavior of selection table cells
|
|
4224
4273
|
|
|
4225
4274
|
### 2.4.17
|
|
4226
4275
|
|
|
@@ -4247,7 +4296,7 @@ const editor = Jodit.make('#editor', {
|
|
|
4247
4296
|
|
|
4248
4297
|
### 2.4.10
|
|
4249
4298
|
|
|
4250
|
-
-
|
|
4299
|
+
- Added node.create method
|
|
4251
4300
|
|
|
4252
4301
|
```javascript
|
|
4253
4302
|
const editor = Jodit.make('.jodit'),
|
|
@@ -4255,13 +4304,13 @@ const editor = Jodit.make('.jodit'),
|
|
|
4255
4304
|
editor.s.insertNode(node);
|
|
4256
4305
|
```
|
|
4257
4306
|
|
|
4258
|
-
-
|
|
4259
|
-
-
|
|
4260
|
-
|
|
4261
|
-
-
|
|
4262
|
-
-
|
|
4263
|
-
|
|
4264
|
-
-
|
|
4307
|
+
- Added [link](https://xdsoft.net/jodit/docs/modules/plugins_link.html) plugin. And its options
|
|
4308
|
+
- [processPastedLink](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#link) Wrap inserted link
|
|
4309
|
+
in `<a href="link">link</a>`
|
|
4310
|
+
- [openLinkDialogAfterPost](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#link) Open Link dialog after post
|
|
4311
|
+
- [removeLinkAfterFormat](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#link) When the button is pressed to
|
|
4312
|
+
clean format, if it was done on the link is removed like command `unlink`
|
|
4313
|
+
- Replace format icon
|
|
4265
4314
|
|
|
4266
4315
|
### 2.4.8
|
|
4267
4316
|
|
|
@@ -4273,34 +4322,34 @@ Fast Fixed in JJE Fixed a lot of bugs in Jodit
|
|
|
4273
4322
|
|
|
4274
4323
|
### 2.4.1
|
|
4275
4324
|
|
|
4276
|
-
-
|
|
4277
|
-
-
|
|
4278
|
-
-
|
|
4279
|
-
-
|
|
4280
|
-
-
|
|
4281
|
-
-
|
|
4282
|
-
-
|
|
4325
|
+
- Fixed a lot of bugs in Dom module
|
|
4326
|
+
- Fixed a lot of bugs in TableProcessor module
|
|
4327
|
+
- Replace PNG icon on SVG sprite
|
|
4328
|
+
- Added new module Icons
|
|
4329
|
+
- Added theme `Dark`
|
|
4330
|
+
- Fixed bug Popap's module
|
|
4331
|
+
- Divide one less file by modules
|
|
4283
4332
|
|
|
4284
4333
|
### 2.3.59
|
|
4285
4334
|
|
|
4286
|
-
-
|
|
4287
|
-
-
|
|
4288
|
-
|
|
4289
|
-
-
|
|
4290
|
-
|
|
4335
|
+
- Added Cookie module
|
|
4336
|
+
- Added [saveModeInCookie](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#savemodeincookie) if it is true that
|
|
4337
|
+
the current mode is saved in a cookie , and is restored after a reload of the page
|
|
4338
|
+
- In Joomla Jodit Editor(JJE) added corresponding option
|
|
4339
|
+
saveModeInCookie [Download Jodit Joomla editor](https://xdsoft.net/jodit/release/joomla.zip)
|
|
4291
4340
|
|
|
4292
4341
|
### 2.3.57
|
|
4293
4342
|
|
|
4294
|
-
-
|
|
4295
|
-
-
|
|
4343
|
+
- Fixed issue with `input[type=checkbox]` and [Dom.attr](https://xdsoft.net/jodit/docs/modules/dom.html#attr) method
|
|
4344
|
+
- Release Joomla Jodit Editor (JJE) [Download JJE](https://xdsoft.net/jodit/release/joomla.zip)
|
|
4296
4345
|
|
|
4297
4346
|
### 2.3.53
|
|
4298
4347
|
|
|
4299
|
-
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
-
|
|
4303
|
-
|
|
4348
|
+
- Added option [cleanHTML.cleanOnPaste](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#cleanhtml) The
|
|
4349
|
+
plugin [cleanHTML](https://xdsoft.net/jodit/docs/modules/plugins_clean_html.html) automatically cleans up content from Microsoft
|
|
4350
|
+
Word and other HTML sources to ensure clean, compliant content that matches the look and feel of the site.
|
|
4351
|
+
- Added [beforePaste](https://xdsoft.net/jodit/docs/classes/jodit.Jodit.html#~event:beforePaste),[processPaste](https://xdsoft.net/jodit/docs/classes/jodit.Jodit.html#~event:processPaste),[afterPaste](https://xdsoft.net/jodit/docs/classes/jodit.Jodit.html#~event:afterPaste)
|
|
4352
|
+
events
|
|
4304
4353
|
|
|
4305
4354
|
### 2.3.49
|
|
4306
4355
|
|
|
@@ -4331,18 +4380,18 @@ console.log(editor.val()); //''
|
|
|
4331
4380
|
|
|
4332
4381
|
### 2.3.46
|
|
4333
4382
|
|
|
4334
|
-
-
|
|
4335
|
-
-
|
|
4383
|
+
- Fixed critical bug in Safari (window.performance)
|
|
4384
|
+
- Fixed bug when editor can get selection from another place
|
|
4336
4385
|
|
|
4337
4386
|
### 2.3.44
|
|
4338
4387
|
|
|
4339
4388
|
Added [direction](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#direction) option. The writing direction of the
|
|
4340
4389
|
language which is used to create editor content. Allowed values are:
|
|
4341
4390
|
|
|
4342
|
-
-
|
|
4343
|
-
|
|
4344
|
-
-
|
|
4345
|
-
-
|
|
4391
|
+
- '' (an empty string) – Indicates that content direction will be the same as either the editor UI direction or the page
|
|
4392
|
+
element direction.
|
|
4393
|
+
- 'ltr' – Indicates a Left-To-Right text direction (like in English).
|
|
4394
|
+
- 'rtl' – Indicates a Right-To-Left text direction (like in Arabic).
|
|
4346
4395
|
|
|
4347
4396
|
### 2.3.43
|
|
4348
4397
|
|
|
@@ -4355,12 +4404,12 @@ colums in filelist
|
|
|
4355
4404
|
|
|
4356
4405
|
### 2.3.40
|
|
4357
4406
|
|
|
4358
|
-
-
|
|
4359
|
-
|
|
4360
|
-
-
|
|
4361
|
-
|
|
4362
|
-
-
|
|
4363
|
-
|
|
4407
|
+
- Added [filebrowser.moveFolder](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser) option. Allow/deny
|
|
4408
|
+
move folder
|
|
4409
|
+
- Added [filebrowser.moveFile](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser) option. Allow/deny
|
|
4410
|
+
move file
|
|
4411
|
+
- Added [filebrowser.showFoldersPanel](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser) option.
|
|
4412
|
+
Hide/show folders panel in filebrowser
|
|
4364
4413
|
|
|
4365
4414
|
### 2.3.39
|
|
4366
4415
|
|
|
@@ -4409,10 +4458,10 @@ const editor = Jodit.make('.redactor', {
|
|
|
4409
4458
|
|
|
4410
4459
|
### 2.3.38
|
|
4411
4460
|
|
|
4412
|
-
-
|
|
4413
|
-
-
|
|
4414
|
-
-
|
|
4415
|
-
-
|
|
4461
|
+
- Fixed i18n bug
|
|
4462
|
+
- [useSplitMode](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#usesplitmode) set default false
|
|
4463
|
+
- Fixed toolbar width after fullsize mode
|
|
4464
|
+
- Fixed [#issue5](https://github.com/xdan/jodit/issues/5)
|
|
4416
4465
|
|
|
4417
4466
|
### 2.3.37
|
|
4418
4467
|
|
|
@@ -4420,7 +4469,7 @@ Fast fix
|
|
|
4420
4469
|
|
|
4421
4470
|
### 2.3.36
|
|
4422
4471
|
|
|
4423
|
-
-
|
|
4472
|
+
- Added plugin `Fullsize`. Now you can change fullsize mode
|
|
4424
4473
|
|
|
4425
4474
|
```javascript
|
|
4426
4475
|
const editor = Jodit.make();
|
|
@@ -4429,14 +4478,14 @@ editor.events.fire('toggleFullsize', [true]); // fullsize
|
|
|
4429
4478
|
editor.events.fire('toggleFullsize', [false]); // usual mode
|
|
4430
4479
|
```
|
|
4431
4480
|
|
|
4432
|
-
-
|
|
4433
|
-
|
|
4434
|
-
-
|
|
4481
|
+
- Added [globalFullsize](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#globalFullsize) (default `true`) if true,
|
|
4482
|
+
after `fullsize` - all parents element get `jodit_fullsize_box` class (z-index: 100000 !important;)
|
|
4483
|
+
- Fixed focus bug
|
|
4435
4484
|
|
|
4436
4485
|
### 2.3.35
|
|
4437
4486
|
|
|
4438
|
-
-
|
|
4439
|
-
-
|
|
4487
|
+
- Fixed placeholder style
|
|
4488
|
+
- Fixed [Dom.css](https://xdsoft.net/jodit/docs/modules/dom.html#~css) then
|
|
4440
4489
|
|
|
4441
4490
|
```html
|
|
4442
4491
|
<div class="idclass" style="margin-top:20px;"></div>
|
|
@@ -4449,11 +4498,11 @@ Jodit.modules.Dom('.idclass').css('margin-top'); //now it returns int `20`
|
|
|
4449
4498
|
|
|
4450
4499
|
### 2.3.33
|
|
4451
4500
|
|
|
4452
|
-
-
|
|
4453
|
-
|
|
4454
|
-
-
|
|
4455
|
-
-
|
|
4456
|
-
-
|
|
4501
|
+
- Fixed placeholder style. Placeholder placed in a separate
|
|
4502
|
+
module [Placeholder](https://xdsoft.net/jodit/docs/modules/plugins_placeholder.html#root)
|
|
4503
|
+
- Added [showPlaceholder](https://xdsoft.net/jodit/docs/modules/plugins_placeholder.html#root#showplaceholder) option
|
|
4504
|
+
- Added [useInputsPlaceholder](https://xdsoft.net/jodit/docs/modules/plugins_placeholder.html#root#useinputsplaceholder) option
|
|
4505
|
+
- Added [placeholder](https://xdsoft.net/jodit/docs/modules/plugins_placeholder.html#root#placeholder) option
|
|
4457
4506
|
|
|
4458
4507
|
### 2.3.32
|
|
4459
4508
|
|
|
@@ -4604,8 +4653,8 @@ Work with table became faster
|
|
|
4604
4653
|
|
|
4605
4654
|
### 2.3.12
|
|
4606
4655
|
|
|
4607
|
-
-
|
|
4608
|
-
-
|
|
4656
|
+
- Fixed filbrowser bug. When a new file is uploaded file list has not been updated
|
|
4657
|
+
- Added [dialog.zIndex](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#.dialog) option
|
|
4609
4658
|
|
|
4610
4659
|
### 2.3.11
|
|
4611
4660
|
|
|
@@ -4613,9 +4662,9 @@ Fixed toolbar width fot fullsize mode
|
|
|
4613
4662
|
|
|
4614
4663
|
### 2.3.10
|
|
4615
4664
|
|
|
4616
|
-
-
|
|
4617
|
-
-
|
|
4618
|
-
-
|
|
4665
|
+
- Fixed CodeMirror bug on download XML parser
|
|
4666
|
+
- Fixed CodeMirror bug endless cycle
|
|
4667
|
+
- Fixed overflow behavior in fullsize mode
|
|
4619
4668
|
|
|
4620
4669
|
### 2.3.8
|
|
4621
4670
|
|