jodit 3.12.2 → 3.12.3
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/.idea/workspace.xml +20 -23
- package/CHANGELOG.MD +4 -0
- package/build/jodit.css +15 -15
- package/build/jodit.es2018.css +12 -14
- package/build/jodit.es2018.en.css +12 -14
- package/build/jodit.es2018.en.js +5 -5
- package/build/jodit.es2018.en.min.css +1 -1
- package/build/jodit.es2018.en.min.js +1 -1
- package/build/jodit.es2018.js +5 -5
- package/build/jodit.es2018.min.css +1 -1
- package/build/jodit.es2018.min.js +1 -1
- package/build/jodit.js +5 -5
- package/build/jodit.min.css +2 -2
- package/build/jodit.min.js +1 -1
- package/package.json +1 -1
- package/src/core/event-emitter/event-emitter.ts +4 -4
- package/src/core/selection/select.ts +2 -2
- package/src/modules/file-browser/README.md +16 -16
- package/src/modules/file-browser/data-provider.ts +2 -2
- package/src/modules/image-editor/image-editor.ts +1 -1
- package/src/modules/uploader/uploader.ts +6 -6
- package/src/plugins/fix/clean-html.ts +1 -1
- package/src/plugins/fullsize/fullsize.less +1 -1
- package/src/plugins/iframe/iframe.ts +2 -2
- package/src/plugins/resizer/resizer.ts +2 -2
- package/src/plugins/symbols/symbols.less +11 -13
- package/src/plugins/symbols/symbols.ts +1 -1
- package/src/types/ajax.d.ts +6 -6
- package/src/types/events.d.ts +3 -3
- package/src/types/uploader.d.ts +1 -1
- package/types/core/event-emitter/event-emitter.d.ts +4 -4
- package/types/core/selection/select.d.ts +2 -2
- package/types/modules/file-browser/data-provider.d.ts +2 -2
- package/types/modules/image-editor/image-editor.d.ts +1 -1
- package/types/modules/uploader/uploader.d.ts +3 -3
- package/types/plugins/fix/clean-html.d.ts +1 -1
- package/types/plugins/resizer/resizer.d.ts +2 -2
- package/types/types/types/ajax.d.ts +6 -6
- package/types/types/types/events.d.ts +3 -3
- package/types/types/types/uploader.d.ts +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -12,10 +12,7 @@
|
|
|
12
12
|
</component>
|
|
13
13
|
<component name="ChangeListManager">
|
|
14
14
|
<list default="true" id="5da7ff7f-03a8-49de-9fbb-8f8640d83b83" name="Default Changelist" comment="">
|
|
15
|
-
<change beforePath="$PROJECT_DIR$/
|
|
16
|
-
<change beforePath="$PROJECT_DIR$/src/modules/image-editor/image-editor.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/modules/image-editor/image-editor.ts" afterDir="false" />
|
|
17
|
-
<change beforePath="$PROJECT_DIR$/test/tests/acceptance/clipboardTest.js" beforeDir="false" afterPath="$PROJECT_DIR$/test/tests/acceptance/clipboardTest.js" afterDir="false" />
|
|
18
|
-
<change beforePath="$PROJECT_DIR$/tsdoc.json" beforeDir="false" afterPath="$PROJECT_DIR$/tsdoc.json" afterDir="false" />
|
|
15
|
+
<change beforePath="$PROJECT_DIR$/CHANGELOG.MD" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.MD" afterDir="false" />
|
|
19
16
|
</list>
|
|
20
17
|
<list id="5049e1d4-15bc-4e3a-b46b-d2ce7537fc13" name="Revert "Some small fixes"" comment="Revert "Some small fixes" This reverts commit bc391ec6" />
|
|
21
18
|
<option name="SHOW_DIALOG" value="false" />
|
|
@@ -770,21 +767,7 @@
|
|
|
770
767
|
<workItem from="1640638481739" duration="2174000" />
|
|
771
768
|
<workItem from="1640699751808" duration="46000" />
|
|
772
769
|
<workItem from="1640699886093" duration="20891000" />
|
|
773
|
-
<workItem from="1641385651473" duration="
|
|
774
|
-
</task>
|
|
775
|
-
<task id="LOCAL-00888" summary="Changed IStorage signature">
|
|
776
|
-
<created>1636657342609</created>
|
|
777
|
-
<option name="number" value="00888" />
|
|
778
|
-
<option name="presentableId" value="LOCAL-00888" />
|
|
779
|
-
<option name="project" value="LOCAL" />
|
|
780
|
-
<updated>1636657342609</updated>
|
|
781
|
-
</task>
|
|
782
|
-
<task id="LOCAL-00889" summary="Remember last opened folder with FileBrowser #675 Issue: https://github.com/xdan/jodit/issues/675">
|
|
783
|
-
<created>1636657657840</created>
|
|
784
|
-
<option name="number" value="00889" />
|
|
785
|
-
<option name="presentableId" value="LOCAL-00889" />
|
|
786
|
-
<option name="project" value="LOCAL" />
|
|
787
|
-
<updated>1636657657840</updated>
|
|
770
|
+
<workItem from="1641385651473" duration="11283000" />
|
|
788
771
|
</task>
|
|
789
772
|
<task id="LOCAL-00890" summary="Remember last opened folder with FileBrowser #675 Issue: https://github.com/xdan/jodit/issues/675">
|
|
790
773
|
<created>1636659626435</created>
|
|
@@ -1115,7 +1098,21 @@
|
|
|
1115
1098
|
<option name="project" value="LOCAL" />
|
|
1116
1099
|
<updated>1641393891950</updated>
|
|
1117
1100
|
</task>
|
|
1118
|
-
<
|
|
1101
|
+
<task id="LOCAL-00937" summary="Fixed miss in docs">
|
|
1102
|
+
<created>1641395377217</created>
|
|
1103
|
+
<option name="number" value="00937" />
|
|
1104
|
+
<option name="presentableId" value="LOCAL-00937" />
|
|
1105
|
+
<option name="project" value="LOCAL" />
|
|
1106
|
+
<updated>1641395377217</updated>
|
|
1107
|
+
</task>
|
|
1108
|
+
<task id="LOCAL-00938" summary="Fixed Full Screen showing elements not part of editable content #763 Issue: https://github.com/xdan/jodit/issues/763">
|
|
1109
|
+
<created>1641396550715</created>
|
|
1110
|
+
<option name="number" value="00938" />
|
|
1111
|
+
<option name="presentableId" value="LOCAL-00938" />
|
|
1112
|
+
<option name="project" value="LOCAL" />
|
|
1113
|
+
<updated>1641396550715</updated>
|
|
1114
|
+
</task>
|
|
1115
|
+
<option name="localTasksCounter" value="939" />
|
|
1119
1116
|
<servers />
|
|
1120
1117
|
</component>
|
|
1121
1118
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -1255,8 +1252,6 @@
|
|
|
1255
1252
|
</component>
|
|
1256
1253
|
<component name="VcsManagerConfiguration">
|
|
1257
1254
|
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
|
1258
|
-
<MESSAGE value="Added command `preview`" />
|
|
1259
|
-
<MESSAGE value="Added source information for `afterGetValueFromEditor` event" />
|
|
1260
1255
|
<MESSAGE value="Fixed source plugin" />
|
|
1261
1256
|
<MESSAGE value="Added switch mod in checkbox" />
|
|
1262
1257
|
<MESSAGE value="Added `delete.hotkeys.deleteSentence` and `delete.hotkeys.backspaceSentence` options" />
|
|
@@ -1280,7 +1275,9 @@
|
|
|
1280
1275
|
<MESSAGE value="Change year in copyright" />
|
|
1281
1276
|
<MESSAGE value="Fixed action name" />
|
|
1282
1277
|
<MESSAGE value="Added example in doc" />
|
|
1283
|
-
<
|
|
1278
|
+
<MESSAGE value="Fixed miss in docs" />
|
|
1279
|
+
<MESSAGE value="Fixed Full Screen showing elements not part of editable content #763 Issue: https://github.com/xdan/jodit/issues/763" />
|
|
1280
|
+
<option name="LAST_COMMIT_MESSAGE" value="Fixed Full Screen showing elements not part of editable content #763 Issue: https://github.com/xdan/jodit/issues/763" />
|
|
1284
1281
|
</component>
|
|
1285
1282
|
<component name="XDebuggerManager">
|
|
1286
1283
|
<breakpoint-manager>
|
package/CHANGELOG.MD
CHANGED
package/build/jodit.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
4
|
-
* Version: v3.12.
|
|
4
|
+
* Version: v3.12.3
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
10
10
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
11
|
-
* Version: v3.12.
|
|
11
|
+
* Version: v3.12.3
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|
|
@@ -4944,7 +4944,7 @@ a + .jodit-filebrowser-tree__source-title {
|
|
|
4944
4944
|
}
|
|
4945
4945
|
html.jodit_fullsize-box_true,
|
|
4946
4946
|
body.jodit_fullsize-box_true {
|
|
4947
|
-
overflow:
|
|
4947
|
+
overflow: hidden !important;
|
|
4948
4948
|
width: 0 !important;
|
|
4949
4949
|
height: 0 !important;
|
|
4950
4950
|
}
|
|
@@ -5447,32 +5447,32 @@ html.jodit_fullsize-box_true {
|
|
|
5447
5447
|
width: 460px;
|
|
5448
5448
|
padding: 8px;
|
|
5449
5449
|
}
|
|
5450
|
-
.jodit-
|
|
5451
|
-
|
|
5452
|
-
display:
|
|
5453
|
-
|
|
5450
|
+
.jodit-symbols__container {
|
|
5451
|
+
display: -webkit-box;
|
|
5452
|
+
display: -ms-flexbox;
|
|
5453
|
+
display: flex;
|
|
5454
5454
|
}
|
|
5455
|
-
.jodit-
|
|
5455
|
+
.jodit-symbols__container_table {
|
|
5456
5456
|
width: 88%;
|
|
5457
5457
|
}
|
|
5458
|
-
.jodit-
|
|
5458
|
+
.jodit-symbols__container_preview {
|
|
5459
5459
|
width: 12%;
|
|
5460
5460
|
}
|
|
5461
|
-
.jodit-
|
|
5461
|
+
.jodit-symbols__preview {
|
|
5462
5462
|
padding: 20px 0;
|
|
5463
5463
|
border: 1px solid #dadada;
|
|
5464
5464
|
font-size: 34px;
|
|
5465
5465
|
text-align: center;
|
|
5466
5466
|
}
|
|
5467
|
-
.jodit-
|
|
5467
|
+
.jodit-symbols__table {
|
|
5468
5468
|
border: 0;
|
|
5469
5469
|
border-spacing: 0;
|
|
5470
5470
|
table-layout: fixed;
|
|
5471
5471
|
}
|
|
5472
|
-
.jodit-
|
|
5472
|
+
.jodit-symbols__table td {
|
|
5473
5473
|
padding: 0;
|
|
5474
5474
|
}
|
|
5475
|
-
.jodit-
|
|
5475
|
+
.jodit-symbols__table td a {
|
|
5476
5476
|
display: inline-block;
|
|
5477
5477
|
width: calc(18px * 1.2);
|
|
5478
5478
|
height: calc(18px * 1.2);
|
|
@@ -5487,10 +5487,10 @@ html.jodit_fullsize-box_true {
|
|
|
5487
5487
|
text-decoration: none;
|
|
5488
5488
|
vertical-align: top;
|
|
5489
5489
|
}
|
|
5490
|
-
.jodit-
|
|
5490
|
+
.jodit-symbols__table td a:hover {
|
|
5491
5491
|
outline: 2px solid #dadada;
|
|
5492
5492
|
}
|
|
5493
|
-
.jodit-
|
|
5493
|
+
.jodit-symbols__table td a:focus {
|
|
5494
5494
|
outline: 2px solid #dadada;
|
|
5495
5495
|
}
|
|
5496
5496
|
|
package/build/jodit.es2018.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
4
|
-
* Version: v3.12.
|
|
4
|
+
* Version: v3.12.3
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -4077,7 +4077,7 @@ a + .jodit-filebrowser-tree__source-title {
|
|
|
4077
4077
|
}
|
|
4078
4078
|
html.jodit_fullsize-box_true,
|
|
4079
4079
|
body.jodit_fullsize-box_true {
|
|
4080
|
-
overflow:
|
|
4080
|
+
overflow: hidden !important;
|
|
4081
4081
|
width: 0 !important;
|
|
4082
4082
|
height: 0 !important;
|
|
4083
4083
|
}
|
|
@@ -4519,32 +4519,30 @@ html.jodit_fullsize-box_true {
|
|
|
4519
4519
|
width: 460px;
|
|
4520
4520
|
padding: var(--jd-padding-default);
|
|
4521
4521
|
}
|
|
4522
|
-
.jodit-
|
|
4523
|
-
|
|
4524
|
-
display: inline-block;
|
|
4525
|
-
vertical-align: top;
|
|
4522
|
+
.jodit-symbols__container {
|
|
4523
|
+
display: flex;
|
|
4526
4524
|
}
|
|
4527
|
-
.jodit-
|
|
4525
|
+
.jodit-symbols__container_table {
|
|
4528
4526
|
width: 88%;
|
|
4529
4527
|
}
|
|
4530
|
-
.jodit-
|
|
4528
|
+
.jodit-symbols__container_preview {
|
|
4531
4529
|
width: 12%;
|
|
4532
4530
|
}
|
|
4533
|
-
.jodit-
|
|
4531
|
+
.jodit-symbols__preview {
|
|
4534
4532
|
padding: 20px 0;
|
|
4535
4533
|
border: 1px solid var(--jd-color-border);
|
|
4536
4534
|
font-size: 34px;
|
|
4537
4535
|
text-align: center;
|
|
4538
4536
|
}
|
|
4539
|
-
.jodit-
|
|
4537
|
+
.jodit-symbols__table {
|
|
4540
4538
|
border: 0;
|
|
4541
4539
|
border-spacing: 0;
|
|
4542
4540
|
table-layout: fixed;
|
|
4543
4541
|
}
|
|
4544
|
-
.jodit-
|
|
4542
|
+
.jodit-symbols__table td {
|
|
4545
4543
|
padding: 0;
|
|
4546
4544
|
}
|
|
4547
|
-
.jodit-
|
|
4545
|
+
.jodit-symbols__table td a {
|
|
4548
4546
|
display: inline-block;
|
|
4549
4547
|
width: calc(var(--jd-width_element_default) * 1.2);
|
|
4550
4548
|
height: calc(var(--jd-height_element_default) * 1.2);
|
|
@@ -4558,8 +4556,8 @@ html.jodit_fullsize-box_true {
|
|
|
4558
4556
|
text-decoration: none;
|
|
4559
4557
|
vertical-align: top;
|
|
4560
4558
|
}
|
|
4561
|
-
.jodit-
|
|
4562
|
-
.jodit-
|
|
4559
|
+
.jodit-symbols__table td a:hover,
|
|
4560
|
+
.jodit-symbols__table td a:focus {
|
|
4563
4561
|
outline: 2px solid var(--jd-color-border);
|
|
4564
4562
|
}
|
|
4565
4563
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
4
|
-
* Version: v3.12.
|
|
4
|
+
* Version: v3.12.3
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -4077,7 +4077,7 @@ a + .jodit-filebrowser-tree__source-title {
|
|
|
4077
4077
|
}
|
|
4078
4078
|
html.jodit_fullsize-box_true,
|
|
4079
4079
|
body.jodit_fullsize-box_true {
|
|
4080
|
-
overflow:
|
|
4080
|
+
overflow: hidden !important;
|
|
4081
4081
|
width: 0 !important;
|
|
4082
4082
|
height: 0 !important;
|
|
4083
4083
|
}
|
|
@@ -4519,32 +4519,30 @@ html.jodit_fullsize-box_true {
|
|
|
4519
4519
|
width: 460px;
|
|
4520
4520
|
padding: var(--jd-padding-default);
|
|
4521
4521
|
}
|
|
4522
|
-
.jodit-
|
|
4523
|
-
|
|
4524
|
-
display: inline-block;
|
|
4525
|
-
vertical-align: top;
|
|
4522
|
+
.jodit-symbols__container {
|
|
4523
|
+
display: flex;
|
|
4526
4524
|
}
|
|
4527
|
-
.jodit-
|
|
4525
|
+
.jodit-symbols__container_table {
|
|
4528
4526
|
width: 88%;
|
|
4529
4527
|
}
|
|
4530
|
-
.jodit-
|
|
4528
|
+
.jodit-symbols__container_preview {
|
|
4531
4529
|
width: 12%;
|
|
4532
4530
|
}
|
|
4533
|
-
.jodit-
|
|
4531
|
+
.jodit-symbols__preview {
|
|
4534
4532
|
padding: 20px 0;
|
|
4535
4533
|
border: 1px solid var(--jd-color-border);
|
|
4536
4534
|
font-size: 34px;
|
|
4537
4535
|
text-align: center;
|
|
4538
4536
|
}
|
|
4539
|
-
.jodit-
|
|
4537
|
+
.jodit-symbols__table {
|
|
4540
4538
|
border: 0;
|
|
4541
4539
|
border-spacing: 0;
|
|
4542
4540
|
table-layout: fixed;
|
|
4543
4541
|
}
|
|
4544
|
-
.jodit-
|
|
4542
|
+
.jodit-symbols__table td {
|
|
4545
4543
|
padding: 0;
|
|
4546
4544
|
}
|
|
4547
|
-
.jodit-
|
|
4545
|
+
.jodit-symbols__table td a {
|
|
4548
4546
|
display: inline-block;
|
|
4549
4547
|
width: calc(var(--jd-width_element_default) * 1.2);
|
|
4550
4548
|
height: calc(var(--jd-height_element_default) * 1.2);
|
|
@@ -4558,8 +4556,8 @@ html.jodit_fullsize-box_true {
|
|
|
4558
4556
|
text-decoration: none;
|
|
4559
4557
|
vertical-align: top;
|
|
4560
4558
|
}
|
|
4561
|
-
.jodit-
|
|
4562
|
-
.jodit-
|
|
4559
|
+
.jodit-symbols__table td a:hover,
|
|
4560
|
+
.jodit-symbols__table td a:focus {
|
|
4563
4561
|
outline: 2px solid var(--jd-color-border);
|
|
4564
4562
|
}
|
|
4565
4563
|
|
package/build/jodit.es2018.en.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)
|
|
4
|
-
* Version: v3.12.
|
|
4
|
+
* Version: v3.12.3
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -11139,7 +11139,7 @@ class View extends component/* Component */.wA {
|
|
|
11139
11139
|
this.isView = true;
|
|
11140
11140
|
this.mods = {};
|
|
11141
11141
|
this.components = new Set();
|
|
11142
|
-
this.version = "3.12.
|
|
11142
|
+
this.version = "3.12.3";
|
|
11143
11143
|
this.async = new Async();
|
|
11144
11144
|
this.buffer = Storage.makeStorage();
|
|
11145
11145
|
this.storage = Storage.makeStorage(true, this.componentName);
|
|
@@ -11237,10 +11237,10 @@ class View extends component/* Component */.wA {
|
|
|
11237
11237
|
return this.__isFullSize;
|
|
11238
11238
|
}
|
|
11239
11239
|
getVersion() {
|
|
11240
|
-
return "3.12.
|
|
11240
|
+
return "3.12.3";
|
|
11241
11241
|
}
|
|
11242
11242
|
static getVersion() {
|
|
11243
|
-
return "3.12.
|
|
11243
|
+
return "3.12.3";
|
|
11244
11244
|
}
|
|
11245
11245
|
initOptions(options) {
|
|
11246
11246
|
this.options = (0,helpers.ConfigProto)(options || {}, (0,helpers.ConfigProto)(this.options || {}, View.defaultOptions));
|
|
@@ -25536,7 +25536,7 @@ class symbols extends Plugin {
|
|
|
25536
25536
|
jodit.e.on('generateSpecialCharactersTable.symbols', () => {
|
|
25537
25537
|
const container = jodit.c.fromHTML(`<div class="jodit-symbols__container">
|
|
25538
25538
|
<div class="jodit-symbols__container_table">
|
|
25539
|
-
<table><tbody></tbody></table>
|
|
25539
|
+
<table class="jodit-symbols__table"><tbody></tbody></table>
|
|
25540
25540
|
</div>
|
|
25541
25541
|
<div class="jodit-symbols__container_preview">
|
|
25542
25542
|
<div class="jodit-symbols__preview"></div>
|