jodit 3.18.2 → 3.18.5
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 +114 -101
- package/CHANGELOG.MD +71 -35
- package/README.md +2 -2
- package/build/jodit.css +66 -5
- package/build/jodit.es2018.css +19 -4
- package/build/jodit.es2018.en.css +19 -4
- package/build/jodit.es2018.en.js +326 -91
- package/build/jodit.es2018.en.min.css +1 -1
- package/build/jodit.es2018.en.min.js +1 -1
- package/build/jodit.es2018.js +326 -91
- package/build/jodit.es2018.min.css +1 -1
- package/build/jodit.es2018.min.js +1 -1
- package/build/jodit.js +2036 -1755
- package/build/jodit.min.css +2 -2
- package/build/jodit.min.js +1 -1
- package/build/vdom.css +1 -1
- package/build/vdom.js +5 -3
- package/package.json +1 -1
- package/src/config.ts +5 -1
- package/src/core/async/async.ts +5 -3
- package/src/core/helpers/html/safe-html.ts +4 -0
- package/src/core/helpers/utils/error/error.ts +34 -0
- package/src/core/helpers/utils/error/errors/abort-error.ts +16 -0
- package/src/core/helpers/utils/error/errors/connection-error.ts +16 -0
- package/src/core/helpers/utils/{error.ts → error/errors/index.ts} +3 -6
- package/src/core/helpers/utils/error/errors/options-error.ts +16 -0
- package/{types/core/helpers/utils/error.d.ts → src/core/helpers/utils/error/index.ts} +4 -4
- package/src/core/helpers/utils/reset.ts +4 -0
- package/src/core/helpers/utils/scroll-into-view.ts +4 -0
- package/src/core/request/ajax.ts +22 -11
- package/src/modules/file-browser/data-provider.ts +11 -9
- package/src/modules/file-browser/fetch/load-items.ts +5 -3
- package/src/modules/file-browser/fetch/load-tree.ts +3 -10
- package/src/modules/file-browser/file-browser.test.js +1 -1
- package/src/modules/file-browser/file-browser.ts +10 -1
- package/src/modules/file-browser/listeners/self-listeners.ts +4 -4
- package/src/modules/table/table.test.js +1 -1
- package/src/modules/uploader/README.md +18 -0
- package/src/modules/uploader/config.ts +9 -0
- package/src/modules/uploader/helpers/send-files.ts +10 -2
- package/src/modules/uploader/uploader.test.js +36 -0
- package/src/plugins/clipboard/paste/helpers.ts +13 -4
- package/src/plugins/fix/clean-html/clean-html.test.js +3 -3
- package/src/plugins/fix/clean-html/helpers/remove-format/remove-format-for-selection.ts +1 -1
- package/src/plugins/print/helpers.ts +1 -1
- package/src/plugins/print/lib/generate-critical-css.ts +135 -0
- package/src/plugins/print/print.ts +7 -4
- package/src/plugins/source/editor/engines/ace.ts +4 -0
- package/src/plugins/source/editor/engines/area.ts +4 -0
- package/src/plugins/source/source.ts +10 -12
- package/src/plugins/speech/speech-recognize/README.md +0 -0
- package/src/plugins/speech/speech-recognize/config.ts +23 -0
- package/src/plugins/speech/speech-recognize/helpers/microphone-input.ts +218 -0
- package/src/plugins/speech/speech-recognize/helpers/voice-command.ts +118 -0
- package/src/plugins/speech/speech-recognize/icon.svg +5 -0
- package/src/plugins/speech/speech-recognize/speech-recognize.ts +38 -0
- package/src/plugins/table/config.ts +0 -4
- package/src/plugins/table/table.common.less +1 -4
- package/src/plugins/table/table.test.js +43 -0
- package/src/styles/mixins.less +8 -0
- package/src/types/create.d.ts +1 -1
- package/src/types/events.d.ts +12 -1
- package/src/types/source.d.ts +1 -0
- package/src/types/uploader.d.ts +20 -0
- package/types/core/helpers/utils/error/error.d.ts +13 -0
- package/types/core/helpers/utils/error/errors/abort-error.d.ts +11 -0
- package/types/core/helpers/utils/error/errors/connection-error.d.ts +11 -0
- package/types/core/helpers/utils/error/errors/index.d.ts +11 -0
- package/types/core/helpers/utils/error/errors/options-error.d.ts +11 -0
- package/types/core/helpers/utils/error/index.d.ts +10 -0
- package/types/core/helpers/utils/reset.d.ts +3 -0
- package/types/core/request/ajax.d.ts +1 -1
- package/types/plugins/print/lib/generate-critical-css.d.ts +7 -0
- package/types/plugins/source/editor/engines/ace.d.ts +1 -0
- package/types/plugins/source/editor/engines/area.d.ts +1 -0
- package/types/types/create.d.ts +1 -1
- package/types/types/events.d.ts +12 -1
- package/types/types/source.d.ts +1 -0
- package/types/types/uploader.d.ts +20 -0
|
@@ -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.18.
|
|
4
|
+
* Version: v3.18.5
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -4633,9 +4633,7 @@ html.jodit_fullsize-box_true {
|
|
|
4633
4633
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4634
4634
|
* Copyright (c) 2013-2022 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
4635
4635
|
*/
|
|
4636
|
-
|
|
4637
|
-
border-style: double !important;
|
|
4638
|
-
}
|
|
4636
|
+
.jodit-context table,
|
|
4639
4637
|
.jodit-wysiwyg table {
|
|
4640
4638
|
max-width: 100%;
|
|
4641
4639
|
border: none;
|
|
@@ -4644,16 +4642,26 @@ td[style*='border'] {
|
|
|
4644
4642
|
border-collapse: collapse;
|
|
4645
4643
|
empty-cells: show;
|
|
4646
4644
|
}
|
|
4645
|
+
.jodit-context table tr,
|
|
4647
4646
|
.jodit-wysiwyg table tr {
|
|
4648
4647
|
user-select: none;
|
|
4649
4648
|
}
|
|
4649
|
+
.jodit-context table tr th,
|
|
4650
4650
|
.jodit-wysiwyg table tr th,
|
|
4651
|
+
.jodit-context table tr td,
|
|
4651
4652
|
.jodit-wysiwyg table tr td {
|
|
4652
4653
|
min-width: 2em;
|
|
4653
4654
|
padding: 0.4em;
|
|
4654
4655
|
border: 1px solid var(--jd-color-border);
|
|
4655
4656
|
user-select: text;
|
|
4656
4657
|
vertical-align: middle;
|
|
4658
|
+
/**
|
|
4659
|
+
// In some circumstances, because of this rule,
|
|
4660
|
+
// the borders of the table are not shown - you need to find out under what
|
|
4661
|
+
&[style*='border'] {
|
|
4662
|
+
border-style: double !important;
|
|
4663
|
+
}
|
|
4664
|
+
*/
|
|
4657
4665
|
}
|
|
4658
4666
|
.jodit-table-resizer {
|
|
4659
4667
|
position: absolute;
|
|
@@ -4777,6 +4785,13 @@ td[style*='border'] {
|
|
|
4777
4785
|
border: 1px solid var(--jd-color-border);
|
|
4778
4786
|
user-select: text;
|
|
4779
4787
|
vertical-align: middle;
|
|
4788
|
+
/**
|
|
4789
|
+
// In some circumstances, because of this rule,
|
|
4790
|
+
// the borders of the table are not shown - you need to find out under what
|
|
4791
|
+
&[style*='border'] {
|
|
4792
|
+
border-style: double !important;
|
|
4793
|
+
}
|
|
4794
|
+
*/
|
|
4780
4795
|
}
|
|
4781
4796
|
|
|
4782
4797
|
/*!
|