@wangeditor-next/editor 5.3.15-experimental.15 → 5.3.15-experimental.23.22
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 +8 -0
- package/LICENSE +21 -21
- package/dist/index.esm.js +2 -3
- package/dist/index.js +2 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.3.15](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/editor@5.3.14...@wangeditor-next/editor@5.3.15) (2024-08-08)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @wangeditor-next/editor
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [5.3.14](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/editor@5.3.13...@wangeditor-next/editor@5.3.14) (2024-08-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @wangeditor-next/editor
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 - present wangEditor-team
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 - present wangEditor-team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.esm.js
CHANGED
|
@@ -34592,7 +34592,6 @@ var TableCursor = {
|
|
|
34592
34592
|
/** Clears the selection from the table */
|
|
34593
34593
|
unselect: function (editor) {
|
|
34594
34594
|
// const matrix = EDITOR_TO_SELECTION.get(editor);
|
|
34595
|
-
var _a;
|
|
34596
34595
|
// if (!matrix?.length) {
|
|
34597
34596
|
// return;
|
|
34598
34597
|
// }
|
|
@@ -34615,7 +34614,7 @@ var TableCursor = {
|
|
|
34615
34614
|
EDITOR_TO_SELECTION_SET.delete(editor);
|
|
34616
34615
|
EDITOR_TO_SELECTION.delete(editor);
|
|
34617
34616
|
// 清除选区
|
|
34618
|
-
|
|
34617
|
+
// document.getSelection()?.removeAllRanges()
|
|
34619
34618
|
},
|
|
34620
34619
|
/**
|
|
34621
34620
|
* Checks whether a given cell is part of the current table selection.
|
|
@@ -34652,7 +34651,7 @@ function withSelection(editor) {
|
|
|
34652
34651
|
at: Range.end(selection),
|
|
34653
34652
|
}), 1), toEntry = _b[0];
|
|
34654
34653
|
if (!fromEntry || !toEntry) {
|
|
34655
|
-
|
|
34654
|
+
TableCursor.unselect(editor);
|
|
34656
34655
|
return apply(op);
|
|
34657
34656
|
}
|
|
34658
34657
|
var _c = __read$3(fromEntry, 2), fromPath = _c[1];
|
package/dist/index.js
CHANGED
|
@@ -38963,7 +38963,6 @@
|
|
|
38963
38963
|
/** Clears the selection from the table */
|
|
38964
38964
|
unselect: function (editor) {
|
|
38965
38965
|
// const matrix = EDITOR_TO_SELECTION.get(editor);
|
|
38966
|
-
var _a;
|
|
38967
38966
|
// if (!matrix?.length) {
|
|
38968
38967
|
// return;
|
|
38969
38968
|
// }
|
|
@@ -38986,7 +38985,7 @@
|
|
|
38986
38985
|
EDITOR_TO_SELECTION_SET.delete(editor);
|
|
38987
38986
|
EDITOR_TO_SELECTION.delete(editor);
|
|
38988
38987
|
// 清除选区
|
|
38989
|
-
|
|
38988
|
+
// document.getSelection()?.removeAllRanges()
|
|
38990
38989
|
},
|
|
38991
38990
|
/**
|
|
38992
38991
|
* Checks whether a given cell is part of the current table selection.
|
|
@@ -39023,7 +39022,7 @@
|
|
|
39023
39022
|
at: slate.Range.end(selection),
|
|
39024
39023
|
}), 1), toEntry = _b[0];
|
|
39025
39024
|
if (!fromEntry || !toEntry) {
|
|
39026
|
-
|
|
39025
|
+
TableCursor.unselect(editor);
|
|
39027
39026
|
return apply(op);
|
|
39028
39027
|
}
|
|
39029
39028
|
var _c = __read(fromEntry, 2), fromPath = _c[1];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangeditor-next/editor",
|
|
3
|
-
"version": "5.3.15-experimental.
|
|
3
|
+
"version": "5.3.15-experimental.23.22+d2d1f1b0",
|
|
4
4
|
"description": "Web rich text editor, Web 富文本编辑器",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wangeditor",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@uppy/core": "^2.1.1",
|
|
52
52
|
"@uppy/xhr-upload": "^2.0.3",
|
|
53
|
-
"@wangeditor-next/basic-modules": "^1.3.8
|
|
53
|
+
"@wangeditor-next/basic-modules": "^1.3.8",
|
|
54
54
|
"@wangeditor-next/code-highlight": "^1.2.1",
|
|
55
55
|
"@wangeditor-next/core": "^1.5.6",
|
|
56
56
|
"@wangeditor-next/list-module": "^1.1.5",
|
|
57
|
-
"@wangeditor-next/table-module": "^1.3.
|
|
57
|
+
"@wangeditor-next/table-module": "^1.3.9-experimental.23.22+d2d1f1b0",
|
|
58
58
|
"@wangeditor-next/upload-image-module": "^1.1.2",
|
|
59
59
|
"@wangeditor-next/video-module": "^1.3.4",
|
|
60
60
|
"dom7": "^3.0.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"slate": "^0.72.0",
|
|
71
71
|
"snabbdom": "^3.1.0"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "d2d1f1b0328b8dbe3f111ba3fbc0b48d4fe53e7d"
|
|
74
74
|
}
|