jodit 4.2.45 → 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 +814 -811
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +7 -3
- 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 +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +7 -2
- 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 +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +7 -2
- 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 +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +7 -2
- 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 +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +7 -3
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/traits/dlgs.js +1 -0
- package/esm/modules/dialog/dialog.js +4 -0
- package/esm/types/view.d.ts +1 -0
- package/package.json +1 -1
- 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,12 +2,16 @@
|
|
|
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
|
|
11
15
|
|
|
12
16
|
## 4.2.44
|
|
13
17
|
|
|
@@ -17,12 +21,12 @@
|
|
|
17
21
|
|
|
18
22
|
```typescript
|
|
19
23
|
const editor = Jodit.make('#editor', {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
image: {
|
|
25
|
+
dialogWidth: 500
|
|
26
|
+
}
|
|
23
27
|
});
|
|
24
28
|
|
|
25
|
-
console.log(editor.o.image.openOnDblClick) // true
|
|
29
|
+
console.log(editor.o.image.openOnDblClick); // true
|
|
26
30
|
// But you can't get all options in plain object
|
|
27
31
|
console.log(JSON.stringify(editor.o.image)); // {"dialogWidth":500}
|
|
28
32
|
|
|
@@ -54,27 +58,26 @@ console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": tru
|
|
|
54
58
|
typescript ^5.6.3 → ^5.7.2
|
|
55
59
|
```
|
|
56
60
|
|
|
57
|
-
|
|
58
61
|
## 4.2.42
|
|
59
62
|
|
|
60
63
|
### :rocket: New Feature
|
|
61
64
|
|
|
62
|
-
-
|
|
63
|
-
|
|
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)
|
|
64
67
|
|
|
65
68
|
### :bug: Bug Fix
|
|
66
69
|
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
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)
|
|
71
74
|
|
|
72
75
|
## 4.2.41
|
|
73
76
|
|
|
74
77
|
### :rocket: New Feature
|
|
75
78
|
|
|
76
|
-
-
|
|
77
|
-
|
|
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.
|
|
78
81
|
|
|
79
82
|
```ts
|
|
80
83
|
Jodit.make('#editor', {
|
|
@@ -106,20 +109,20 @@ console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": tru
|
|
|
106
109
|
|
|
107
110
|
### :bug: Bug Fix
|
|
108
111
|
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
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
|
|
113
116
|
|
|
114
117
|
## 4.2.39
|
|
115
118
|
|
|
116
119
|
#### :house: Internal
|
|
117
120
|
|
|
118
|
-
-
|
|
119
|
-
|
|
120
|
-
|
|
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`
|
|
121
124
|
|
|
122
|
-
-
|
|
125
|
+
- Update dependencies
|
|
123
126
|
|
|
124
127
|
```plain
|
|
125
128
|
@eslint/compat ^1.2.0 → ^1.2.2
|
|
@@ -143,38 +146,38 @@ console.log(JSON.stringify(plain)); // {"dialogWidth":500, "openOnDblClick": tru
|
|
|
143
146
|
|
|
144
147
|
### :bug: Bug Fix
|
|
145
148
|
|
|
146
|
-
-
|
|
149
|
+
- Fixed behavior of form submit with its own validation
|
|
147
150
|
|
|
148
151
|
## 4.2.37
|
|
149
152
|
|
|
150
153
|
### :bug: Bug Fix
|
|
151
154
|
|
|
152
|
-
-
|
|
155
|
+
- [Bug: this.j.o.resizer is undefined in jodit version 4 #1166](https://github.com/xdan/jodit/issues/1166)
|
|
153
156
|
|
|
154
157
|
## 4.2.35
|
|
155
158
|
|
|
156
159
|
### :bug: Bug Fix
|
|
157
160
|
|
|
158
|
-
-
|
|
161
|
+
- [Edit Link bugg when there is a iframe #1176](https://github.com/xdan/jodit/issues/1176)
|
|
159
162
|
|
|
160
163
|
## 4.2.34
|
|
161
164
|
|
|
162
165
|
### :bug: Bug Fix
|
|
163
166
|
|
|
164
|
-
-
|
|
167
|
+
- [Bug UL and OL list not working corretly with option "enter":"BR" #1178](https://github.com/xdan/jodit/issues/1178)
|
|
165
168
|
|
|
166
169
|
## 4.2.33
|
|
167
170
|
|
|
168
171
|
### :bug: Bug Fix
|
|
169
172
|
|
|
170
|
-
-
|
|
173
|
+
- Fixed bug inside Search plugin with Highlight API. When selection was not cleared
|
|
171
174
|
|
|
172
175
|
## 4.2.32
|
|
173
176
|
|
|
174
177
|
### :rocket: New Feature
|
|
175
178
|
|
|
176
|
-
-
|
|
177
|
-
|
|
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
|
|
178
181
|
|
|
179
182
|
```typescript
|
|
180
183
|
Jodit.make('#editor', {
|
|
@@ -185,8 +188,8 @@ Jodit.make('#editor', {
|
|
|
185
188
|
|
|
186
189
|
#### :house: Internal
|
|
187
190
|
|
|
188
|
-
-
|
|
189
|
-
-
|
|
191
|
+
- Move to ESLint 9
|
|
192
|
+
- Update dependencies
|
|
190
193
|
|
|
191
194
|
```plain
|
|
192
195
|
@playwright/test ^1.45.0 → ^1.48.0
|
|
@@ -224,7 +227,7 @@ Jodit.make('#editor', {
|
|
|
224
227
|
|
|
225
228
|
### :rocket: New Feature
|
|
226
229
|
|
|
227
|
-
-
|
|
230
|
+
- Added option `countTextSpaces: boolean = false;` Issue https://github.com/xdan/jodit/issues/1144
|
|
228
231
|
|
|
229
232
|
```typescript
|
|
230
233
|
Jodit.make('#editor', {
|
|
@@ -234,12 +237,12 @@ Jodit.make('#editor', {
|
|
|
234
237
|
|
|
235
238
|
### :bug: Bug Fix
|
|
236
239
|
|
|
237
|
-
-
|
|
240
|
+
- [Menu Item Popups Hidden when Jodit is inside an <dialog> element #1146](https://github.com/xdan/jodit/issues/1146)
|
|
238
241
|
|
|
239
242
|
#### :house: Internal
|
|
240
243
|
|
|
241
|
-
-
|
|
242
|
-
-
|
|
244
|
+
- Use node 20 for build
|
|
245
|
+
- Update dependencies
|
|
243
246
|
|
|
244
247
|
```plain
|
|
245
248
|
@playwright/test ^1.43.1 → ^1.45.0
|
|
@@ -272,42 +275,42 @@ Jodit.make('#editor', {
|
|
|
272
275
|
|
|
273
276
|
### :bug: Bug Fix
|
|
274
277
|
|
|
275
|
-
-
|
|
276
|
-
-
|
|
277
|
-
-
|
|
278
|
-
-
|
|
279
|
-
-
|
|
280
|
-
-
|
|
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)
|
|
281
284
|
|
|
282
285
|
## 4.2.25
|
|
283
286
|
|
|
284
287
|
### :rocket: New Feature
|
|
285
288
|
|
|
286
|
-
-
|
|
289
|
+
- [add ukrainian localization #1142](https://github.com/xdan/jodit/pull/1142)
|
|
287
290
|
|
|
288
291
|
## 4.2.22
|
|
289
292
|
|
|
290
293
|
### :bug: Bug Fix
|
|
291
294
|
|
|
292
|
-
-
|
|
295
|
+
- [Try to fix Unable to use Speech Recognition #1139](https://github.com/xdan/jodit/issues/1139)
|
|
293
296
|
|
|
294
297
|
## 4.2.21
|
|
295
298
|
|
|
296
299
|
#### :house: Internal
|
|
297
300
|
|
|
298
|
-
-
|
|
299
|
-
-
|
|
301
|
+
- Improved appearance of tabs
|
|
302
|
+
- Fixed a bug when hovering over a button. The tooltip sometimes did not disappear
|
|
300
303
|
|
|
301
304
|
## 4.2.19
|
|
302
305
|
|
|
303
|
-
-
|
|
306
|
+
- Fixed the lag between setting the activity to a list item when opening it.
|
|
304
307
|
|
|
305
308
|
## 4.2.18
|
|
306
309
|
|
|
307
310
|
#### :house: Internal
|
|
308
311
|
|
|
309
|
-
-
|
|
310
|
-
|
|
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)
|
|
311
314
|
|
|
312
315
|
```json
|
|
313
316
|
{
|
|
@@ -316,14 +319,14 @@ Jodit.make('#editor', {
|
|
|
316
319
|
}
|
|
317
320
|
```
|
|
318
321
|
|
|
319
|
-
-
|
|
320
|
-
-
|
|
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)
|
|
321
324
|
|
|
322
325
|
## 4.2.17
|
|
323
326
|
|
|
324
327
|
#### :house: Internal
|
|
325
328
|
|
|
326
|
-
-
|
|
329
|
+
- Removed conversion of list arrays into objects when creating a button in the toolbar. Previously the code looked like:
|
|
327
330
|
|
|
328
331
|
```js
|
|
329
332
|
Jodit.make('#editor', {
|
|
@@ -375,20 +378,20 @@ Jodit.make('#editor', {
|
|
|
375
378
|
|
|
376
379
|
### :bug: Bug Fix
|
|
377
380
|
|
|
378
|
-
-
|
|
379
|
-
-
|
|
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)
|
|
380
383
|
|
|
381
384
|
## 4.2.13
|
|
382
385
|
|
|
383
386
|
### :bug: Bug Fix
|
|
384
387
|
|
|
385
|
-
-
|
|
388
|
+
- [Table inline popup buttons issue #1129](https://github.com/xdan/jodit/issues/1129)
|
|
386
389
|
|
|
387
390
|
## 4.2.8
|
|
388
391
|
|
|
389
392
|
### :rocket: New Feature
|
|
390
393
|
|
|
391
|
-
-
|
|
394
|
+
- Controls have a new field `isVisible(editor: IJodit): boolean`, which allows you to completely hide the button in some situations.
|
|
392
395
|
|
|
393
396
|
```typescript
|
|
394
397
|
Jodit.make('#editor', {
|
|
@@ -406,10 +409,10 @@ Jodit.make('#editor', {
|
|
|
406
409
|
|
|
407
410
|
### :bug: Bug Fix
|
|
408
411
|
|
|
409
|
-
-
|
|
410
|
-
-
|
|
411
|
-
|
|
412
|
-
|
|
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`
|
|
413
416
|
|
|
414
417
|
```js
|
|
415
418
|
Jodit.make('#editor', {
|
|
@@ -423,7 +426,7 @@ Jodit.make('#editor', {
|
|
|
423
426
|
|
|
424
427
|
#### :boom: Breaking Change
|
|
425
428
|
|
|
426
|
-
-
|
|
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).
|
|
427
430
|
|
|
428
431
|
Before:
|
|
429
432
|
|
|
@@ -439,15 +442,15 @@ import { watch } from 'jodit/core/decorators/watch/watch';
|
|
|
439
442
|
|
|
440
443
|
### :bug: Bug Fix
|
|
441
444
|
|
|
442
|
-
-
|
|
445
|
+
- [FileBrowser - Permissions Incorrect during Open of Dialog #1095](https://github.com/xdan/jodit/issues/1095)
|
|
443
446
|
|
|
444
447
|
## 4.1.11
|
|
445
448
|
|
|
446
|
-
-
|
|
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.
|
|
447
450
|
|
|
448
451
|
## 4.1.9
|
|
449
452
|
|
|
450
|
-
-
|
|
453
|
+
- Added `AbortError` to the `Jodit.modules` namespace. This is a custom error that is thrown when the user cancels the operation.
|
|
451
454
|
|
|
452
455
|
```js
|
|
453
456
|
const jodit = Jodit.make('#editor');
|
|
@@ -463,15 +466,15 @@ jodit.destruct();
|
|
|
463
466
|
|
|
464
467
|
## 4.1.7
|
|
465
468
|
|
|
466
|
-
-
|
|
469
|
+
- [Wrong generation of es5 bundle - polyfills missing #1105](https://github.com/xdan/jodit/issues/1105)
|
|
467
470
|
|
|
468
471
|
## 4.1.1
|
|
469
472
|
|
|
470
|
-
-
|
|
473
|
+
- Added plugin AI Assistant. https://github.com/xdan/jodit/pull/1088 Thanks @huizarmx
|
|
471
474
|
|
|
472
475
|
#### :house: Internal
|
|
473
476
|
|
|
474
|
-
-
|
|
477
|
+
- Update dependencies
|
|
475
478
|
|
|
476
479
|
```plain
|
|
477
480
|
|
|
@@ -495,7 +498,7 @@ webpack-dev-middleware ^7.0.0 → ^7.2.0
|
|
|
495
498
|
webpack-dev-server ^5.0.2 → ^5.0.4
|
|
496
499
|
```
|
|
497
500
|
|
|
498
|
-
-
|
|
501
|
+
- Update dependencies
|
|
499
502
|
|
|
500
503
|
```plain
|
|
501
504
|
@types/node ^20.10.7 → ^20.11.25
|
|
@@ -530,32 +533,32 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
530
533
|
|
|
531
534
|
## 4.0.15
|
|
532
535
|
|
|
533
|
-
-
|
|
534
|
-
|
|
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
|
|
535
538
|
|
|
536
539
|
## 4.0.8
|
|
537
540
|
|
|
538
|
-
-
|
|
541
|
+
- Fixed a bug in the plugins module when extra plugins did not cause the editor to be redrawn after initialization
|
|
539
542
|
|
|
540
543
|
## 4.0.7
|
|
541
544
|
|
|
542
|
-
-
|
|
543
|
-
|
|
544
|
-
-
|
|
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
|
|
545
548
|
|
|
546
549
|
## 4.0.2
|
|
547
550
|
|
|
548
|
-
-
|
|
551
|
+
- [BUG: FileBrowser Context Menu Grows Infinitely](https://github.com/xdan/jodit/issues/1059)
|
|
549
552
|
|
|
550
553
|
## 4.0.1
|
|
551
554
|
|
|
552
|
-
-
|
|
555
|
+
- [See changelog](https://github.com/xdan/jodit/releases)
|
|
553
556
|
|
|
554
557
|
## 4.0.0-beta.121
|
|
555
558
|
|
|
556
559
|
#### :boom: Breaking Change
|
|
557
560
|
|
|
558
|
-
-
|
|
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.
|
|
559
562
|
|
|
560
563
|
```js
|
|
561
564
|
const jodit = Jodit.make('#editor');
|
|
@@ -567,16 +570,16 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
567
570
|
jodit.getInstance('Table').mergeSelected(jodit.editor.firstChild);
|
|
568
571
|
```
|
|
569
572
|
|
|
570
|
-
-
|
|
571
|
-
-
|
|
573
|
+
- `.jodit-filebrowser` class prefix was renamed to `.jodit-file-browser`
|
|
574
|
+
- CSS key `--color-background-filebrowser-folders` was removed from global scope.
|
|
572
575
|
|
|
573
576
|
### :bug: Bug Fix
|
|
574
577
|
|
|
575
|
-
-
|
|
578
|
+
- [Folder renames not working if "space" is added in folder name #1054](https://github.com/xdan/jodit/issues/1054)
|
|
576
579
|
|
|
577
580
|
#### :house: Internal
|
|
578
581
|
|
|
579
|
-
-
|
|
582
|
+
- Update dependencies
|
|
580
583
|
|
|
581
584
|
```plain
|
|
582
585
|
stylelint-config-idiomatic-order v9.0.0 → v10.0.0
|
|
@@ -591,7 +594,7 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
591
594
|
|
|
592
595
|
### :rocket: New Feature
|
|
593
596
|
|
|
594
|
-
-
|
|
597
|
+
- The `Jodit.getInstance` method can accept a module constructor instead of its name:
|
|
595
598
|
|
|
596
599
|
```js
|
|
597
600
|
const jodit = Jodit.make('#editor');
|
|
@@ -602,29 +605,29 @@ webpack-hot-middleware ^2.26.0 → ^2.26.1
|
|
|
602
605
|
|
|
603
606
|
## 4.0.0-beta.119
|
|
604
607
|
|
|
605
|
-
-
|
|
608
|
+
- [Even though I disable some editor plugins, they are displayed on mobile #243](https://github.com/jodit/jodit-react/issues/243)
|
|
606
609
|
|
|
607
610
|
## 4.0.0-beta.118
|
|
608
611
|
|
|
609
612
|
### :bug: Bug Fix
|
|
610
613
|
|
|
611
|
-
-
|
|
614
|
+
- [fix import #1046](https://github.com/xdan/jodit/pull/1046)
|
|
612
615
|
|
|
613
616
|
#### :house: Internal
|
|
614
617
|
|
|
615
|
-
-
|
|
618
|
+
- Fixed colors for selected toolbar elements in the dark theme
|
|
616
619
|
|
|
617
620
|
## 4.0.0-beta.117
|
|
618
621
|
|
|
619
622
|
### :bug: Bug Fix
|
|
620
623
|
|
|
621
|
-
-
|
|
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)
|
|
622
625
|
|
|
623
626
|
## 4.0.0-beta.108
|
|
624
627
|
|
|
625
628
|
### :bug: Bug Fix
|
|
626
629
|
|
|
627
|
-
-
|
|
630
|
+
- [Comment block in the template throws error "Cannot read properties of undefined (reading 'font-weight')" #1044](https://github.com/xdan/jodit/issues/1044)
|
|
628
631
|
|
|
629
632
|
#### :house: Internal
|
|
630
633
|
|
|
@@ -652,15 +655,15 @@ typescript ^5.2.2 → ^5.3.2
|
|
|
652
655
|
|
|
653
656
|
## 4.0.0-beta.108
|
|
654
657
|
|
|
655
|
-
-
|
|
658
|
+
- Fixed a bug in the UITextArea UI component. Instead of adding a textarea element, it was incorrectly adding an input element.
|
|
656
659
|
|
|
657
660
|
## 4.0.0-beta.107
|
|
658
661
|
|
|
659
662
|
### :rocket: New Feature
|
|
660
663
|
|
|
661
|
-
-
|
|
662
|
-
|
|
663
|
-
|
|
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.
|
|
664
667
|
|
|
665
668
|
```js
|
|
666
669
|
Jodit.make('#editor', {
|
|
@@ -668,41 +671,41 @@ typescript ^5.2.2 → ^5.3.2
|
|
|
668
671
|
});
|
|
669
672
|
```
|
|
670
673
|
|
|
671
|
-
-
|
|
674
|
+
- [copy pasting twitter or istagram or etc. not as expected #1032](https://github.com/xdan/jodit/issues/1032)
|
|
672
675
|
|
|
673
676
|
## 4.0.0-beta.97
|
|
674
677
|
|
|
675
678
|
#### :house: Internal
|
|
676
679
|
|
|
677
|
-
-
|
|
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
|
|
678
681
|
|
|
679
682
|
## 4.0.0-beta.96
|
|
680
683
|
|
|
681
684
|
#### :boom: Breaking Change
|
|
682
685
|
|
|
683
|
-
-
|
|
686
|
+
- Removed `Jodit.modules.Helpers.val` method
|
|
684
687
|
|
|
685
688
|
## 4.0.0-beta.95
|
|
686
689
|
|
|
687
690
|
### :bug: Bug Fix
|
|
688
691
|
|
|
689
|
-
-
|
|
692
|
+
- Fixed the logic of the file upload module. When HTTP errors were simply ignored.
|
|
690
693
|
|
|
691
694
|
## 4.0.0-beta.93
|
|
692
695
|
|
|
693
696
|
### :bug: Bug Fix
|
|
694
697
|
|
|
695
|
-
-
|
|
698
|
+
- Fixed a bug with the `editor.selection.setCursorIn(box)` method, which could set the cursor inside a <br>.
|
|
696
699
|
|
|
697
700
|
## 4.0.0-beta.91
|
|
698
701
|
|
|
699
702
|
### :bug: Bug Fix
|
|
700
703
|
|
|
701
|
-
-
|
|
702
|
-
|
|
704
|
+
- Issues with ESM #1029, icons were not included in the esm build
|
|
705
|
+
Issue: https://github.com/xdan/jodit/issues/1029
|
|
703
706
|
|
|
704
|
-
-
|
|
705
|
-
-
|
|
707
|
+
- Use node 18.17.1 for build
|
|
708
|
+
- Update
|
|
706
709
|
|
|
707
710
|
```
|
|
708
711
|
@types/ace ^0.0.49 → ^0.0.50
|
|
@@ -725,7 +728,7 @@ webpack 5.88.2 → 5.89.0
|
|
|
725
728
|
|
|
726
729
|
### :rocket: New Feature
|
|
727
730
|
|
|
728
|
-
-
|
|
731
|
+
- Improved UX of dialog boxes. Added two options `closeOnEsc` defaulting to `true` and `closeOnClickOverlay` defaulting to `false`.
|
|
729
732
|
```js
|
|
730
733
|
Jodit.make('#editor', {
|
|
731
734
|
dialog: {
|
|
@@ -748,12 +751,12 @@ webpack 5.88.2 → 5.89.0
|
|
|
748
751
|
|
|
749
752
|
### :bug: Bug Fix
|
|
750
753
|
|
|
751
|
-
-
|
|
752
|
-
-
|
|
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)
|
|
753
756
|
|
|
754
757
|
## 4.0.0-beta.78
|
|
755
758
|
|
|
756
|
-
-
|
|
759
|
+
- Update
|
|
757
760
|
|
|
758
761
|
```
|
|
759
762
|
@types/ace ^0.0.48 → ^0.0.49
|
|
@@ -779,7 +782,7 @@ webpack 5.88.2 → 5.89.0
|
|
|
779
782
|
|
|
780
783
|
## 4.0.0-beta.78
|
|
781
784
|
|
|
782
|
-
-
|
|
785
|
+
- Update
|
|
783
786
|
|
|
784
787
|
```
|
|
785
788
|
@types/karma ^6.3.3 → ^6.3.4
|
|
@@ -823,48 +826,48 @@ webpack 5.88.2 → 5.89.0
|
|
|
823
826
|
|
|
824
827
|
### :bug: Bug Fix
|
|
825
828
|
|
|
826
|
-
-
|
|
827
|
-
-
|
|
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
|
|
828
831
|
|
|
829
832
|
### :rocket: New Feature
|
|
830
833
|
|
|
831
|
-
-
|
|
832
|
-
|
|
833
|
-
-
|
|
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
|
|
834
837
|
|
|
835
838
|
## 4.0.0-beta.52
|
|
836
839
|
|
|
837
840
|
#### :boom: Breaking Change
|
|
838
841
|
|
|
839
|
-
-
|
|
840
|
-
-
|
|
841
|
-
-
|
|
842
|
-
|
|
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
|
|
843
846
|
```js
|
|
844
847
|
class somePlugin extends Jodit.modulules.Plugin {
|
|
845
848
|
static requires = ['hotkeys']; // It still works
|
|
846
849
|
requires = ['hotkeys']; // Now it does not work
|
|
847
850
|
}
|
|
848
851
|
```
|
|
849
|
-
-
|
|
852
|
+
- Deprecated were removed
|
|
850
853
|
|
|
851
|
-
-
|
|
852
|
-
-
|
|
853
|
-
-
|
|
854
|
-
-
|
|
854
|
+
- `Dom.isTag` does not support array
|
|
855
|
+
- `Select.applyStyle` method was removed
|
|
856
|
+
- `history.observer` was removed
|
|
857
|
+
- `editorCssClass` removed
|
|
855
858
|
|
|
856
|
-
-
|
|
857
|
-
-
|
|
858
|
-
-
|
|
859
|
+
- `wrapNodes.exclude` changed from array to set
|
|
860
|
+
- `allowResizeTags` changed from array to set
|
|
861
|
+
- `resizer.useAspectRatio` changed from array to set
|
|
859
862
|
|
|
860
|
-
-
|
|
863
|
+
- All css variables renamed to kebab-case
|
|
861
864
|
|
|
862
865
|
## 4.0.0-beta.42
|
|
863
866
|
|
|
864
|
-
-
|
|
865
|
-
-
|
|
866
|
-
-
|
|
867
|
-
-
|
|
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`
|
|
868
871
|
|
|
869
872
|
## 4.0.0-beta.10
|
|
870
873
|
|
|
@@ -896,15 +899,15 @@ yargs ^17.7.1 → ^17.7.2
|
|
|
896
899
|
|
|
897
900
|
#### :boom: Breaking Change
|
|
898
901
|
|
|
899
|
-
-
|
|
900
|
-
-
|
|
901
|
-
-
|
|
902
|
-
-
|
|
903
|
-
-
|
|
904
|
-
-
|
|
905
|
-
-
|
|
906
|
-
-
|
|
907
|
-
-
|
|
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
|
|
908
911
|
|
|
909
912
|
```ts
|
|
910
913
|
Jodit.make('#editor', {
|
|
@@ -918,7 +921,7 @@ Jodit.make('#editor', {
|
|
|
918
921
|
});
|
|
919
922
|
```
|
|
920
923
|
|
|
921
|
-
-
|
|
924
|
+
- Removed `errorMessage` event. Use `module.messages` instead
|
|
922
925
|
|
|
923
926
|
```js
|
|
924
927
|
Jodit.make('#editor').message.info('Hello world');
|
|
@@ -926,9 +929,9 @@ Jodit.make('#editor', {
|
|
|
926
929
|
|
|
927
930
|
#### :rocket: New Feature
|
|
928
931
|
|
|
929
|
-
-
|
|
930
|
-
-
|
|
931
|
-
-
|
|
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`
|
|
932
935
|
|
|
933
936
|
#### :house: Internal
|
|
934
937
|
|
|
@@ -970,8 +973,8 @@ yargs ^17.6.2 → ^17.7.1
|
|
|
970
973
|
|
|
971
974
|
#### :house: Internal
|
|
972
975
|
|
|
973
|
-
-
|
|
974
|
-
-
|
|
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
|
|
975
978
|
|
|
976
979
|
```js
|
|
977
980
|
Jodit.modules.Helpers.stripTags(
|
|
@@ -982,8 +985,8 @@ Jodit.modules.Helpers.stripTags(
|
|
|
982
985
|
// <p>test po<br>p<br>stop lop<br></p>
|
|
983
986
|
```
|
|
984
987
|
|
|
985
|
-
-
|
|
986
|
-
-
|
|
988
|
+
- Inside `safeMode` will init only `safePluginsList` plugins. It used to init `extraPlugins` too.
|
|
989
|
+
- `size` plugin was added in default `safePluginsList`
|
|
987
990
|
|
|
988
991
|
```js
|
|
989
992
|
const editor = Jodit.make('#editor', {
|
|
@@ -997,11 +1000,11 @@ console.log(editor.__plugins); // only 'enter', 'backspace'
|
|
|
997
1000
|
|
|
998
1001
|
#### :bug: Bug Fix
|
|
999
1002
|
|
|
1000
|
-
-
|
|
1001
|
-
-
|
|
1002
|
-
-
|
|
1003
|
-
-
|
|
1004
|
-
-
|
|
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)
|
|
1005
1008
|
|
|
1006
1009
|
#### :house: Internal
|
|
1007
1010
|
|
|
@@ -1025,9 +1028,9 @@ synchronous-promise 2.0.15 → 2.0.17
|
|
|
1025
1028
|
|
|
1026
1029
|
#### :boom: Breaking Change
|
|
1027
1030
|
|
|
1028
|
-
-
|
|
1029
|
-
|
|
1030
|
-
-
|
|
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.
|
|
1031
1034
|
|
|
1032
1035
|
Before:
|
|
1033
1036
|
|
|
@@ -1112,17 +1115,17 @@ Jodit.make('#editor', {
|
|
|
1112
1115
|
|
|
1113
1116
|
#### :rocket: New Feature
|
|
1114
1117
|
|
|
1115
|
-
-
|
|
1118
|
+
- [Fix #909 Add option to provide pre-defined classes for img elements. #910](https://github.com/xdan/jodit/pull/910)
|
|
1116
1119
|
|
|
1117
1120
|
## 3.24.1
|
|
1118
1121
|
|
|
1119
1122
|
#### :boom: Breaking Change
|
|
1120
1123
|
|
|
1121
|
-
-
|
|
1124
|
+
- Constant array `MAY_BE_REMOVED_WITH_KEY` was replaced on set `INSEPARABLE_TAGS`
|
|
1122
1125
|
|
|
1123
1126
|
#### :rocket: New Feature
|
|
1124
1127
|
|
|
1125
|
-
-
|
|
1128
|
+
- Method `Select.applyStyle` marked as deprecated. Use `Select.commitStyle` instead.
|
|
1126
1129
|
|
|
1127
1130
|
Before:
|
|
1128
1131
|
|
|
@@ -1148,8 +1151,8 @@ jodit.s.commitStyle({
|
|
|
1148
1151
|
});
|
|
1149
1152
|
```
|
|
1150
1153
|
|
|
1151
|
-
-
|
|
1152
|
-
|
|
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.
|
|
1153
1156
|
|
|
1154
1157
|
```js
|
|
1155
1158
|
jodit.s.commitStyle({
|
|
@@ -1162,23 +1165,23 @@ jodit.s.commitStyle({
|
|
|
1162
1165
|
|
|
1163
1166
|
Wraps the selected text into a link with the specified address.
|
|
1164
1167
|
|
|
1165
|
-
-
|
|
1168
|
+
- When inserting a url, if the text is selected, it will automatically be replaced with a link
|
|
1166
1169
|
|
|
1167
|
-
-
|
|
1170
|
+
- In Tab plugin allow use shift+tab for lists
|
|
1168
1171
|
|
|
1169
1172
|
#### :bug: Bug Fix
|
|
1170
1173
|
|
|
1171
|
-
-
|
|
1174
|
+
- [Safari custom color picker errors out on browser check #906](https://github.com/xdan/jodit/issues/906)
|
|
1172
1175
|
|
|
1173
1176
|
#### :house: Internal
|
|
1174
1177
|
|
|
1175
|
-
-
|
|
1178
|
+
- Fixed deletion of the asserts function from the production code, instead of regular expressions, transformers are used\*\*\*\*
|
|
1176
1179
|
|
|
1177
1180
|
## 3.23.3
|
|
1178
1181
|
|
|
1179
1182
|
#### :rocket: New Feature
|
|
1180
1183
|
|
|
1181
|
-
-
|
|
1184
|
+
- Added option `IControlType.childExec` Allows you to set a separate handler for list items
|
|
1182
1185
|
|
|
1183
1186
|
```javascript
|
|
1184
1187
|
Jodit.make('.editor', {
|
|
@@ -1206,30 +1209,30 @@ Jodit.make('.editor', {
|
|
|
1206
1209
|
|
|
1207
1210
|
#### :bug: Bug Fix
|
|
1208
1211
|
|
|
1209
|
-
-
|
|
1212
|
+
- [Insert link in Safari adds link to the beginning of the text #900](https://github.com/xdan/jodit/issues/900)
|
|
1210
1213
|
|
|
1211
1214
|
#### :house: Internal
|
|
1212
1215
|
|
|
1213
|
-
-
|
|
1216
|
+
- Deleted ajax.dataType option, because it was not used
|
|
1214
1217
|
|
|
1215
1218
|
## 3.23.1
|
|
1216
1219
|
|
|
1217
1220
|
#### :boom: Breaking Change
|
|
1218
1221
|
|
|
1219
|
-
-
|
|
1222
|
+
- Remove `IJodit` from first argument of `Ajax` constructor.
|
|
1220
1223
|
|
|
1221
1224
|
#### :rocket: New Feature
|
|
1222
1225
|
|
|
1223
|
-
-
|
|
1224
|
-
|
|
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.
|
|
1225
1228
|
|
|
1226
1229
|
```js
|
|
1227
1230
|
const editor = Jodit.make('#editor');
|
|
1228
1231
|
editor.focus();
|
|
1229
1232
|
```
|
|
1230
1233
|
|
|
1231
|
-
-
|
|
1232
|
-
|
|
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
|
|
1233
1236
|
|
|
1234
1237
|
```js
|
|
1235
1238
|
const editor = Jodit.make('#editor');
|
|
@@ -1238,29 +1241,29 @@ const data = await editor.fetch('https://somesite.com?type=json');
|
|
|
1238
1241
|
|
|
1239
1242
|
#### :bug: Bug Fix
|
|
1240
1243
|
|
|
1241
|
-
-
|
|
1242
|
-
-
|
|
1243
|
-
|
|
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.
|
|
1244
1247
|
|
|
1245
1248
|
## 3.22.1
|
|
1246
1249
|
|
|
1247
1250
|
#### :boom: Breaking Change
|
|
1248
1251
|
|
|
1249
|
-
-
|
|
1250
|
-
-
|
|
1251
|
-
-
|
|
1252
|
-
-
|
|
1253
|
-
-
|
|
1254
|
-
-
|
|
1255
|
-
-
|
|
1256
|
-
-
|
|
1257
|
-
-
|
|
1258
|
-
-
|
|
1259
|
-
-
|
|
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.
|
|
1260
1263
|
|
|
1261
1264
|
#### :bug: Bug Fix
|
|
1262
1265
|
|
|
1263
|
-
-
|
|
1266
|
+
- [Select text formatting before writing #894](https://github.com/xdan/jodit/issues/894)
|
|
1264
1267
|
|
|
1265
1268
|
#### :house: Internal
|
|
1266
1269
|
|
|
@@ -1280,13 +1283,13 @@ yargs ^17.6.0 → ^17.6.1
|
|
|
1280
1283
|
|
|
1281
1284
|
## 3.21.5
|
|
1282
1285
|
|
|
1283
|
-
-
|
|
1286
|
+
- [Unnecessary message showing after reaching the limit](https://xdsoft.net/jodit/pro/cab/issues/380e8a02-00c5-4aa0-8923-5b957d503eb1)
|
|
1284
1287
|
|
|
1285
1288
|
## 3.21.4
|
|
1286
1289
|
|
|
1287
1290
|
#### :bug: Bug Fix
|
|
1288
1291
|
|
|
1289
|
-
-
|
|
1292
|
+
- [Font Style Change when removing Bold or Italics](https://xdsoft.net/jodit/pro/cab/issues/6ef20dc4-fabe-43c3-a299-86797d328bdf)
|
|
1290
1293
|
|
|
1291
1294
|
#### :house: Internal
|
|
1292
1295
|
|
|
@@ -1303,9 +1306,9 @@ stylelint-config-standard ^28.0.0 → ^29.0.0
|
|
|
1303
1306
|
|
|
1304
1307
|
#### :boom: Breaking Change
|
|
1305
1308
|
|
|
1306
|
-
-
|
|
1307
|
-
|
|
1308
|
-
-
|
|
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:
|
|
1309
1312
|
|
|
1310
1313
|
```js
|
|
1311
1314
|
Jodit.make('#editor', {
|
|
@@ -1315,10 +1318,10 @@ Jodit.make('#editor', {
|
|
|
1315
1318
|
});
|
|
1316
1319
|
```
|
|
1317
1320
|
|
|
1318
|
-
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
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:
|
|
1322
1325
|
|
|
1323
1326
|
```js
|
|
1324
1327
|
Jodit.make('#editor', { disablePlugins: ['bold'] }).e.on('meta+b', () => {
|
|
@@ -1329,8 +1332,8 @@ Jodit.make('#editor', { disablePlugins: ['bold'] }).e.on('meta+b', () => {
|
|
|
1329
1332
|
|
|
1330
1333
|
#### :house: Internal
|
|
1331
1334
|
|
|
1332
|
-
-
|
|
1333
|
-
-
|
|
1335
|
+
- Remove `assert` calls from production build.
|
|
1336
|
+
- Update deps
|
|
1334
1337
|
|
|
1335
1338
|
```
|
|
1336
1339
|
core-js ^3.24.1 → ^3.25.5
|
|
@@ -1364,69 +1367,69 @@ yargs ^17.5.1 → ^17.6.0
|
|
|
1364
1367
|
|
|
1365
1368
|
#### :house: Internal
|
|
1366
1369
|
|
|
1367
|
-
-
|
|
1368
|
-
-
|
|
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.
|
|
1369
1372
|
|
|
1370
1373
|
#### :bug: Bug Fix
|
|
1371
1374
|
|
|
1372
|
-
-
|
|
1373
|
-
|
|
1374
|
-
-
|
|
1375
|
-
|
|
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)
|
|
1376
1379
|
|
|
1377
1380
|
## 3.20.3
|
|
1378
1381
|
|
|
1379
1382
|
#### :house: Internal
|
|
1380
1383
|
|
|
1381
|
-
-
|
|
1382
|
-
-
|
|
1383
|
-
-
|
|
1384
|
-
-
|
|
1384
|
+
- En lang is loaded as is
|
|
1385
|
+
- Fix types generation:
|
|
1386
|
+
- Remove styles
|
|
1387
|
+
- Replace aliases
|
|
1385
1388
|
|
|
1386
1389
|
#### :bug: Bug Fix
|
|
1387
1390
|
|
|
1388
|
-
-
|
|
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)
|
|
1389
1392
|
|
|
1390
1393
|
## 3.20.2
|
|
1391
1394
|
|
|
1392
1395
|
#### :house: Internal
|
|
1393
1396
|
|
|
1394
|
-
-
|
|
1397
|
+
- Tooltip plugin functionality moved to `ui/button/tooltip` so that it can be used not only with the editor
|
|
1395
1398
|
|
|
1396
1399
|
#### :bug: Bug Fix
|
|
1397
1400
|
|
|
1398
|
-
-
|
|
1401
|
+
- Fixed bug in add-new-line in iframe-mode
|
|
1399
1402
|
|
|
1400
1403
|
## 3.20.1
|
|
1401
1404
|
|
|
1402
1405
|
#### :rocket: New Feature
|
|
1403
1406
|
|
|
1404
|
-
-
|
|
1405
|
-
-
|
|
1406
|
-
-
|
|
1407
|
-
-
|
|
1408
|
-
-
|
|
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)
|
|
1409
1412
|
|
|
1410
1413
|
#### :house: Internal
|
|
1411
1414
|
|
|
1412
|
-
-
|
|
1415
|
+
- Added documentation for [Image properties - Input fields are not clickable ( react + material ui ) #879](https://github.com/xdan/jodit/issues/879)
|
|
1413
1416
|
|
|
1414
1417
|
#### :bug: Bug Fix
|
|
1415
1418
|
|
|
1416
|
-
-
|
|
1417
|
-
-
|
|
1418
|
-
-
|
|
1419
|
-
|
|
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)
|
|
1420
1423
|
|
|
1421
1424
|
## 3.19.5
|
|
1422
1425
|
|
|
1423
1426
|
#### :rocket: New Feature
|
|
1424
1427
|
|
|
1425
|
-
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
-
|
|
1429
|
-
|
|
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)
|
|
1430
1433
|
```js
|
|
1431
1434
|
const editor = Jodit.make('#editor', {
|
|
1432
1435
|
readonly: true,
|
|
@@ -1440,19 +1443,19 @@ yargs ^17.5.1 → ^17.6.0
|
|
|
1440
1443
|
|
|
1441
1444
|
#### :bug: Bug Fix
|
|
1442
1445
|
|
|
1443
|
-
-
|
|
1444
|
-
-
|
|
1445
|
-
|
|
1446
|
-
-
|
|
1447
|
-
|
|
1448
|
-
-
|
|
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)
|
|
1449
1452
|
|
|
1450
1453
|
## 3.19.4
|
|
1451
1454
|
|
|
1452
1455
|
#### :rocket: New Feature
|
|
1453
1456
|
|
|
1454
|
-
-
|
|
1455
|
-
|
|
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)
|
|
1456
1459
|
|
|
1457
1460
|
```javascript
|
|
1458
1461
|
Jodit.make('#editor', {
|
|
@@ -1463,36 +1466,36 @@ Jodit.make('#editor', {
|
|
|
1463
1466
|
});
|
|
1464
1467
|
```
|
|
1465
1468
|
|
|
1466
|
-
-
|
|
1467
|
-
|
|
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
|
|
1468
1471
|
|
|
1469
1472
|
#### :bug: Bug Fix
|
|
1470
1473
|
|
|
1471
|
-
-
|
|
1472
|
-
-
|
|
1473
|
-
-
|
|
1474
|
-
-
|
|
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)
|
|
1475
1478
|
|
|
1476
1479
|
## 3.19.3
|
|
1477
1480
|
|
|
1478
1481
|
#### :bug: Bug Fix
|
|
1479
1482
|
|
|
1480
|
-
-
|
|
1483
|
+
- Quick fix bug with webpack output.clean=true.
|
|
1481
1484
|
|
|
1482
1485
|
## 3.19.2
|
|
1483
1486
|
|
|
1484
1487
|
#### :bug: Bug Fix
|
|
1485
1488
|
|
|
1486
|
-
-
|
|
1489
|
+
- Big bugfix in es2021 version, sideEffect cut all styles and configs
|
|
1487
1490
|
|
|
1488
1491
|
## 3.19.1
|
|
1489
1492
|
|
|
1490
1493
|
#### :house: Internal
|
|
1491
1494
|
|
|
1492
|
-
-
|
|
1493
|
-
-
|
|
1494
|
-
|
|
1495
|
-
-
|
|
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
|
|
1496
1499
|
```
|
|
1497
1500
|
@types/node ^17.0.36 → ^17.0.41
|
|
1498
1501
|
@typescript-eslint/eslint-plugin ^5.27.0 → ^5.27.1
|
|
@@ -1511,26 +1514,26 @@ Jodit.make('#editor', {
|
|
|
1511
1514
|
|
|
1512
1515
|
#### :rocket: New Feature
|
|
1513
1516
|
|
|
1514
|
-
-
|
|
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)
|
|
1515
1518
|
|
|
1516
1519
|
#### :bug: Bug Fix
|
|
1517
1520
|
|
|
1518
|
-
-
|
|
1519
|
-
-
|
|
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)
|
|
1520
1523
|
|
|
1521
1524
|
## 3.18.6
|
|
1522
1525
|
|
|
1523
1526
|
#### :rocket: New Feature
|
|
1524
1527
|
|
|
1525
|
-
-
|
|
1526
|
-
|
|
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)
|
|
1527
1530
|
> This plugin is not included in the main Jodit build. It must be connected separately [Подробнее](./src/plugins/speech-recognize/README.md)
|
|
1528
1531
|
|
|
1529
1532
|
## 3.18.5
|
|
1530
1533
|
|
|
1531
1534
|
#### :boom: Breaking Change
|
|
1532
1535
|
|
|
1533
|
-
-
|
|
1536
|
+
- Added default table style to `createAttributes` option:
|
|
1534
1537
|
|
|
1535
1538
|
```js
|
|
1536
1539
|
Jodit.defaultOptions.createAttributes = {
|
|
@@ -1542,17 +1545,17 @@ Jodit.defaultOptions.createAttributes = {
|
|
|
1542
1545
|
|
|
1543
1546
|
#### :bug: Bug Fix
|
|
1544
1547
|
|
|
1545
|
-
-
|
|
1546
|
-
-
|
|
1547
|
-
-
|
|
1548
|
-
-
|
|
1549
|
-
-
|
|
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)
|
|
1550
1553
|
|
|
1551
1554
|
## 3.18.4
|
|
1552
1555
|
|
|
1553
1556
|
#### :rocket: New Feature
|
|
1554
1557
|
|
|
1555
|
-
-
|
|
1558
|
+
- Added option `uploader.processFileName` - The method can be used to change the name of the uploaded file
|
|
1556
1559
|
|
|
1557
1560
|
```js
|
|
1558
1561
|
Jodit.make('#editor', {
|
|
@@ -1565,13 +1568,13 @@ Jodit.make('#editor', {
|
|
|
1565
1568
|
});
|
|
1566
1569
|
```
|
|
1567
1570
|
|
|
1568
|
-
-
|
|
1571
|
+
- Fixed file naming error when uploading to server
|
|
1569
1572
|
|
|
1570
1573
|
## 3.18.3
|
|
1571
1574
|
|
|
1572
1575
|
#### :bug: Bug Fix
|
|
1573
1576
|
|
|
1574
|
-
-
|
|
1577
|
+
- Fixed a bug where pressing `Esc` did not close the dialog
|
|
1575
1578
|
|
|
1576
1579
|
## 3.18.2
|
|
1577
1580
|
|
|
@@ -1619,25 +1622,25 @@ editor.e.on(['click', 'mousedown', 'mouseup'], () => {
|
|
|
1619
1622
|
|
|
1620
1623
|
#### :rocket: New Feature
|
|
1621
1624
|
|
|
1622
|
-
-
|
|
1623
|
-
-
|
|
1624
|
-
-
|
|
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)
|
|
1625
1628
|
|
|
1626
1629
|
#### :bug: Bug Fix
|
|
1627
1630
|
|
|
1628
|
-
-
|
|
1629
|
-
-
|
|
1630
|
-
-
|
|
1631
|
-
-
|
|
1632
|
-
-
|
|
1633
|
-
-
|
|
1634
|
-
-
|
|
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)
|
|
1635
1638
|
|
|
1636
1639
|
#### :house: Internal
|
|
1637
1640
|
|
|
1638
|
-
-
|
|
1639
|
-
-
|
|
1640
|
-
-
|
|
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
|
|
1641
1644
|
|
|
1642
1645
|
```
|
|
1643
1646
|
@types/node ^17.0.23 → ^17.0.31
|
|
@@ -1685,10 +1688,10 @@ If something broke in your assembly, please create an [issue on github](https://
|
|
|
1685
1688
|
|
|
1686
1689
|
#### :bug: Bug Fix
|
|
1687
1690
|
|
|
1688
|
-
-
|
|
1689
|
-
-
|
|
1690
|
-
-
|
|
1691
|
-
-
|
|
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)
|
|
1692
1695
|
|
|
1693
1696
|
```js
|
|
1694
1697
|
const editor = Jodit.make('#editor');
|
|
@@ -1697,7 +1700,7 @@ editor.s.insertHTML('test', false);
|
|
|
1697
1700
|
|
|
1698
1701
|
#### :house: Internal
|
|
1699
1702
|
|
|
1700
|
-
-
|
|
1703
|
+
- Update
|
|
1701
1704
|
|
|
1702
1705
|
```
|
|
1703
1706
|
@typescript-eslint/eslint-plugin ^5.16.0 → ^5.19.0
|
|
@@ -1715,18 +1718,18 @@ yargs ^17.4.0 → ^17.4.1
|
|
|
1715
1718
|
|
|
1716
1719
|
#### :bug: Bug Fix
|
|
1717
1720
|
|
|
1718
|
-
-
|
|
1719
|
-
-
|
|
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)
|
|
1720
1723
|
|
|
1721
1724
|
## 3.16.5
|
|
1722
1725
|
|
|
1723
1726
|
#### :rocket: New Feature
|
|
1724
1727
|
|
|
1725
|
-
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
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)
|
|
1730
1733
|
|
|
1731
1734
|
In this case, `Jodit.value` returns images with `data-uri`. And original `textarea` itself does the reverse replacement take place.
|
|
1732
1735
|
|
|
@@ -1744,11 +1747,11 @@ console.log(editor.getElementValue()); // '<p><img src="data:image/png;base64,iV
|
|
|
1744
1747
|
console.log(editor.getNativeEditorValue()); // <p><img src="blob:http://localhost:2000/03377cf0-6260-4351-82ad-8a8901ea104f"></p>
|
|
1745
1748
|
```
|
|
1746
1749
|
|
|
1747
|
-
-
|
|
1750
|
+
- Method `Jodit.setElementValue` marked us deprecated and will be removed in next major release.
|
|
1748
1751
|
|
|
1749
1752
|
#### :house: Internal
|
|
1750
1753
|
|
|
1751
|
-
-
|
|
1754
|
+
- Update
|
|
1752
1755
|
|
|
1753
1756
|
```
|
|
1754
1757
|
@types/node ^17.0.21 → ^17.0.23
|
|
@@ -1769,60 +1772,60 @@ yargs ^17.3.1 → ^17.4.0
|
|
|
1769
1772
|
|
|
1770
1773
|
#### :bug: Bug Fix
|
|
1771
1774
|
|
|
1772
|
-
-
|
|
1773
|
-
-
|
|
1774
|
-
-
|
|
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))
|
|
1775
1778
|
|
|
1776
1779
|
## 3.16.3
|
|
1777
1780
|
|
|
1778
|
-
-
|
|
1781
|
+
- Fixed composition `wait` and `debounce` decorators
|
|
1779
1782
|
|
|
1780
1783
|
## 3.16.2
|
|
1781
1784
|
|
|
1782
1785
|
#### :bug: Bug Fix
|
|
1783
1786
|
|
|
1784
|
-
-
|
|
1787
|
+
- ["Uncaught TypeError: this.setEditorValue is not a function" with Japanese input method #807](https://github.com/xdan/jodit/issues/807)
|
|
1785
1788
|
|
|
1786
1789
|
## 3.16.1
|
|
1787
1790
|
|
|
1788
1791
|
#### :rocket: New Feature
|
|
1789
1792
|
|
|
1790
|
-
-
|
|
1791
|
-
-
|
|
1792
|
-
-
|
|
1793
|
-
-
|
|
1794
|
-
-
|
|
1795
|
-
-
|
|
1796
|
-
-
|
|
1797
|
-
-
|
|
1798
|
-
-
|
|
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
|
|
1799
1802
|
|
|
1800
1803
|
#### :boom: Breaking Change
|
|
1801
1804
|
|
|
1802
|
-
-
|
|
1803
|
-
-
|
|
1804
|
-
-
|
|
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
|
|
1805
1808
|
|
|
1806
1809
|
#### :bug: Bug Fix
|
|
1807
1810
|
|
|
1808
|
-
-
|
|
1809
|
-
-
|
|
1810
|
-
-
|
|
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)
|
|
1811
1814
|
|
|
1812
1815
|
#### :house: Internal
|
|
1813
1816
|
|
|
1814
|
-
-
|
|
1817
|
+
- `clean-html` plugin now works via `requestIdleCallback` and doesn't slow down the browser
|
|
1815
1818
|
|
|
1816
1819
|
## 3.15.3
|
|
1817
1820
|
|
|
1818
1821
|
#### :boom: Breaking Change
|
|
1819
1822
|
|
|
1820
|
-
-
|
|
1821
|
-
-
|
|
1822
|
-
-
|
|
1823
|
-
-
|
|
1824
|
-
-
|
|
1825
|
-
|
|
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
|
|
1826
1829
|
|
|
1827
1830
|
Before:
|
|
1828
1831
|
|
|
@@ -1851,109 +1854,109 @@ console.log(editor.defaultTimeout); // 122
|
|
|
1851
1854
|
editor.history.clear();
|
|
1852
1855
|
```
|
|
1853
1856
|
|
|
1854
|
-
-
|
|
1855
|
-
|
|
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
|
|
1856
1859
|
|
|
1857
1860
|
#### :bug: Bug Fix
|
|
1858
1861
|
|
|
1859
|
-
-
|
|
1862
|
+
- [Colors popup closes when I select the secondary tab (Text) #171](https://github.com/jodit/jodit-react/issues/171)
|
|
1860
1863
|
|
|
1861
1864
|
## 3.15.2
|
|
1862
1865
|
|
|
1863
|
-
-
|
|
1864
|
-
-
|
|
1865
|
-
-
|
|
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)
|
|
1866
1869
|
|
|
1867
1870
|
## 3.15.1
|
|
1868
1871
|
|
|
1869
1872
|
#### :rocket: New Feature
|
|
1870
1873
|
|
|
1871
|
-
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
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)
|
|
1875
1878
|
> Method called before copy/cut/selectall operations
|
|
1876
1879
|
|
|
1877
1880
|
#### :house: Internal
|
|
1878
1881
|
|
|
1879
|
-
-
|
|
1880
|
-
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
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
|
|
1894
1897
|
|
|
1895
1898
|
## 3.14.2
|
|
1896
1899
|
|
|
1897
1900
|
#### :rocket: New Feature
|
|
1898
1901
|
|
|
1899
|
-
-
|
|
1902
|
+
- Added an experimental module for working with VDom<->Dom, an attempt to switch to this technology in the editor
|
|
1900
1903
|
|
|
1901
1904
|
#### :house: Internal
|
|
1902
1905
|
|
|
1903
|
-
-
|
|
1904
|
-
-
|
|
1905
|
-
-
|
|
1906
|
-
-
|
|
1907
|
-
-
|
|
1908
|
-
-
|
|
1909
|
-
-
|
|
1910
|
-
-
|
|
1911
|
-
-
|
|
1912
|
-
-
|
|
1913
|
-
-
|
|
1914
|
-
-
|
|
1915
|
-
-
|
|
1916
|
-
-
|
|
1917
|
-
-
|
|
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
|
|
1918
1921
|
|
|
1919
1922
|
## 3.14.1
|
|
1920
1923
|
|
|
1921
1924
|
#### :house: Internal
|
|
1922
1925
|
|
|
1923
|
-
-
|
|
1926
|
+
- [(change) improved a few german translations #783](https://github.com/xdan/jodit/pull/783)
|
|
1924
1927
|
|
|
1925
1928
|
#### :boom: Breaking Change
|
|
1926
1929
|
|
|
1927
|
-
-
|
|
1928
|
-
-
|
|
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
|
|
1929
1932
|
|
|
1930
1933
|
#### :bug: Bug Fix
|
|
1931
1934
|
|
|
1932
|
-
-
|
|
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)
|
|
1933
1936
|
|
|
1934
1937
|
## 3.13.5
|
|
1935
1938
|
|
|
1936
1939
|
#### :bug: Bug Fix
|
|
1937
1940
|
|
|
1938
|
-
-
|
|
1941
|
+
- [Unable to drag and drop image between table cells #782](https://github.com/xdan/jodit/issues/782)
|
|
1939
1942
|
|
|
1940
1943
|
## 3.13.4
|
|
1941
1944
|
|
|
1942
1945
|
#### :rocket: New Feature
|
|
1943
1946
|
|
|
1944
|
-
-
|
|
1947
|
+
- Plugin for setting line spacing
|
|
1945
1948
|
|
|
1946
1949
|
#### :bug: Bug Fix
|
|
1947
1950
|
|
|
1948
|
-
-
|
|
1951
|
+
- [Previewing data not showing table content #780](https://github.com/xdan/jodit/issues/780)
|
|
1949
1952
|
|
|
1950
1953
|
## 3.13.2
|
|
1951
1954
|
|
|
1952
1955
|
#### :rocket: New Feature
|
|
1953
1956
|
|
|
1954
|
-
-
|
|
1955
|
-
|
|
1956
|
-
-
|
|
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
|
|
1957
1960
|
|
|
1958
1961
|
```js
|
|
1959
1962
|
const area = document.getElementById('editor');
|
|
@@ -1966,15 +1969,15 @@ console.log(Jodit.isJoditAssigned(area)); // false
|
|
|
1966
1969
|
|
|
1967
1970
|
#### :bug: Bug Fix
|
|
1968
1971
|
|
|
1969
|
-
-
|
|
1970
|
-
-
|
|
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)
|
|
1971
1974
|
|
|
1972
1975
|
## 3.13.1
|
|
1973
1976
|
|
|
1974
1977
|
#### :boom: Breaking Change
|
|
1975
1978
|
|
|
1976
|
-
-
|
|
1977
|
-
-
|
|
1979
|
+
- `ObserveObject` removed
|
|
1980
|
+
- Added `observable` function which makes object observable. In this case, the function returns the same object.
|
|
1978
1981
|
|
|
1979
1982
|
```js
|
|
1980
1983
|
const obj = {
|
|
@@ -2010,13 +2013,13 @@ obj.b.c = 8;
|
|
|
2010
2013
|
|
|
2011
2014
|
#### :bug: Bug Fix
|
|
2012
2015
|
|
|
2013
|
-
-
|
|
2016
|
+
- Fixed autotest in Chrome on Windows
|
|
2014
2017
|
|
|
2015
2018
|
## 3.12.5
|
|
2016
2019
|
|
|
2017
2020
|
#### :rocket: New Feature
|
|
2018
2021
|
|
|
2019
|
-
-
|
|
2022
|
+
- Added options `safeMode:boolean` and `safePluginsList:string[]` for debugging
|
|
2020
2023
|
|
|
2021
2024
|
```js
|
|
2022
2025
|
Jodit.make('#editor', {
|
|
@@ -2029,17 +2032,17 @@ Only one plugin will be activated. Convenient for debugging and your plugins, yo
|
|
|
2029
2032
|
|
|
2030
2033
|
#### :bug: Bug Fix
|
|
2031
2034
|
|
|
2032
|
-
-
|
|
2035
|
+
- Fixed a bug due to which Jodit did not work in ie11, + added a polyfill for the iterator
|
|
2033
2036
|
|
|
2034
2037
|
## 3.12.3
|
|
2035
2038
|
|
|
2036
|
-
-
|
|
2039
|
+
- [Fixed Full Screen showing elements not part of editable content #763](Issue: https://github.com/xdan/jodit/issues/763)
|
|
2037
2040
|
|
|
2038
2041
|
#### :rocket: New Feature
|
|
2039
2042
|
|
|
2040
|
-
-
|
|
2041
|
-
-
|
|
2042
|
-
|
|
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.
|
|
2043
2046
|
|
|
2044
2047
|
> memorizeChoiceWhenPasteFragment = false, by default, it is Breaking change
|
|
2045
2048
|
|
|
@@ -2047,7 +2050,7 @@ Only one plugin will be activated. Convenient for debugging and your plugins, yo
|
|
|
2047
2050
|
|
|
2048
2051
|
#### :boom: Breaking Change
|
|
2049
2052
|
|
|
2050
|
-
-
|
|
2053
|
+
- `ObserveObject` renamed to `ObservableObject`
|
|
2051
2054
|
|
|
2052
2055
|
```js
|
|
2053
2056
|
const obj = { a: 1, b: 2 };
|
|
@@ -2057,40 +2060,40 @@ observed.on('change', (oldV, newV) => console.log(oldV, newV));
|
|
|
2057
2060
|
observed.a = 5;
|
|
2058
2061
|
```
|
|
2059
2062
|
|
|
2060
|
-
-
|
|
2063
|
+
- [Replace additional newlines by HTML line breaks. #770](https://github.com/xdan/jodit/pull/770)
|
|
2061
2064
|
|
|
2062
2065
|
#### :bug: Bug Fix
|
|
2063
2066
|
|
|
2064
|
-
-
|
|
2067
|
+
- [New lines are removed when pasting plain text in the jodit editor #755](https://github.com/xdan/jodit/issues/755)
|
|
2065
2068
|
|
|
2066
2069
|
#### :rocket: New Feature
|
|
2067
2070
|
|
|
2068
|
-
-
|
|
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)
|
|
2069
2072
|
|
|
2070
2073
|
## 3.11.2
|
|
2071
2074
|
|
|
2072
2075
|
#### :bug: Bug Fix
|
|
2073
2076
|
|
|
2074
|
-
-
|
|
2077
|
+
- Fixed a bug when resizing images whose size was specified in the style attribute - the size did not change
|
|
2075
2078
|
|
|
2076
2079
|
## 3.11.1
|
|
2077
2080
|
|
|
2078
2081
|
#### :boom: Breaking Change
|
|
2079
2082
|
|
|
2080
|
-
-
|
|
2083
|
+
- Plugin `Delete` renamed to` Backspace`. And it is highly refractory.
|
|
2081
2084
|
|
|
2082
2085
|
#### :rocket: New Feature
|
|
2083
2086
|
|
|
2084
|
-
-
|
|
2085
|
-
-
|
|
2087
|
+
- Open localhost in browser on `npm start`
|
|
2088
|
+
- Added `Async.prototype.delay` method
|
|
2086
2089
|
|
|
2087
2090
|
```js
|
|
2088
2091
|
await editor.async.delay(1000);
|
|
2089
2092
|
alert('Alert after 1s');
|
|
2090
2093
|
```
|
|
2091
2094
|
|
|
2092
|
-
-
|
|
2093
|
-
-
|
|
2095
|
+
- Added `Ajax.options.responseType` option `XMLHttpRequestResponseType`
|
|
2096
|
+
- Added `Response.prototype.blob()` method
|
|
2094
2097
|
|
|
2095
2098
|
```js
|
|
2096
2099
|
const ajax = new Jodit.modules.Ajax({ responseType: 'blob' });
|
|
@@ -2099,16 +2102,16 @@ await ajax.send().then(resp => resp.blob());
|
|
|
2099
2102
|
|
|
2100
2103
|
#### :bug: Bug Fix
|
|
2101
2104
|
|
|
2102
|
-
-
|
|
2103
|
-
-
|
|
2104
|
-
-
|
|
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)
|
|
2105
2108
|
|
|
2106
2109
|
## 3.10.2
|
|
2107
2110
|
|
|
2108
2111
|
#### :boom: Breaking Change
|
|
2109
2112
|
|
|
2110
|
-
-
|
|
2111
|
-
|
|
2113
|
+
- The hotkeys have been castled in the Delete plugin:
|
|
2114
|
+
Was:
|
|
2112
2115
|
|
|
2113
2116
|
```js
|
|
2114
2117
|
const hotkeys = {
|
|
@@ -2135,17 +2138,17 @@ const hotkeys = {
|
|
|
2135
2138
|
|
|
2136
2139
|
#### :bug: Bug Fix
|
|
2137
2140
|
|
|
2138
|
-
-
|
|
2141
|
+
- fixed sync between WYSIWYG and source editor
|
|
2139
2142
|
|
|
2140
2143
|
## 3.10.1
|
|
2141
2144
|
|
|
2142
2145
|
#### :boom: Breaking Change
|
|
2143
2146
|
|
|
2144
|
-
-
|
|
2145
|
-
-
|
|
2146
|
-
|
|
2147
|
-
-
|
|
2148
|
-
-
|
|
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
|
|
2149
2152
|
|
|
2150
2153
|
```js
|
|
2151
2154
|
const dialog = new Jodit.modules.Dialog();
|
|
@@ -2155,16 +2158,16 @@ dialog.e.on('beforeClose', () => confirm('Are you sure?'));
|
|
|
2155
2158
|
|
|
2156
2159
|
#### :bug: Bug Fix
|
|
2157
2160
|
|
|
2158
|
-
-
|
|
2161
|
+
- fix: Proxy blur event to parent triggered on the ACE editor
|
|
2159
2162
|
|
|
2160
2163
|
## 3.9.5
|
|
2161
2164
|
|
|
2162
2165
|
#### :rocket: New Feature
|
|
2163
2166
|
|
|
2164
|
-
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
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:
|
|
2168
2171
|
|
|
2169
2172
|
```js
|
|
2170
2173
|
const editor = Jodit.make('#editor', {
|
|
@@ -2188,15 +2191,15 @@ editor.toolbar.hide();
|
|
|
2188
2191
|
editor.toolbar.show();
|
|
2189
2192
|
```
|
|
2190
2193
|
|
|
2191
|
-
-
|
|
2194
|
+
- Allow use prototype as component name
|
|
2192
2195
|
|
|
2193
2196
|
```js
|
|
2194
2197
|
console.log(Jodit.modules.UIButton.getFullElName('element')); // jodit-ui-button__element
|
|
2195
2198
|
console.log(Jodit.modules.UIButton.componentName); // jodit-ui-button
|
|
2196
2199
|
```
|
|
2197
2200
|
|
|
2198
|
-
-
|
|
2199
|
-
|
|
2201
|
+
- [Remember last opened folder with FileBrowser #675](https://github.com/xdan/jodit/issues/675)
|
|
2202
|
+
Boolean option `filebrowser.saveStateInStorage` split to dictionary:
|
|
2200
2203
|
|
|
2201
2204
|
```typescript
|
|
2202
2205
|
interface IFileBrowserOptions {
|
|
@@ -2242,10 +2245,10 @@ Jodit.make('#editor', {
|
|
|
2242
2245
|
});
|
|
2243
2246
|
```
|
|
2244
2247
|
|
|
2245
|
-
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
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.
|
|
2249
2252
|
|
|
2250
2253
|
```js
|
|
2251
2254
|
Jodit.make('#editor', {
|
|
@@ -2267,31 +2270,31 @@ Jodit.make('#editor', {
|
|
|
2267
2270
|
|
|
2268
2271
|
#### :rocket: New Feature
|
|
2269
2272
|
|
|
2270
|
-
-
|
|
2271
|
-
-
|
|
2272
|
-
-
|
|
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
|
|
2273
2276
|
|
|
2274
2277
|
#### :bug: Bug Fix
|
|
2275
2278
|
|
|
2276
|
-
-
|
|
2277
|
-
-
|
|
2278
|
-
-
|
|
2279
|
-
-
|
|
2280
|
-
-
|
|
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)
|
|
2281
2284
|
|
|
2282
2285
|
## 3.9.3
|
|
2283
2286
|
|
|
2284
2287
|
#### :boom: Breaking Change
|
|
2285
2288
|
|
|
2286
|
-
-
|
|
2287
|
-
|
|
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.
|
|
2288
2291
|
|
|
2289
2292
|
## 3.9.1
|
|
2290
2293
|
|
|
2291
2294
|
#### :boom: Breaking Change
|
|
2292
2295
|
|
|
2293
|
-
-
|
|
2294
|
-
-
|
|
2296
|
+
- Removed `Travis.CI` 👋👋👋
|
|
2297
|
+
- `EventsNative` module - renamed to `EventEmitter`
|
|
2295
2298
|
|
|
2296
2299
|
```js
|
|
2297
2300
|
const editor = Jodit.make('#editor');
|
|
@@ -2301,13 +2304,13 @@ console.log(editor.events instanceof Jodit.modules.EventEmitter); // true
|
|
|
2301
2304
|
console.log(editor.events instanceof Jodit.modules.EventsNative); // true, deprecated
|
|
2302
2305
|
```
|
|
2303
2306
|
|
|
2304
|
-
-
|
|
2307
|
+
- BOOM: Move Ajax class into `request` folder.
|
|
2305
2308
|
|
|
2306
2309
|
```js
|
|
2307
2310
|
import { Ajax } from 'jodit/core/request';
|
|
2308
2311
|
```
|
|
2309
2312
|
|
|
2310
|
-
-
|
|
2313
|
+
- Changed the signature of the send method in the Ajax API and is closer to the fetch () API
|
|
2311
2314
|
|
|
2312
2315
|
```js
|
|
2313
2316
|
const editor = Jodit.make('#editor');
|
|
@@ -2325,17 +2328,17 @@ await new Ajax(editor, {
|
|
|
2325
2328
|
.then(resp => resp.json()); // {success: true, data: ...}
|
|
2326
2329
|
```
|
|
2327
2330
|
|
|
2328
|
-
-
|
|
2329
|
-
-
|
|
2330
|
-
-
|
|
2331
|
-
-
|
|
2332
|
-
-
|
|
2333
|
-
-
|
|
2334
|
-
-
|
|
2335
|
-
-
|
|
2336
|
-
-
|
|
2337
|
-
-
|
|
2338
|
-
-
|
|
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
|
|
2339
2342
|
|
|
2340
2343
|
#### :rocket: New Feature
|
|
2341
2344
|
|
|
@@ -2364,39 +2367,39 @@ while (!next2.done) {
|
|
|
2364
2367
|
|
|
2365
2368
|
#### :bug: Bug Fix
|
|
2366
2369
|
|
|
2367
|
-
-
|
|
2368
|
-
-
|
|
2369
|
-
-
|
|
2370
|
-
-
|
|
2371
|
-
-
|
|
2372
|
-
-
|
|
2373
|
-
-
|
|
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)
|
|
2374
2377
|
|
|
2375
2378
|
## 3.8.5
|
|
2376
2379
|
|
|
2377
2380
|
#### :house: Internal
|
|
2378
2381
|
|
|
2379
|
-
-
|
|
2380
|
-
|
|
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.
|
|
2381
2384
|
|
|
2382
2385
|
#### :bug: Bug Fix
|
|
2383
2386
|
|
|
2384
|
-
-
|
|
2385
|
-
-
|
|
2386
|
-
-
|
|
2387
|
-
-
|
|
2388
|
-
-
|
|
2389
|
-
-
|
|
2390
|
-
-
|
|
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)
|
|
2391
2394
|
|
|
2392
2395
|
## 3.8.4
|
|
2393
2396
|
|
|
2394
2397
|
#### :rocket: New Feature
|
|
2395
2398
|
|
|
2396
|
-
-
|
|
2397
|
-
-
|
|
2398
|
-
-
|
|
2399
|
-
-
|
|
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
|
|
2400
2403
|
|
|
2401
2404
|
```js
|
|
2402
2405
|
const editor = Jodit.make('#editor');
|
|
@@ -2416,8 +2419,8 @@ editor.value = '3'; // Console '3'
|
|
|
2416
2419
|
|
|
2417
2420
|
#### :boom: Breaking Change
|
|
2418
2421
|
|
|
2419
|
-
-
|
|
2420
|
-
-
|
|
2422
|
+
- beforeSetNativeEditorValue - get object {value: string} and can change value
|
|
2423
|
+
- Added `resizer.forImageChangeAttributes=true` option. Issue: https://github.com/xdan/jodit/issues/696
|
|
2421
2424
|
|
|
2422
2425
|
```js
|
|
2423
2426
|
// Disable
|
|
@@ -2430,21 +2433,21 @@ Jodit.make('#editor', {
|
|
|
2430
2433
|
|
|
2431
2434
|
#### :house: Internal
|
|
2432
2435
|
|
|
2433
|
-
-
|
|
2436
|
+
- The Source button has been moved to the depth of the toolbar as it is not cool for the WYSIWYG editor
|
|
2434
2437
|
|
|
2435
2438
|
#### :bug: Bug Fix
|
|
2436
2439
|
|
|
2437
|
-
-
|
|
2438
|
-
-
|
|
2439
|
-
-
|
|
2440
|
-
-
|
|
2441
|
-
-
|
|
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
|
|
2442
2445
|
|
|
2443
2446
|
## 3.8.1
|
|
2444
2447
|
|
|
2445
2448
|
#### :boom: Breaking Change
|
|
2446
2449
|
|
|
2447
|
-
-
|
|
2450
|
+
- Rename `Style` to `CommitStyle`
|
|
2448
2451
|
|
|
2449
2452
|
```js
|
|
2450
2453
|
const editor = Jodit.make('#editor');
|
|
@@ -2459,7 +2462,7 @@ editor.execCommand('selectall');
|
|
|
2459
2462
|
style.apply(editor);
|
|
2460
2463
|
```
|
|
2461
2464
|
|
|
2462
|
-
-
|
|
2465
|
+
- `Dom` refactoring: from `isNode`,`isElement`,`isHTMLElement` removed `Window` argument.
|
|
2463
2466
|
|
|
2464
2467
|
Before
|
|
2465
2468
|
|
|
@@ -2485,9 +2488,9 @@ Dom.isNode(editor.ed.body); // true
|
|
|
2485
2488
|
|
|
2486
2489
|
#### :rocket: New Feature
|
|
2487
2490
|
|
|
2488
|
-
-
|
|
2489
|
-
-
|
|
2490
|
-
|
|
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
|
|
2491
2494
|
```js
|
|
2492
2495
|
const editor = Jodit.make('#editor', {
|
|
2493
2496
|
styleValues: {
|
|
@@ -2501,28 +2504,28 @@ Dom.isNode(editor.ed.body); // true
|
|
|
2501
2504
|
|
|
2502
2505
|
#### :bug: Bug Fix
|
|
2503
2506
|
|
|
2504
|
-
-
|
|
2505
|
-
-
|
|
2506
|
-
-
|
|
2507
|
-
-
|
|
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)
|
|
2508
2511
|
|
|
2509
2512
|
## 3.7.1
|
|
2510
2513
|
|
|
2511
2514
|
#### :boom: Breaking Change
|
|
2512
2515
|
|
|
2513
|
-
-
|
|
2514
|
-
-
|
|
2515
|
-
-
|
|
2516
|
-
-
|
|
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.
|
|
2517
2520
|
|
|
2518
2521
|
#### :bug: Bug Fix
|
|
2519
2522
|
|
|
2520
|
-
-
|
|
2521
|
-
-
|
|
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
|
|
2522
2525
|
|
|
2523
2526
|
#### :rocket: New Feature
|
|
2524
2527
|
|
|
2525
|
-
-
|
|
2528
|
+
- Added `idle` decorator - allow wrap class method in `requestIdleCallback`
|
|
2526
2529
|
|
|
2527
2530
|
```ts
|
|
2528
2531
|
@component
|
|
@@ -2554,15 +2557,15 @@ Some data
|
|
|
2554
2557
|
|
|
2555
2558
|
#### :bug: Bug Fix
|
|
2556
2559
|
|
|
2557
|
-
-
|
|
2558
|
-
-
|
|
2559
|
-
-
|
|
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)
|
|
2560
2563
|
|
|
2561
2564
|
## 3.6.17
|
|
2562
2565
|
|
|
2563
2566
|
#### :rocket: New Feature
|
|
2564
2567
|
|
|
2565
|
-
-
|
|
2568
|
+
- Added `IJodit.waitForReady(): Promise<IJodit>` method.
|
|
2566
2569
|
|
|
2567
2570
|
```js
|
|
2568
2571
|
const jodit = Jodit.make('#editor', {
|
|
@@ -2580,44 +2583,44 @@ jodit.e.fire('someAsyncLoadedPluginEvent', test => {
|
|
|
2580
2583
|
|
|
2581
2584
|
#### :bug: Bug Fix
|
|
2582
2585
|
|
|
2583
|
-
-
|
|
2586
|
+
- Fixed selection restoring after blur and set source mode.
|
|
2584
2587
|
|
|
2585
2588
|
## 3.6.15
|
|
2586
2589
|
|
|
2587
2590
|
#### :bug: Bug Fix
|
|
2588
2591
|
|
|
2589
|
-
-
|
|
2592
|
+
- Fixed bug with fixed width and auto height resizing
|
|
2590
2593
|
|
|
2591
2594
|
## 3.6.13
|
|
2592
2595
|
|
|
2593
2596
|
#### :bug: Bug Fix
|
|
2594
2597
|
|
|
2595
|
-
-
|
|
2598
|
+
- Hot fix `focus` plugin + `Select`.`save` deny set focus in another place.
|
|
2596
2599
|
|
|
2597
2600
|
#### :rocket: New Feature
|
|
2598
2601
|
|
|
2599
|
-
-
|
|
2602
|
+
- Added `Select`.`hasMarkers` method.
|
|
2600
2603
|
|
|
2601
2604
|
## 3.6.12
|
|
2602
2605
|
|
|
2603
2606
|
#### :rocket: New Feature
|
|
2604
2607
|
|
|
2605
|
-
-
|
|
2606
|
-
|
|
2607
|
-
|
|
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)
|
|
2608
2611
|
|
|
2609
|
-
-
|
|
2610
|
-
|
|
2612
|
+
- Added `saveSelectionOnBlur=true` option inside `autofocus` plugin. Allow restore position after editor has focus after
|
|
2613
|
+
blur.
|
|
2611
2614
|
|
|
2612
2615
|
#### :house: Internal
|
|
2613
2616
|
|
|
2614
|
-
-
|
|
2617
|
+
- Renamed `autofocus` > `focus` plugin.
|
|
2615
2618
|
|
|
2616
2619
|
#### :boom: Breaking Change
|
|
2617
2620
|
|
|
2618
|
-
-
|
|
2619
|
-
-
|
|
2620
|
-
|
|
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.
|
|
2621
2624
|
|
|
2622
2625
|
Earlier
|
|
2623
2626
|
|
|
@@ -2640,20 +2643,20 @@ editor.s.restore();
|
|
|
2640
2643
|
|
|
2641
2644
|
#### :bug: Bug Fix
|
|
2642
2645
|
|
|
2643
|
-
-
|
|
2644
|
-
-
|
|
2645
|
-
-
|
|
2646
|
-
-
|
|
2647
|
-
-
|
|
2648
|
-
-
|
|
2649
|
-
-
|
|
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
|
|
2650
2653
|
|
|
2651
2654
|
## 3.6.10
|
|
2652
2655
|
|
|
2653
2656
|
#### :rocket: New Feature
|
|
2654
2657
|
|
|
2655
|
-
-
|
|
2656
|
-
-
|
|
2658
|
+
- [Video alignment request #646](https://github.com/xdan/jodit/issues/646)
|
|
2659
|
+
- Set `component` property for source textarea with Jodit instance.
|
|
2657
2660
|
|
|
2658
2661
|
```html
|
|
2659
2662
|
<textarea id="editor" cols="30" rows="10"></textarea>
|
|
@@ -2666,24 +2669,24 @@ editor.s.restore();
|
|
|
2666
2669
|
|
|
2667
2670
|
#### :bug: Bug Fix
|
|
2668
2671
|
|
|
2669
|
-
-
|
|
2670
|
-
-
|
|
2671
|
-
-
|
|
2672
|
-
-
|
|
2673
|
-
-
|
|
2674
|
-
-
|
|
2675
|
-
-
|
|
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)
|
|
2676
2679
|
|
|
2677
2680
|
## 3.6.7
|
|
2678
2681
|
|
|
2679
2682
|
#### :bug: Bug Fix
|
|
2680
2683
|
|
|
2681
|
-
-
|
|
2684
|
+
- When deleting a file via the context menu - the list of files was not updated.
|
|
2682
2685
|
|
|
2683
2686
|
#### :rocket: New Feature
|
|
2684
2687
|
|
|
2685
|
-
-
|
|
2686
|
-
|
|
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.
|
|
2687
2690
|
|
|
2688
2691
|
```js
|
|
2689
2692
|
const editor = Jodit.make('#editor', {
|
|
@@ -2737,8 +2740,8 @@ editor.e.on('getInstanceFileBrowser', options => {
|
|
|
2737
2740
|
|
|
2738
2741
|
#### :boom: Breaking Change
|
|
2739
2742
|
|
|
2740
|
-
-
|
|
2741
|
-
|
|
2743
|
+
- Removed options: `useIframeResizer`, `useImgResizer`, `useTableResizer` from `resizer` plugin. Instead,
|
|
2744
|
+
added `allowResizeTags`.
|
|
2742
2745
|
|
|
2743
2746
|
```js
|
|
2744
2747
|
Config.prototype.allowResizeTags = ['img', 'iframe', 'table', 'jodit'];
|
|
@@ -2748,25 +2751,25 @@ Config.prototype.allowResizeTags = ['img', 'iframe', 'table', 'jodit'];
|
|
|
2748
2751
|
|
|
2749
2752
|
#### :bug: Bug Fix
|
|
2750
2753
|
|
|
2751
|
-
-
|
|
2752
|
-
-
|
|
2753
|
-
-
|
|
2754
|
-
-
|
|
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.
|
|
2755
2758
|
|
|
2756
2759
|
## 3.6.1
|
|
2757
2760
|
|
|
2758
2761
|
#### :bug: Bug Fix
|
|
2759
2762
|
|
|
2760
|
-
-
|
|
2761
|
-
-
|
|
2762
|
-
-
|
|
2763
|
-
-
|
|
2764
|
-
-
|
|
2765
|
-
-
|
|
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)
|
|
2766
2769
|
|
|
2767
2770
|
#### :rocket: New Feature
|
|
2768
2771
|
|
|
2769
|
-
-
|
|
2772
|
+
- Added `classSpan` plugin. Applying some className to selected text. Thanks https://github.com/s-renier-taonix-fr
|
|
2770
2773
|
|
|
2771
2774
|
```js
|
|
2772
2775
|
const editor = new Jodit('#editor', {
|
|
@@ -2784,8 +2787,8 @@ const editor = new Jodit('#editor', {
|
|
|
2784
2787
|
});
|
|
2785
2788
|
```
|
|
2786
2789
|
|
|
2787
|
-
-
|
|
2788
|
-
-
|
|
2790
|
+
- Added `UIFileInput` element.
|
|
2791
|
+
- Added `UIButtonGroup` element.
|
|
2789
2792
|
|
|
2790
2793
|
```ts
|
|
2791
2794
|
const group = new UIButtonGroup(jodit, {
|
|
@@ -2805,12 +2808,12 @@ const group = new UIButtonGroup(jodit, {
|
|
|
2805
2808
|
|
|
2806
2809
|
#### :house: Internal
|
|
2807
2810
|
|
|
2808
|
-
-
|
|
2809
|
-
-
|
|
2810
|
-
-
|
|
2811
|
-
-
|
|
2812
|
-
-
|
|
2813
|
-
-
|
|
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.
|
|
2814
2817
|
|
|
2815
2818
|
```js
|
|
2816
2819
|
// before
|
|
@@ -2826,12 +2829,12 @@ Jodit.defaultOptions.allowResizeY = false;
|
|
|
2826
2829
|
a.options.allowResizeY; // false
|
|
2827
2830
|
```
|
|
2828
2831
|
|
|
2829
|
-
-
|
|
2830
|
-
-
|
|
2831
|
-
-
|
|
2832
|
-
-
|
|
2833
|
-
-
|
|
2834
|
-
-
|
|
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.
|
|
2835
2838
|
|
|
2836
2839
|
```js
|
|
2837
2840
|
// Before
|
|
@@ -2885,28 +2888,28 @@ and styles
|
|
|
2885
2888
|
|
|
2886
2889
|
#### :bug: Bug Fix
|
|
2887
2890
|
|
|
2888
|
-
-
|
|
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)
|
|
2889
2892
|
|
|
2890
2893
|
## 3.5.3
|
|
2891
2894
|
|
|
2892
2895
|
#### :bug: Bug Fix
|
|
2893
2896
|
|
|
2894
|
-
-
|
|
2897
|
+
- Fixed es2021 version https://github.com/xdan/jodit/issues/585
|
|
2895
2898
|
|
|
2896
2899
|
## 3.5.2
|
|
2897
2900
|
|
|
2898
2901
|
#### :house: Internal
|
|
2899
2902
|
|
|
2900
|
-
-
|
|
2901
|
-
-
|
|
2903
|
+
- Added `async.requestIdleCallback` method https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback.
|
|
2904
|
+
- Focused inputs have box shadow.
|
|
2902
2905
|
|
|
2903
2906
|
#### :bug: Bug Fix
|
|
2904
2907
|
|
|
2905
|
-
-
|
|
2906
|
-
-
|
|
2907
|
-
-
|
|
2908
|
-
-
|
|
2909
|
-
-
|
|
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)
|
|
2910
2913
|
|
|
2911
2914
|
#### :rocket: New Feature
|
|
2912
2915
|
|
|
@@ -2918,8 +2921,8 @@ Execute new command `openLinkDialog`. Related: https://github.com/xdan/jodit/iss
|
|
|
2918
2921
|
|
|
2919
2922
|
#### :house: Internal
|
|
2920
2923
|
|
|
2921
|
-
-
|
|
2922
|
-
-
|
|
2924
|
+
- Removed `useAceEditor` option. [https://github.com/xdan/jodit/issues/544](https://github.com/xdan/jodit/issues/544)
|
|
2925
|
+
- Added `component` and `persistent` decorators
|
|
2923
2926
|
|
|
2924
2927
|
```typescript
|
|
2925
2928
|
import { component, persistent } from './src/core/decorators';
|
|
@@ -2943,21 +2946,21 @@ const item2 = new Item(jodit); // or reload page
|
|
|
2943
2946
|
console.log(item.options); // {some: false}
|
|
2944
2947
|
```
|
|
2945
2948
|
|
|
2946
|
-
-
|
|
2949
|
+
- In `UIInput` added `autocomplete`, `clearButton`, `icon` options.
|
|
2947
2950
|
|
|
2948
2951
|
#### :bug: Bug Fix
|
|
2949
2952
|
|
|
2950
|
-
-
|
|
2951
|
-
-
|
|
2952
|
-
-
|
|
2953
|
-
|
|
2954
|
-
-
|
|
2955
|
-
-
|
|
2956
|
-
-
|
|
2957
|
-
-
|
|
2958
|
-
-
|
|
2959
|
-
-
|
|
2960
|
-
|
|
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.
|
|
2961
2964
|
|
|
2962
2965
|
#### :rocket: New Feature
|
|
2963
2966
|
|
|
@@ -2982,13 +2985,13 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
|
|
|
2982
2985
|
|
|
2983
2986
|
##### New options in `link.plugin`
|
|
2984
2987
|
|
|
2985
|
-
-
|
|
2986
|
-
|
|
2987
|
-
-
|
|
2988
|
-
-
|
|
2989
|
-
-
|
|
2990
|
-
|
|
2991
|
-
-
|
|
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: [
|
|
2992
2995
|
- { value: "", text: "" },
|
|
2993
2996
|
- { value: "val1", text: "text1" },
|
|
2994
2997
|
- { value: "val2", text: "text2" },
|
|
@@ -3080,8 +3083,8 @@ editor.events
|
|
|
3080
3083
|
|
|
3081
3084
|
#### :bug: Bug Fix
|
|
3082
3085
|
|
|
3083
|
-
-
|
|
3084
|
-
-
|
|
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)
|
|
3085
3088
|
|
|
3086
3089
|
#### :rocket: New Feature
|
|
3087
3090
|
|
|
@@ -3128,36 +3131,36 @@ const editor = Jodit.make({
|
|
|
3128
3131
|
|
|
3129
3132
|
## 3.4.27
|
|
3130
3133
|
|
|
3131
|
-
-
|
|
3132
|
-
|
|
3134
|
+
- https://github.com/xdan/jodit/issues/514
|
|
3135
|
+
Run command insertUnorderedList & insertOrderedList should replace all headings (h1, h2, etc.) to ul>li
|
|
3133
3136
|
|
|
3134
3137
|
## 3.4.26
|
|
3135
3138
|
|
|
3136
3139
|
#### :bug: Bug Fix
|
|
3137
3140
|
|
|
3138
|
-
-
|
|
3139
|
-
-
|
|
3140
|
-
-
|
|
3141
|
-
-
|
|
3142
|
-
-
|
|
3143
|
-
-
|
|
3144
|
-
-
|
|
3145
|
-
-
|
|
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
|
|
3146
3149
|
|
|
3147
3150
|
#### :rocket: New Feature
|
|
3148
3151
|
|
|
3149
|
-
-
|
|
3152
|
+
- https://github.com/xdan/jodit/issues/513 allow set percentage and another points inside width and height inputs
|
|
3150
3153
|
|
|
3151
3154
|
## 3.4.25
|
|
3152
3155
|
|
|
3153
|
-
-
|
|
3154
|
-
-
|
|
3155
|
-
-
|
|
3156
|
+
- https://github.com/xdan/jodit/issues/422
|
|
3157
|
+
- https://github.com/xdan/jodit/issues/375
|
|
3158
|
+
- https://github.com/xdan/jodit/issues/343
|
|
3156
3159
|
|
|
3157
3160
|
### Features
|
|
3158
3161
|
|
|
3159
|
-
-
|
|
3160
|
-
|
|
3162
|
+
- https://github.com/xdan/jodit/issues/489
|
|
3163
|
+
In textIcons - besides `boolean`, you can put `function(key: string): boolean`;
|
|
3161
3164
|
|
|
3162
3165
|
```js
|
|
3163
3166
|
const editor = Jodit.make('#editor', {
|
|
@@ -3169,19 +3172,19 @@ const editor = Jodit.make('#editor', {
|
|
|
3169
3172
|
|
|
3170
3173
|
### Bug fixes
|
|
3171
3174
|
|
|
3172
|
-
-
|
|
3173
|
-
-
|
|
3174
|
-
-
|
|
3175
|
-
-
|
|
3176
|
-
-
|
|
3177
|
-
-
|
|
3178
|
-
-
|
|
3179
|
-
-
|
|
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
|
|
3180
3183
|
|
|
3181
3184
|
## 3.4.22
|
|
3182
3185
|
|
|
3183
|
-
-
|
|
3184
|
-
-
|
|
3186
|
+
- https://github.com/xdan/jodit/issues/467
|
|
3187
|
+
- https://github.com/xdan/jodit/issues/466
|
|
3185
3188
|
|
|
3186
3189
|
### Features
|
|
3187
3190
|
|
|
@@ -3196,30 +3199,30 @@ const jodit = Jodit.make('#editor', {
|
|
|
3196
3199
|
|
|
3197
3200
|
## 3.4.18
|
|
3198
3201
|
|
|
3199
|
-
-
|
|
3200
|
-
-
|
|
3201
|
-
-
|
|
3202
|
-
-
|
|
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
|
|
3203
3206
|
|
|
3204
3207
|
## 3.4.16
|
|
3205
3208
|
|
|
3206
3209
|
### Bug fixes
|
|
3207
3210
|
|
|
3208
|
-
-
|
|
3209
|
-
-
|
|
3210
|
-
-
|
|
3211
|
-
-
|
|
3212
|
-
-
|
|
3213
|
-
-
|
|
3214
|
-
-
|
|
3215
|
-
-
|
|
3216
|
-
-
|
|
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
|
|
3217
3220
|
|
|
3218
3221
|
### Features
|
|
3219
3222
|
|
|
3220
|
-
-
|
|
3221
|
-
-
|
|
3222
|
-
|
|
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`
|
|
3223
3226
|
|
|
3224
3227
|
```js
|
|
3225
3228
|
const editor = new Jodit('#editor', {
|
|
@@ -3227,8 +3230,8 @@ const editor = new Jodit('#editor', {
|
|
|
3227
3230
|
});
|
|
3228
3231
|
```
|
|
3229
3232
|
|
|
3230
|
-
-
|
|
3231
|
-
|
|
3233
|
+
- https://github.com/xdan/jodit/issues/449
|
|
3234
|
+
Added `showCharsCounter` options.
|
|
3232
3235
|
|
|
3233
3236
|
```js
|
|
3234
3237
|
const editor = new Jodit('#editor', {
|
|
@@ -3245,23 +3248,23 @@ expect(statusbar.textContent.match(/Chars: 36/)).is.not.null;
|
|
|
3245
3248
|
|
|
3246
3249
|
## 3.4.15
|
|
3247
3250
|
|
|
3248
|
-
-
|
|
3249
|
-
-
|
|
3250
|
-
-
|
|
3251
|
-
-
|
|
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
|
|
3252
3255
|
|
|
3253
3256
|
## 3.4.13
|
|
3254
3257
|
|
|
3255
3258
|
### Bug fixes
|
|
3256
3259
|
|
|
3257
|
-
-
|
|
3260
|
+
- https://github.com/xdan/jodit/issues/379
|
|
3258
3261
|
|
|
3259
3262
|
## 3.4.12
|
|
3260
3263
|
|
|
3261
3264
|
### Bug fixes
|
|
3262
3265
|
|
|
3263
|
-
-
|
|
3264
|
-
|
|
3266
|
+
- https://github.com/xdan/jodit/issues/424
|
|
3267
|
+
Fixed `allowTabNavigation` By default: `false`.
|
|
3265
3268
|
|
|
3266
3269
|
```js
|
|
3267
3270
|
const jodit = new Jodit('#editor', {
|
|
@@ -3269,11 +3272,11 @@ const jodit = new Jodit('#editor', {
|
|
|
3269
3272
|
});
|
|
3270
3273
|
```
|
|
3271
3274
|
|
|
3272
|
-
-
|
|
3273
|
-
-
|
|
3274
|
-
-
|
|
3275
|
-
-
|
|
3276
|
-
-
|
|
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
|
|
3277
3280
|
|
|
3278
3281
|
## 3.4.2
|
|
3279
3282
|
|
|
@@ -3285,27 +3288,27 @@ https://github.com/xdan/jodit/issues/359
|
|
|
3285
3288
|
|
|
3286
3289
|
### Bug fixes
|
|
3287
3290
|
|
|
3288
|
-
-
|
|
3289
|
-
-
|
|
3290
|
-
-
|
|
3291
|
-
-
|
|
3292
|
-
-
|
|
3293
|
-
-
|
|
3294
|
-
-
|
|
3295
|
-
-
|
|
3296
|
-
-
|
|
3297
|
-
-
|
|
3298
|
-
-
|
|
3299
|
-
-
|
|
3300
|
-
-
|
|
3301
|
-
-
|
|
3302
|
-
-
|
|
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
|
|
3303
3306
|
|
|
3304
3307
|
### Features
|
|
3305
3308
|
|
|
3306
|
-
-
|
|
3307
|
-
-
|
|
3308
|
-
|
|
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:
|
|
3309
3312
|
|
|
3310
3313
|
```js
|
|
3311
3314
|
const editor = Jodit.make('#editor', {
|
|
@@ -3313,7 +3316,7 @@ const editor = Jodit.make('#editor', {
|
|
|
3313
3316
|
});
|
|
3314
3317
|
```
|
|
3315
3318
|
|
|
3316
|
-
-
|
|
3319
|
+
- Added `shadowRoot` option for ShadowDom support.
|
|
3317
3320
|
> ACE source editor does not support Shadow Dom
|
|
3318
3321
|
|
|
3319
3322
|
```html
|
|
@@ -3338,7 +3341,7 @@ const editor = Jodit.make(root.getElementById('edit'), {
|
|
|
3338
3341
|
editor.value = '<p>start</p>';
|
|
3339
3342
|
```
|
|
3340
3343
|
|
|
3341
|
-
-
|
|
3344
|
+
- From `NativeEvent.on` method was removed `selector` argument. It was `jQuery.live` style. Example:
|
|
3342
3345
|
|
|
3343
3346
|
```html
|
|
3344
3347
|
<div class="test">
|
|
@@ -3368,14 +3371,14 @@ editor.events.on(document.querySelector('div'), 'click', function (e) {
|
|
|
3368
3371
|
});
|
|
3369
3372
|
```
|
|
3370
3373
|
|
|
3371
|
-
-
|
|
3374
|
+
- `Select.applyCSS` was renamed to `Select.applyStyle`
|
|
3372
3375
|
|
|
3373
3376
|
```js
|
|
3374
3377
|
const editor = Jodit.make('#editor');
|
|
3375
3378
|
editor.s.applyStyle({ color: 'red' }); // will add to all selection text - red color
|
|
3376
3379
|
```
|
|
3377
3380
|
|
|
3378
|
-
-
|
|
3381
|
+
- `FileBrowser`, `Dialog` etc. modules which extend `View` has only one argument in the constructor - options. Before:
|
|
3379
3382
|
|
|
3380
3383
|
```js
|
|
3381
3384
|
const editor = Jodit.make('#editor');
|
|
@@ -3413,7 +3416,7 @@ editor.e.on('beforeDestruct', () => {
|
|
|
3413
3416
|
});
|
|
3414
3417
|
```
|
|
3415
3418
|
|
|
3416
|
-
-
|
|
3419
|
+
- Split `table` plugin on `select-cells` and `resize-cells` plugins. `useTableProcessor` was removed. Instead, use
|
|
3417
3420
|
|
|
3418
3421
|
```js
|
|
3419
3422
|
Jodit.make('#editor', {
|
|
@@ -3427,10 +3430,10 @@ Jodit.make('#editor', {
|
|
|
3427
3430
|
});
|
|
3428
3431
|
```
|
|
3429
3432
|
|
|
3430
|
-
-
|
|
3431
|
-
-
|
|
3432
|
-
-
|
|
3433
|
-
|
|
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:
|
|
3434
3437
|
|
|
3435
3438
|
```js
|
|
3436
3439
|
const button = new UIButton();
|
|
@@ -3448,43 +3451,43 @@ button
|
|
|
3448
3451
|
.appendTo(document.body); // will append it inside the body
|
|
3449
3452
|
```
|
|
3450
3453
|
|
|
3451
|
-
-
|
|
3452
|
-
-
|
|
3453
|
-
-
|
|
3454
|
-
-
|
|
3455
|
-
-
|
|
3456
|
-
-
|
|
3457
|
-
-
|
|
3458
|
-
-
|
|
3459
|
-
-
|
|
3460
|
-
-
|
|
3461
|
-
-
|
|
3462
|
-
-
|
|
3463
|
-
-
|
|
3464
|
-
-
|
|
3465
|
-
-
|
|
3466
|
-
-
|
|
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.
|
|
3467
3470
|
|
|
3468
3471
|
## 3.3.24
|
|
3469
3472
|
|
|
3470
3473
|
### BugFix
|
|
3471
3474
|
|
|
3472
|
-
-
|
|
3473
|
-
-
|
|
3475
|
+
- [342](https://github.com/xdan/jodit/issues/342)
|
|
3476
|
+
- [343](https://github.com/xdan/jodit/issues/343)
|
|
3474
3477
|
|
|
3475
3478
|
## 3.3.23
|
|
3476
3479
|
|
|
3477
3480
|
### BugFix
|
|
3478
3481
|
|
|
3479
|
-
-
|
|
3480
|
-
-
|
|
3481
|
-
-
|
|
3482
|
-
-
|
|
3483
|
-
-
|
|
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)
|
|
3484
3487
|
|
|
3485
3488
|
### Feature
|
|
3486
3489
|
|
|
3487
|
-
-
|
|
3490
|
+
- Added `Dom`.`isTag` method
|
|
3488
3491
|
|
|
3489
3492
|
```js
|
|
3490
3493
|
const editor = Jodit.make('#editor');
|
|
@@ -3496,14 +3499,14 @@ Jodit.modules.Dom.isTag(a, 'a'); // true
|
|
|
3496
3499
|
Jodit.modules.Dom.isTag(br, 'br'); // true
|
|
3497
3500
|
```
|
|
3498
3501
|
|
|
3499
|
-
-
|
|
3502
|
+
- Added `Helpers`.`call` method
|
|
3500
3503
|
|
|
3501
3504
|
```js
|
|
3502
3505
|
const f = Math.random();
|
|
3503
3506
|
Jodit.modules.Helpers.call(f > 0.5 ? Math.ceil : Math.floor, f);
|
|
3504
3507
|
```
|
|
3505
3508
|
|
|
3506
|
-
-
|
|
3509
|
+
- Added `Helpers`.`position` method - Helper function to get an element's exact position
|
|
3507
3510
|
|
|
3508
3511
|
```js
|
|
3509
3512
|
console.log(Jodit.modules.Helpers.position(editor.editor.querySelector('p')));
|
|
@@ -3513,15 +3516,15 @@ console.log(Jodit.modules.Helpers.position(editor.editor.querySelector('p')));
|
|
|
3513
3516
|
|
|
3514
3517
|
### BugFix
|
|
3515
3518
|
|
|
3516
|
-
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
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)
|
|
3521
3524
|
|
|
3522
3525
|
### Feature
|
|
3523
3526
|
|
|
3524
|
-
-
|
|
3527
|
+
- In `link` plugin added `formTemplate` and `formClassName` options [#333](https://github.com/xdan/jodit/issues/333)
|
|
3525
3528
|
|
|
3526
3529
|
```js
|
|
3527
3530
|
const editor = getJodit({
|
|
@@ -3534,8 +3537,8 @@ const editor = getJodit({
|
|
|
3534
3537
|
});
|
|
3535
3538
|
```
|
|
3536
3539
|
|
|
3537
|
-
-
|
|
3538
|
-
|
|
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)
|
|
3539
3542
|
|
|
3540
3543
|
## 3.3.16
|
|
3541
3544
|
|
|
@@ -3645,7 +3648,7 @@ Jodit.make('#editor', {
|
|
|
3645
3648
|
|
|
3646
3649
|
In PRO version you can choose mirrror&
|
|
3647
3650
|
|
|
3648
|
-
-
|
|
3651
|
+
- Added Async module for control asynchronous operations
|
|
3649
3652
|
|
|
3650
3653
|
```javascript
|
|
3651
3654
|
const editor = new Jodit('#editor');
|
|
@@ -3784,15 +3787,15 @@ var editor = new Jodir('.editor', {
|
|
|
3784
3787
|
|
|
3785
3788
|
### 2.5.60
|
|
3786
3789
|
|
|
3787
|
-
-
|
|
3788
|
-
-
|
|
3790
|
+
- Fix table editor in iframe mode
|
|
3791
|
+
- Fix styles
|
|
3789
3792
|
|
|
3790
3793
|
### 2.5.57
|
|
3791
3794
|
|
|
3792
|
-
-
|
|
3793
|
-
|
|
3794
|
-
-
|
|
3795
|
-
|
|
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
|
|
3796
3799
|
|
|
3797
3800
|
```javascript
|
|
3798
3801
|
const editor = Jodit.make('#editor', {
|
|
@@ -3887,10 +3890,10 @@ sets of buttons for different sizes editors.
|
|
|
3887
3890
|
|
|
3888
3891
|
> `Note`. this is not the width of the device, the width of the editor
|
|
3889
3892
|
|
|
3890
|
-
-
|
|
3891
|
-
-
|
|
3892
|
-
-
|
|
3893
|
-
-
|
|
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).
|
|
3894
3897
|
|
|
3895
3898
|
```javascript
|
|
3896
3899
|
const editor = Jodit.make('#some-editor', {
|
|
@@ -4005,19 +4008,19 @@ const editor = Jodit.make('#some-editor', {
|
|
|
4005
4008
|
|
|
4006
4009
|
### 2.5.46
|
|
4007
4010
|
|
|
4008
|
-
-
|
|
4011
|
+
- More comfortable colorpicker
|
|
4009
4012
|
|
|
4010
4013
|

|
|
4011
4014
|
|
|
4012
|
-
-
|
|
4013
|
-
-
|
|
4014
|
-
|
|
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
|
|
4015
4018
|
|
|
4016
4019
|
### 2.5.45
|
|
4017
4020
|
|
|
4018
|
-
-
|
|
4019
|
-
-
|
|
4020
|
-
-
|
|
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
|
|
4021
4024
|
|
|
4022
4025
|
### 2.5.42
|
|
4023
4026
|
|
|
@@ -4025,9 +4028,9 @@ Fix a few bugs in [JJE](https://xdsoft.net/jodit/#extesions)
|
|
|
4025
4028
|
|
|
4026
4029
|
### 2.5.40
|
|
4027
4030
|
|
|
4028
|
-
-
|
|
4029
|
-
-
|
|
4030
|
-
|
|
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
|
|
4031
4034
|
|
|
4032
4035
|
```javascript
|
|
4033
4036
|
(function ($) {
|
|
@@ -4082,19 +4085,19 @@ Fix [#issue 11](https://github.com/xdan/jodit/issues/11) in `file:` mode CDN Cod
|
|
|
4082
4085
|
|
|
4083
4086
|
### 2.5.38
|
|
4084
4087
|
|
|
4085
|
-
-
|
|
4086
|
-
-
|
|
4088
|
+
- Added `Filter` in FileBrowser
|
|
4089
|
+
- Added `SortBy` in FileBrowser
|
|
4087
4090
|
|
|
4088
4091
|
### 2.5.37
|
|
4089
4092
|
|
|
4090
|
-
-
|
|
4091
|
-
|
|
4092
|
-
-
|
|
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
|
|
4093
4096
|
|
|
4094
4097
|
### 2.5.36
|
|
4095
4098
|
|
|
4096
|
-
-
|
|
4097
|
-
-
|
|
4099
|
+
- In PHP FileBrowser connector added MaxFileSize option
|
|
4100
|
+
- Fixed popap error in filebrowser
|
|
4098
4101
|
|
|
4099
4102
|
### 2.5.30
|
|
4100
4103
|
|
|
@@ -4116,10 +4119,10 @@ Jodit.Confirm('Are you sure?', 'Confirm', function (success) {
|
|
|
4116
4119
|
|
|
4117
4120
|
### 2.5.27
|
|
4118
4121
|
|
|
4119
|
-
-
|
|
4120
|
-
|
|
4121
|
-
-
|
|
4122
|
-
|
|
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)
|
|
4123
4126
|
|
|
4124
4127
|
```javascript
|
|
4125
4128
|
const editor = Jodit.make('#example2_0', {
|
|
@@ -4154,17 +4157,17 @@ But you must remember that Jodit.modules.Dom! = JQuery
|
|
|
4154
4157
|
|
|
4155
4158
|
### 2.5.23
|
|
4156
4159
|
|
|
4157
|
-
-
|
|
4158
|
-
-
|
|
4159
|
-
|
|
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
|
|
4160
4163
|
|
|
4161
4164
|
### 2.5.20
|
|
4162
4165
|
|
|
4163
|
-
-
|
|
4164
|
-
-
|
|
4165
|
-
|
|
4166
|
-
-
|
|
4167
|
-
|
|
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)
|
|
4168
4171
|
|
|
4169
4172
|
### 2.5.19
|
|
4170
4173
|
|
|
@@ -4209,16 +4212,16 @@ Fixed bug in JJE
|
|
|
4209
4212
|
|
|
4210
4213
|
### 2.5.16
|
|
4211
4214
|
|
|
4212
|
-
-
|
|
4215
|
+
- Fixed a few styles
|
|
4213
4216
|
|
|
4214
4217
|
### 2.5.15
|
|
4215
4218
|
|
|
4216
|
-
-
|
|
4219
|
+
- Fixed `package.json`
|
|
4217
4220
|
|
|
4218
4221
|
### 2.5.13
|
|
4219
4222
|
|
|
4220
|
-
-
|
|
4221
|
-
-
|
|
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
|
|
4222
4225
|
|
|
4223
4226
|
```javascript
|
|
4224
4227
|
Jodit.Promt('Enter your name', function (name) {
|
|
@@ -4230,8 +4233,8 @@ Jodit.Promt('Enter your name', function (name) {
|
|
|
4230
4233
|
});
|
|
4231
4234
|
```
|
|
4232
4235
|
|
|
4233
|
-
-
|
|
4234
|
-
-
|
|
4236
|
+
- Fix `$config` bug in [JJE](https://xdsoft.net/jodit/release/joomla.zip)
|
|
4237
|
+
- Added a few options in JJE plugin
|
|
4235
4238
|
|
|
4236
4239
|
### 2.5.12
|
|
4237
4240
|
|
|
@@ -4240,33 +4243,33 @@ Added edit button in Image Properties Dialog
|
|
|
4240
4243
|
|
|
4241
4244
|
### 2.5.11
|
|
4242
4245
|
|
|
4243
|
-
-
|
|
4244
|
-
|
|
4245
|
-
-
|
|
4246
|
+
- Added file info in filebrowser
|
|
4247
|
+

|
|
4248
|
+
- Added [showFileName,showFileSize,showFileChangeTime](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#filebrowser)
|
|
4246
4249
|
|
|
4247
4250
|
### 2.5.1
|
|
4248
4251
|
|
|
4249
|
-
-
|
|
4250
|
-
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
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
|
+

|
|
4255
4258
|
|
|
4256
4259
|
### 2.4.22
|
|
4257
4260
|
|
|
4258
|
-
-
|
|
4259
|
-
-
|
|
4260
|
-
-
|
|
4261
|
+
- Added contextmenu module.
|
|
4262
|
+
- Added context menu in FileBrowser
|
|
4263
|
+
- Added preview in FilwBrowser
|
|
4261
4264
|
|
|
4262
4265
|
### 2.4.21
|
|
4263
4266
|
|
|
4264
|
-
-
|
|
4267
|
+
- Fixed TableProcessor's bugs. In a situation did not appear resizer cells and the resizer throughout the table.
|
|
4265
4268
|
|
|
4266
4269
|
### 2.4.20
|
|
4267
4270
|
|
|
4268
|
-
-
|
|
4269
|
-
-
|
|
4271
|
+
- Fixed z-index Popap
|
|
4272
|
+
- Fixed behavior of selection table cells
|
|
4270
4273
|
|
|
4271
4274
|
### 2.4.17
|
|
4272
4275
|
|
|
@@ -4293,7 +4296,7 @@ const editor = Jodit.make('#editor', {
|
|
|
4293
4296
|
|
|
4294
4297
|
### 2.4.10
|
|
4295
4298
|
|
|
4296
|
-
-
|
|
4299
|
+
- Added node.create method
|
|
4297
4300
|
|
|
4298
4301
|
```javascript
|
|
4299
4302
|
const editor = Jodit.make('.jodit'),
|
|
@@ -4301,13 +4304,13 @@ const editor = Jodit.make('.jodit'),
|
|
|
4301
4304
|
editor.s.insertNode(node);
|
|
4302
4305
|
```
|
|
4303
4306
|
|
|
4304
|
-
-
|
|
4305
|
-
-
|
|
4306
|
-
|
|
4307
|
-
-
|
|
4308
|
-
-
|
|
4309
|
-
|
|
4310
|
-
-
|
|
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
|
|
4311
4314
|
|
|
4312
4315
|
### 2.4.8
|
|
4313
4316
|
|
|
@@ -4319,34 +4322,34 @@ Fast Fixed in JJE Fixed a lot of bugs in Jodit
|
|
|
4319
4322
|
|
|
4320
4323
|
### 2.4.1
|
|
4321
4324
|
|
|
4322
|
-
-
|
|
4323
|
-
-
|
|
4324
|
-
-
|
|
4325
|
-
-
|
|
4326
|
-
-
|
|
4327
|
-
-
|
|
4328
|
-
-
|
|
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
|
|
4329
4332
|
|
|
4330
4333
|
### 2.3.59
|
|
4331
4334
|
|
|
4332
|
-
-
|
|
4333
|
-
-
|
|
4334
|
-
|
|
4335
|
-
-
|
|
4336
|
-
|
|
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)
|
|
4337
4340
|
|
|
4338
4341
|
### 2.3.57
|
|
4339
4342
|
|
|
4340
|
-
-
|
|
4341
|
-
-
|
|
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)
|
|
4342
4345
|
|
|
4343
4346
|
### 2.3.53
|
|
4344
4347
|
|
|
4345
|
-
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
-
|
|
4349
|
-
|
|
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
|
|
4350
4353
|
|
|
4351
4354
|
### 2.3.49
|
|
4352
4355
|
|
|
@@ -4377,18 +4380,18 @@ console.log(editor.val()); //''
|
|
|
4377
4380
|
|
|
4378
4381
|
### 2.3.46
|
|
4379
4382
|
|
|
4380
|
-
-
|
|
4381
|
-
-
|
|
4383
|
+
- Fixed critical bug in Safari (window.performance)
|
|
4384
|
+
- Fixed bug when editor can get selection from another place
|
|
4382
4385
|
|
|
4383
4386
|
### 2.3.44
|
|
4384
4387
|
|
|
4385
4388
|
Added [direction](https://xdsoft.net/jodit/docs/classes/view.View.html#defaultoptions#direction) option. The writing direction of the
|
|
4386
4389
|
language which is used to create editor content. Allowed values are:
|
|
4387
4390
|
|
|
4388
|
-
-
|
|
4389
|
-
|
|
4390
|
-
-
|
|
4391
|
-
-
|
|
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).
|
|
4392
4395
|
|
|
4393
4396
|
### 2.3.43
|
|
4394
4397
|
|
|
@@ -4401,12 +4404,12 @@ colums in filelist
|
|
|
4401
4404
|
|
|
4402
4405
|
### 2.3.40
|
|
4403
4406
|
|
|
4404
|
-
-
|
|
4405
|
-
|
|
4406
|
-
-
|
|
4407
|
-
|
|
4408
|
-
-
|
|
4409
|
-
|
|
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
|
|
4410
4413
|
|
|
4411
4414
|
### 2.3.39
|
|
4412
4415
|
|
|
@@ -4455,10 +4458,10 @@ const editor = Jodit.make('.redactor', {
|
|
|
4455
4458
|
|
|
4456
4459
|
### 2.3.38
|
|
4457
4460
|
|
|
4458
|
-
-
|
|
4459
|
-
-
|
|
4460
|
-
-
|
|
4461
|
-
-
|
|
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)
|
|
4462
4465
|
|
|
4463
4466
|
### 2.3.37
|
|
4464
4467
|
|
|
@@ -4466,7 +4469,7 @@ Fast fix
|
|
|
4466
4469
|
|
|
4467
4470
|
### 2.3.36
|
|
4468
4471
|
|
|
4469
|
-
-
|
|
4472
|
+
- Added plugin `Fullsize`. Now you can change fullsize mode
|
|
4470
4473
|
|
|
4471
4474
|
```javascript
|
|
4472
4475
|
const editor = Jodit.make();
|
|
@@ -4475,14 +4478,14 @@ editor.events.fire('toggleFullsize', [true]); // fullsize
|
|
|
4475
4478
|
editor.events.fire('toggleFullsize', [false]); // usual mode
|
|
4476
4479
|
```
|
|
4477
4480
|
|
|
4478
|
-
-
|
|
4479
|
-
|
|
4480
|
-
-
|
|
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
|
|
4481
4484
|
|
|
4482
4485
|
### 2.3.35
|
|
4483
4486
|
|
|
4484
|
-
-
|
|
4485
|
-
-
|
|
4487
|
+
- Fixed placeholder style
|
|
4488
|
+
- Fixed [Dom.css](https://xdsoft.net/jodit/docs/modules/dom.html#~css) then
|
|
4486
4489
|
|
|
4487
4490
|
```html
|
|
4488
4491
|
<div class="idclass" style="margin-top:20px;"></div>
|
|
@@ -4495,11 +4498,11 @@ Jodit.modules.Dom('.idclass').css('margin-top'); //now it returns int `20`
|
|
|
4495
4498
|
|
|
4496
4499
|
### 2.3.33
|
|
4497
4500
|
|
|
4498
|
-
-
|
|
4499
|
-
|
|
4500
|
-
-
|
|
4501
|
-
-
|
|
4502
|
-
-
|
|
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
|
|
4503
4506
|
|
|
4504
4507
|
### 2.3.32
|
|
4505
4508
|
|
|
@@ -4650,8 +4653,8 @@ Work with table became faster
|
|
|
4650
4653
|
|
|
4651
4654
|
### 2.3.12
|
|
4652
4655
|
|
|
4653
|
-
-
|
|
4654
|
-
-
|
|
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
|
|
4655
4658
|
|
|
4656
4659
|
### 2.3.11
|
|
4657
4660
|
|
|
@@ -4659,9 +4662,9 @@ Fixed toolbar width fot fullsize mode
|
|
|
4659
4662
|
|
|
4660
4663
|
### 2.3.10
|
|
4661
4664
|
|
|
4662
|
-
-
|
|
4663
|
-
-
|
|
4664
|
-
-
|
|
4665
|
+
- Fixed CodeMirror bug on download XML parser
|
|
4666
|
+
- Fixed CodeMirror bug endless cycle
|
|
4667
|
+
- Fixed overflow behavior in fullsize mode
|
|
4665
4668
|
|
|
4666
4669
|
### 2.3.8
|
|
4667
4670
|
|