jodit 3.6.2 → 3.6.6
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 +21 -0
- package/README.md +1 -3
- package/build/jodit.css +6 -6
- package/build/jodit.es2018.css +3 -3
- package/build/jodit.es2018.en.css +3 -3
- package/build/jodit.es2018.en.js +194 -73
- package/build/jodit.es2018.en.min.css +1 -1
- package/build/jodit.es2018.en.min.js +2 -2
- package/build/jodit.es2018.js +194 -73
- package/build/jodit.es2018.min.css +1 -1
- package/build/jodit.es2018.min.js +2 -2
- package/build/jodit.js +443 -308
- package/build/jodit.min.css +2 -2
- package/build/jodit.min.js +2 -2
- package/package.json +2 -2
- package/src/config.ts +2 -0
- package/src/core/decorators/persistent.ts +1 -1
- package/src/core/decorators/watch.ts +6 -0
- package/src/core/helpers/checker/is-url.ts +3 -3
- package/src/core/plugin-system.ts +1 -0
- package/src/core/ui/helpers/get-control-type.ts +2 -1
- package/src/core/ui/list/group.ts +3 -2
- package/src/core/ui/popup/popup.ts +17 -8
- package/src/core/view/view-with-toolbar.ts +1 -1
- package/src/core/view/view.ts +9 -4
- package/src/jodit.ts +7 -2
- package/src/modules/dialog/dialog.ts +2 -1
- package/src/modules/file-browser/config.ts +2 -0
- package/src/plugins/clipboard/drag-and-drop-element.ts +1 -0
- package/src/plugins/index.ts +1 -0
- package/src/plugins/inline-popup/config/items/cells.ts +1 -0
- package/src/plugins/inline-popup/inline-popup.ts +39 -9
- package/src/plugins/justify.ts +3 -0
- package/src/plugins/link/link.ts +8 -2
- package/src/plugins/resizer/resizer.ts +52 -55
- package/src/plugins/select.ts +88 -0
- package/src/plugins/table/select-cells.ts +43 -43
- package/src/styles/jodit.less +1 -1
- package/src/styles/variables.less +1 -1
- package/src/types/view.d.ts +2 -0
- package/test/bootstrap.js +7 -0
- package/test/tests/acceptance/commandsTest.js +1 -2
- package/test/tests/acceptance/imageTest.js +1 -1
- package/test/tests/acceptance/inlineModeTest.js +21 -16
- package/test/tests/acceptance/plugins/inline-popup.js +1 -2
- package/test/tests/acceptance/plugins/link.js +145 -17
- package/test/tests/acceptance/tableTest.js +184 -197
- package/test/tests/acceptance/toolbarTest.js +34 -3
package/CHANGELOG.MD
CHANGED
|
@@ -9,6 +9,27 @@
|
|
|
9
9
|
> - :house: [Internal]
|
|
10
10
|
> - :nail_care: [Polish]
|
|
11
11
|
|
|
12
|
+
## 3.6.5
|
|
13
|
+
|
|
14
|
+
#### :boom: Breaking Change
|
|
15
|
+
|
|
16
|
+
- Removed options: `useIframeResizer`, `useImgResizer`, `useTableResizer` from `resizer` plugin.
|
|
17
|
+
Instead, added `allowResizeTags`.
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
Config.prototype.allowResizeTags = ['img', 'iframe', 'table', 'jodit'];
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 3.6.2
|
|
24
|
+
|
|
25
|
+
#### :bug: Bug Fix
|
|
26
|
+
|
|
27
|
+
- [Error when resizing tables and tables cells](https://github.com/xdan/jodit/issues/611)
|
|
28
|
+
- [Image and video resizing in the table does not work correctly](https://github.com/xdan/jodit/issues/528)
|
|
29
|
+
- [The link popup closes when trying to add it to an image inside a table. #524](https://github.com/xdan/jodit/issues/524)
|
|
30
|
+
- Fixed a bug when command `emptyTable` didn't work.
|
|
31
|
+
|
|
32
|
+
|
|
12
33
|
## 3.6.1
|
|
13
34
|
|
|
14
35
|
#### :bug: Bug Fix
|
package/README.md
CHANGED
|
@@ -9,15 +9,13 @@ An excellent WYSIWYG editor written in pure TypeScript without the use of additi
|
|
|
9
9
|
[](https://gitter.im/xdan/jodit?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
|
10
10
|
|
|
11
11
|
* [Demo and Official site](https://xdsoft.net/jodit/)
|
|
12
|
+
* [PRO Version](https://xdsoft.net/jodit/pro/)
|
|
12
13
|
* [Playground - play with options](https://xdsoft.net/jodit/play.html)
|
|
13
14
|
* [Documentation](https://xdsoft.net/jodit/doc/)
|
|
14
15
|
* [Download&Changes](https://github.com/xdan/jodit/releases)
|
|
15
16
|
* [Changelog](https://github.com/xdan/jodit/blob/master/CHANGELOG.MD)
|
|
16
17
|
* [Examples](https://xdan.github.io/jodit/examples/)
|
|
17
18
|
|
|
18
|
-
> For old version, please follow here [https://github.com/xdan/jodit2](https://github.com/xdan/jodit2)
|
|
19
|
-
|
|
20
|
-
|
|
21
19
|
## Get Started
|
|
22
20
|
## How use
|
|
23
21
|
Download latest [release](https://github.com/xdan/jodit/releases/latest) or
|
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.6.
|
|
4
|
+
* Version: v3.6.6
|
|
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.6.
|
|
11
|
+
* Version: v3.6.6
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
padding: 0 8px;
|
|
260
260
|
border: 0;
|
|
261
261
|
margin: 0;
|
|
262
|
-
background-color:
|
|
262
|
+
background-color: #dadada;
|
|
263
263
|
border-radius: 0.25rem;
|
|
264
264
|
color: #4c4c4c;
|
|
265
265
|
cursor: pointer;
|
|
@@ -623,7 +623,7 @@ svg.jodit-icon {
|
|
|
623
623
|
border: 0 solid #dadada;
|
|
624
624
|
}
|
|
625
625
|
.jodit-container:not(.jodit_inline).jodit_disabled {
|
|
626
|
-
background:
|
|
626
|
+
background: #dadada;
|
|
627
627
|
}
|
|
628
628
|
.jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace {
|
|
629
629
|
opacity: 0.4;
|
|
@@ -4252,7 +4252,7 @@ svg.jodit-icon {
|
|
|
4252
4252
|
border-radius: 3px;
|
|
4253
4253
|
}
|
|
4254
4254
|
.jodit-status-bar .jodit-status-bar__item a:hover {
|
|
4255
|
-
background-color:
|
|
4255
|
+
background-color: #dadada;
|
|
4256
4256
|
text-decoration: none;
|
|
4257
4257
|
color: #222222;
|
|
4258
4258
|
}
|
|
@@ -4807,7 +4807,7 @@ html.jodit_fullsize-box_true {
|
|
|
4807
4807
|
z-index: 4;
|
|
4808
4808
|
pointer-events: all;
|
|
4809
4809
|
border: 1px solid #4c4c4c;
|
|
4810
|
-
background-color:
|
|
4810
|
+
background-color: #dadada;
|
|
4811
4811
|
width: 8px;
|
|
4812
4812
|
height: 8px;
|
|
4813
4813
|
}
|
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.6.
|
|
4
|
+
* Version: v3.6.6
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--jd-color-panel: #f9f9f9;
|
|
38
38
|
--jd-color-resizer: #c8c8c8;
|
|
39
39
|
--jd-color-background-default: var(--jd-color-white);
|
|
40
|
-
--jd-color-background-gray:
|
|
40
|
+
--jd-color-background-gray: var(--jd-color-gray);
|
|
41
41
|
--jd-color-background-gray-hover: #f8f8f8;
|
|
42
42
|
--jd-color-background-hover: #7a450f;
|
|
43
43
|
--jd-color-background-button-hover: #ecebe9;
|
|
@@ -565,7 +565,7 @@ svg.jodit-icon {
|
|
|
565
565
|
}
|
|
566
566
|
.jodit-container:not(.jodit_inline) {
|
|
567
567
|
border: 1px solid var(--jd-color-border);
|
|
568
|
-
background-color:
|
|
568
|
+
background-color: var(--jd-color-background-default);
|
|
569
569
|
border-radius: var(--jd-border-radius-default);
|
|
570
570
|
}
|
|
571
571
|
.jodit-container:not(.jodit_inline) .jodit-workplace {
|
|
@@ -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.6.
|
|
4
|
+
* Version: v3.6.6
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--jd-color-panel: #f9f9f9;
|
|
38
38
|
--jd-color-resizer: #c8c8c8;
|
|
39
39
|
--jd-color-background-default: var(--jd-color-white);
|
|
40
|
-
--jd-color-background-gray:
|
|
40
|
+
--jd-color-background-gray: var(--jd-color-gray);
|
|
41
41
|
--jd-color-background-gray-hover: #f8f8f8;
|
|
42
42
|
--jd-color-background-hover: #7a450f;
|
|
43
43
|
--jd-color-background-button-hover: #ecebe9;
|
|
@@ -565,7 +565,7 @@ svg.jodit-icon {
|
|
|
565
565
|
}
|
|
566
566
|
.jodit-container:not(.jodit_inline) {
|
|
567
567
|
border: 1px solid var(--jd-color-border);
|
|
568
|
-
background-color:
|
|
568
|
+
background-color: var(--jd-color-background-default);
|
|
569
569
|
border-radius: var(--jd-border-radius-default);
|
|
570
570
|
}
|
|
571
571
|
.jodit-container:not(.jodit_inline) .jodit-workplace {
|