jodit 4.0.0-beta.84 → 4.0.0-beta.85
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 +41 -0
- package/README.md +4 -4
- package/es2015/jodit.css +320 -41
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +2470 -2258
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +4 -4
- 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 +37 -36
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +320 -41
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +2469 -2255
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +4 -4
- 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 +37 -36
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +320 -41
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +2459 -2253
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +4 -4
- 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 +37 -36
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +320 -41
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +2459 -2253
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +4 -4
- 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 +37 -36
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +400 -103
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2530 -2312
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +4 -4
- 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 +38 -36
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/component/component.d.ts +2 -2
- package/esm/core/constants.js +2 -2
- package/esm/core/dom/dom.js +2 -2
- package/esm/core/helpers/checker/is-marker.d.ts +3 -0
- package/esm/core/helpers/normalize/normalize-size.d.ts +1 -1
- package/esm/core/helpers/normalize/normalize-size.js +2 -2
- package/esm/core/helpers/string/trim.d.ts +1 -0
- package/esm/core/helpers/string/trim.js +5 -0
- package/esm/core/helpers/utils/attr.d.ts +3 -0
- package/esm/core/helpers/utils/css.js +1 -0
- package/esm/core/plugin/interface.d.ts +3 -0
- package/esm/core/selection/style/api/has-same-style.d.ts +1 -1
- package/esm/core/selection/style/api/has-same-style.js +7 -4
- package/esm/core/selection/style/api/is-suit-element.d.ts +7 -2
- package/esm/core/selection/style/api/is-suit-element.js +21 -10
- package/esm/core/selection/style/transactions.d.ts +3 -0
- package/esm/core/selection/style/transactions.js +3 -3
- package/esm/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/esm/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/esm/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/esm/core/ui/button/tooltip/tooltip.js +2 -2
- package/esm/core/ui/element.d.ts +1 -1
- package/esm/core/ui/form/block/block.d.ts +1 -1
- package/esm/core/ui/form/block/block.js +1 -1
- package/esm/core/ui/group/group.d.ts +0 -1
- package/esm/core/ui/group/group.js +0 -2
- package/esm/core/ui/group/list.d.ts +1 -0
- package/esm/core/ui/group/list.js +14 -2
- package/esm/core/ui/helpers/get-control-type.js +9 -2
- package/esm/core/ui/popup/popup.d.ts +12 -12
- package/esm/core/ui/popup/popup.js +46 -40
- package/esm/modules/file-browser/config.js +1 -1
- package/esm/modules/image-editor/config.d.ts +3 -0
- package/esm/modules/toolbar/button/button.d.ts +5 -5
- package/esm/modules/toolbar/button/button.js +25 -24
- package/esm/modules/toolbar/button/content.js +1 -1
- package/esm/modules/toolbar/button/index.d.ts +1 -0
- package/esm/modules/toolbar/button/index.js +1 -0
- package/esm/modules/toolbar/button/select/select.d.ts +15 -0
- package/esm/modules/toolbar/button/select/select.js +47 -0
- package/esm/modules/toolbar/collection/collection.d.ts +1 -0
- package/esm/modules/toolbar/collection/collection.js +4 -1
- package/esm/modules/toolbar/factory.d.ts +1 -0
- package/esm/modules/toolbar/factory.js +4 -0
- package/esm/plugins/bold/bold.js +1 -6
- package/esm/plugins/bold/interface.d.ts +3 -0
- package/esm/plugins/class-span/class-span.js +7 -7
- package/esm/plugins/color/config.js +2 -2
- package/esm/plugins/delete/interface.d.ts +3 -0
- package/esm/plugins/enter/interface.d.ts +3 -0
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/font/config.js +63 -51
- package/esm/plugins/font/font.js +1 -1
- package/esm/plugins/format-block/config.d.ts +6 -0
- package/esm/plugins/format-block/config.js +52 -0
- package/esm/plugins/format-block/format-block.d.ts +1 -0
- package/esm/plugins/format-block/format-block.js +1 -68
- package/esm/plugins/fullsize/config.js +1 -1
- package/esm/plugins/iframe/iframe.js +11 -9
- package/esm/plugins/image/image.js +1 -1
- package/esm/plugins/image-processor/config.js +3 -0
- package/esm/plugins/inline-popup/config/items/cells.js +1 -1
- package/esm/plugins/justify/justify.js +8 -7
- package/esm/plugins/link/config.js +1 -1
- package/esm/plugins/mobile/config.js +3 -3
- package/esm/plugins/search/interface.d.ts +3 -0
- package/esm/plugins/select-cells/select-cells.d.ts +2 -0
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/table/config.js +2 -1
- package/esm/plugins/video/config.js +1 -1
- package/esm/types/messages.d.ts +8 -0
- package/esm/types/popup.d.ts +3 -3
- package/esm/types/toolbar.d.ts +12 -8
- package/esm/typings.d.ts +0 -1
- package/package.json +1 -1
- package/types/core/component/component.d.ts +2 -2
- package/types/core/helpers/checker/is-marker.d.ts +3 -0
- package/types/core/helpers/normalize/normalize-size.d.ts +1 -1
- package/types/core/helpers/string/trim.d.ts +1 -0
- package/types/core/helpers/utils/attr.d.ts +3 -0
- package/types/core/plugin/interface.d.ts +3 -0
- package/types/core/selection/style/api/has-same-style.d.ts +1 -1
- package/types/core/selection/style/api/is-suit-element.d.ts +7 -2
- package/types/core/selection/style/transactions.d.ts +3 -0
- package/types/core/storage/engines/local-storage-provider.d.ts +1 -1
- package/types/core/storage/engines/memory-storage-provider.d.ts +1 -1
- package/types/core/ui/button/tooltip/tooltip.d.ts +2 -2
- package/types/core/ui/element.d.ts +1 -1
- package/types/core/ui/form/block/block.d.ts +1 -1
- package/types/core/ui/group/group.d.ts +0 -1
- package/types/core/ui/group/list.d.ts +1 -0
- package/types/core/ui/popup/popup.d.ts +12 -12
- package/types/modules/image-editor/config.d.ts +3 -0
- package/types/modules/toolbar/button/button.d.ts +5 -5
- package/types/modules/toolbar/button/index.d.ts +1 -0
- package/types/modules/toolbar/button/select/select.d.ts +15 -0
- package/types/modules/toolbar/collection/collection.d.ts +1 -0
- package/types/modules/toolbar/factory.d.ts +1 -0
- package/types/plugins/bold/interface.d.ts +3 -0
- package/types/plugins/delete/interface.d.ts +3 -0
- package/types/plugins/enter/interface.d.ts +3 -0
- package/types/plugins/format-block/config.d.ts +6 -0
- package/types/plugins/format-block/format-block.d.ts +1 -0
- package/types/plugins/search/interface.d.ts +3 -0
- package/types/plugins/select-cells/select-cells.d.ts +2 -0
- package/types/types/messages.d.ts +8 -0
- package/types/types/popup.d.ts +3 -3
- package/types/types/toolbar.d.ts +12 -8
- package/types/typings.d.ts +0 -1
|
@@ -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/jodit/)
|
|
4
|
-
* Version: v4.0.0-beta.
|
|
4
|
+
* Version: v4.0.0-beta.85
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -24,7 +24,7 @@ return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[101]
|
|
|
24
24
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
/* harmony export */
|
|
27
|
+
/* harmony export */ Debug: function() { return /* binding */ Debug; }
|
|
28
28
|
/* harmony export */ });
|
|
29
29
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7331);
|
|
30
30
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(79102);
|
|
@@ -76,13 +76,13 @@ function renderText(elm) {
|
|
|
76
76
|
}
|
|
77
77
|
function render(elm, level = 0) {
|
|
78
78
|
return `<div style='padding-left: ${level * 5}px'>
|
|
79
|
-
${elm.nodeName} ${jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom
|
|
79
|
+
${elm.nodeName} ${jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_2__/* .Dom */ .i.isText(elm) ? `- ${renderText(elm)}` : ''}
|
|
80
80
|
${Array.from(elm.childNodes)
|
|
81
81
|
.map(ch => render(ch, level + 1))
|
|
82
82
|
.join('')}
|
|
83
83
|
</div>`;
|
|
84
84
|
}
|
|
85
|
-
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem
|
|
85
|
+
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .pw.add('debug', Debug);
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
/***/ })
|
|
@@ -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/jodit/)
|
|
4
|
-
* Version: v4.0.0-beta.
|
|
4
|
+
* Version: v4.0.0-beta.85
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -42,7 +42,7 @@ return (self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[781]
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config
|
|
45
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.speechRecognize = {
|
|
46
46
|
api: _helpers_api__WEBPACK_IMPORTED_MODULE_4__/* .SpeechRecognition */ .M,
|
|
47
47
|
sound: true,
|
|
48
48
|
continuous: true,
|
|
@@ -61,8 +61,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.speechRecognize */
|
|
|
61
61
|
'select all': 'selectall'
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon
|
|
65
|
-
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config
|
|
64
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .J.set('speech-recognize', (_speech_recognize_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
65
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.controls.speechRecognize = {
|
|
66
66
|
isActive(jodit, _) {
|
|
67
67
|
const api = (0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_1__/* .dataBind */ .q)(jodit, 'speech');
|
|
68
68
|
return Boolean(api === null || api === void 0 ? void 0 : api.isEnabled);
|
|
@@ -132,8 +132,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config.prototype.controls.speechRec
|
|
|
132
132
|
|
|
133
133
|
"use strict";
|
|
134
134
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
135
|
-
/* harmony export */
|
|
136
|
-
/* harmony export */
|
|
135
|
+
/* harmony export */ n: function() { return /* binding */ PII; },
|
|
136
|
+
/* harmony export */ u: function() { return /* binding */ WARN; }
|
|
137
137
|
/* harmony export */ });
|
|
138
138
|
/*!
|
|
139
139
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -155,7 +155,7 @@ const WARN = 940;
|
|
|
155
155
|
|
|
156
156
|
"use strict";
|
|
157
157
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
158
|
-
/* harmony export */
|
|
158
|
+
/* harmony export */ M: function() { return /* binding */ SpeechRecognition; }
|
|
159
159
|
/* harmony export */ });
|
|
160
160
|
/*!
|
|
161
161
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -173,7 +173,7 @@ const SpeechRecognition = window.SpeechRecognition ||
|
|
|
173
173
|
|
|
174
174
|
"use strict";
|
|
175
175
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
176
|
-
/* harmony export */
|
|
176
|
+
/* harmony export */ c: function() { return /* binding */ execSpellCommand; }
|
|
177
177
|
/* harmony export */ });
|
|
178
178
|
/*!
|
|
179
179
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
@@ -193,7 +193,7 @@ function execSpellCommand(jodit, commandSentence) {
|
|
|
193
193
|
|
|
194
194
|
"use strict";
|
|
195
195
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
196
|
-
/* harmony export */
|
|
196
|
+
/* harmony export */ v: function() { return /* binding */ RecognizeManager; }
|
|
197
197
|
/* harmony export */ });
|
|
198
198
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(97582);
|
|
199
199
|
/* harmony import */ var jodit_core_event_emitter_eventify__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3569);
|
|
@@ -360,6 +360,7 @@ RecognizeManager = RecognizeManager_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/*
|
|
|
360
360
|
], RecognizeManager);
|
|
361
361
|
|
|
362
362
|
|
|
363
|
+
|
|
363
364
|
/***/ }),
|
|
364
365
|
|
|
365
366
|
/***/ 55486:
|
|
@@ -367,7 +368,7 @@ RecognizeManager = RecognizeManager_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/*
|
|
|
367
368
|
|
|
368
369
|
"use strict";
|
|
369
370
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
370
|
-
/* harmony export */
|
|
371
|
+
/* harmony export */ e: function() { return /* binding */ sound; }
|
|
371
372
|
/* harmony export */ });
|
|
372
373
|
/* harmony import */ var jodit_plugins_speech_recognize_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16618);
|
|
373
374
|
/*!
|
|
@@ -608,26 +609,26 @@ module.exports = {
|
|
|
608
609
|
"use strict";
|
|
609
610
|
__webpack_require__.r(__webpack_exports__);
|
|
610
611
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
611
|
-
/* harmony export */
|
|
612
|
-
/* harmony export */
|
|
613
|
-
/* harmony export */
|
|
614
|
-
/* harmony export */
|
|
615
|
-
/* harmony export */
|
|
616
|
-
/* harmony export */
|
|
617
|
-
/* harmony export */
|
|
618
|
-
/* harmony export */
|
|
619
|
-
/* harmony export */
|
|
620
|
-
/* harmony export */
|
|
621
|
-
/* harmony export */
|
|
622
|
-
/* harmony export */
|
|
623
|
-
/* harmony export */
|
|
624
|
-
/* harmony export */
|
|
625
|
-
/* harmony export */
|
|
626
|
-
/* harmony export */
|
|
627
|
-
/* harmony export */
|
|
628
|
-
/* harmony export */
|
|
629
|
-
/* harmony export */
|
|
630
|
-
/* harmony export */
|
|
612
|
+
/* harmony export */ ar: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
613
|
+
/* harmony export */ cs_cz: function() { return /* reexport module object */ _cs_cz_js__WEBPACK_IMPORTED_MODULE_1__; },
|
|
614
|
+
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
615
|
+
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
616
|
+
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
617
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
618
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
619
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
620
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
621
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
622
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
623
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
624
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
625
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
626
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
627
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
628
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
629
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
630
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
631
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_19__; }
|
|
631
632
|
/* harmony export */ });
|
|
632
633
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57998);
|
|
633
634
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -948,7 +949,7 @@ module.exports = {
|
|
|
948
949
|
"use strict";
|
|
949
950
|
__webpack_require__.r(__webpack_exports__);
|
|
950
951
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
951
|
-
/* harmony export */
|
|
952
|
+
/* harmony export */ SpeechRecognizeNative: function() { return /* binding */ SpeechRecognizeNative; }
|
|
952
953
|
/* harmony export */ });
|
|
953
954
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(97582);
|
|
954
955
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7331);
|
|
@@ -1020,7 +1021,7 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0
|
|
|
1020
1021
|
}
|
|
1021
1022
|
this.j.workplace.appendChild(this.messagePopup);
|
|
1022
1023
|
this.j.async.setTimeout(() => {
|
|
1023
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom
|
|
1024
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .i.safeRemove(this.messagePopup);
|
|
1024
1025
|
}, {
|
|
1025
1026
|
label: 'onSpeechRecognizeProgressResult',
|
|
1026
1027
|
timeout: 1000
|
|
@@ -1029,12 +1030,12 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0
|
|
|
1029
1030
|
}
|
|
1030
1031
|
onSpeechRecognizeResult(text) {
|
|
1031
1032
|
const { j } = this, { s } = j;
|
|
1032
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom
|
|
1033
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .i.safeRemove(this.messagePopup);
|
|
1033
1034
|
if (!this._checkCommand(text)) {
|
|
1034
1035
|
const { range } = s, node = s.current();
|
|
1035
1036
|
if (s.isCollapsed() &&
|
|
1036
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom
|
|
1037
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom
|
|
1037
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .i.isText(node) &&
|
|
1038
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_4__/* .Dom */ .i.isOrContains(j.editor, node) &&
|
|
1038
1039
|
node.nodeValue) {
|
|
1039
1040
|
const sentence = node.nodeValue;
|
|
1040
1041
|
node.nodeValue =
|
|
@@ -1066,7 +1067,7 @@ class SpeechRecognizeNative extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_0
|
|
|
1066
1067
|
(0,tslib__WEBPACK_IMPORTED_MODULE_10__/* .__decorate */ .gn)([
|
|
1067
1068
|
(0,jodit_core_decorators_watch_watch__WEBPACK_IMPORTED_MODULE_1__/* .watch */ .YP)(':speechRecognizeResult')
|
|
1068
1069
|
], SpeechRecognizeNative.prototype, "onSpeechRecognizeResult", null);
|
|
1069
|
-
_jodit__WEBPACK_IMPORTED_MODULE_6__/* .Jodit
|
|
1070
|
+
_jodit__WEBPACK_IMPORTED_MODULE_6__/* .Jodit */ .h.plugins.add('speech-recognize', SpeechRecognizeNative);
|
|
1070
1071
|
|
|
1071
1072
|
|
|
1072
1073
|
/***/ }),
|
package/es2018/jodit.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/jodit/)
|
|
4
|
-
* Version: v4.0.0-beta.
|
|
4
|
+
* Version: v4.0.0-beta.85
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -749,6 +749,34 @@ svg.jodit-icon {
|
|
|
749
749
|
max-height: fit-content;
|
|
750
750
|
}
|
|
751
751
|
|
|
752
|
+
/*!
|
|
753
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
754
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
755
|
+
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
756
|
+
*/
|
|
757
|
+
.jodit-ui-group {
|
|
758
|
+
display: inline-flex;
|
|
759
|
+
max-width: 100%;
|
|
760
|
+
flex: 0 0 auto;
|
|
761
|
+
flex-shrink: 0;
|
|
762
|
+
flex-wrap: wrap;
|
|
763
|
+
}
|
|
764
|
+
.jodit-ui-group_line_true {
|
|
765
|
+
display: flex;
|
|
766
|
+
justify-content: stretch;
|
|
767
|
+
}
|
|
768
|
+
.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true)::after {
|
|
769
|
+
content: '';
|
|
770
|
+
padding: 0;
|
|
771
|
+
border-right: 1px solid var(--jd-color-border);
|
|
772
|
+
border-left: 0;
|
|
773
|
+
margin: 2px;
|
|
774
|
+
cursor: default;
|
|
775
|
+
}
|
|
776
|
+
.jodit-ui-group:last-child {
|
|
777
|
+
border-bottom: 0;
|
|
778
|
+
}
|
|
779
|
+
|
|
752
780
|
/*!
|
|
753
781
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
754
782
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -1420,34 +1448,6 @@ svg.jodit-icon {
|
|
|
1420
1448
|
flex: 1;
|
|
1421
1449
|
}
|
|
1422
1450
|
|
|
1423
|
-
/*!
|
|
1424
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
1425
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1426
|
-
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1427
|
-
*/
|
|
1428
|
-
.jodit-ui-group {
|
|
1429
|
-
display: inline-flex;
|
|
1430
|
-
max-width: 100%;
|
|
1431
|
-
flex: 0 0 auto;
|
|
1432
|
-
flex-shrink: 0;
|
|
1433
|
-
flex-wrap: wrap;
|
|
1434
|
-
}
|
|
1435
|
-
.jodit-ui-group_line_true {
|
|
1436
|
-
display: flex;
|
|
1437
|
-
justify-content: stretch;
|
|
1438
|
-
}
|
|
1439
|
-
.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true)::after {
|
|
1440
|
-
content: '';
|
|
1441
|
-
padding: 0;
|
|
1442
|
-
border-right: 1px solid var(--jd-color-border);
|
|
1443
|
-
border-left: 0;
|
|
1444
|
-
margin: 2px;
|
|
1445
|
-
cursor: default;
|
|
1446
|
-
}
|
|
1447
|
-
.jodit-ui-group:last-child {
|
|
1448
|
-
border-bottom: 0;
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
1451
|
.jodit-ui-button-group {
|
|
1452
1452
|
margin-bottom: var(--jd-padding-default);
|
|
1453
1453
|
}
|
|
@@ -1511,7 +1511,7 @@ svg.jodit-icon {
|
|
|
1511
1511
|
opacity: 0;
|
|
1512
1512
|
outline: none;
|
|
1513
1513
|
text-rendering: optimizelegibility;
|
|
1514
|
-
transform:
|
|
1514
|
+
transform: translate(-50%, calc(var(--jd-padding-default) / 2));
|
|
1515
1515
|
transition: opacity 0.2s ease 0s;
|
|
1516
1516
|
user-select: none;
|
|
1517
1517
|
white-space: normal;
|
|
@@ -2479,6 +2479,8 @@ svg.jodit-icon {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
.jodit-toolbar-collection .jodit-toolbar-content,
|
|
2481
2481
|
.jodit-toolbar-editor-collection .jodit-toolbar-content,
|
|
2482
|
+
.jodit-toolbar-collection .jodit-toolbar-select,
|
|
2483
|
+
.jodit-toolbar-editor-collection .jodit-toolbar-select,
|
|
2482
2484
|
.jodit-toolbar-collection .jodit-toolbar-button,
|
|
2483
2485
|
.jodit-toolbar-editor-collection .jodit-toolbar-button {
|
|
2484
2486
|
padding: 0;
|
|
@@ -2494,6 +2496,9 @@ svg.jodit-icon {
|
|
|
2494
2496
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2495
2497
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2496
2498
|
*/
|
|
2499
|
+
:root {
|
|
2500
|
+
--jd-button-trigger-size: 14px;
|
|
2501
|
+
}
|
|
2497
2502
|
.jodit-toolbar-button {
|
|
2498
2503
|
display: flex;
|
|
2499
2504
|
overflow: hidden;
|
|
@@ -2671,7 +2676,8 @@ svg.jodit-icon {
|
|
|
2671
2676
|
border-radius: 0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
|
|
2672
2677
|
opacity: 0.4;
|
|
2673
2678
|
cursor: pointer;
|
|
2674
|
-
|
|
2679
|
+
--jd-button-trigger-size: 14px;
|
|
2680
|
+
width: calc(var(--jd-button-trigger-size, 14px) + 2px);
|
|
2675
2681
|
}
|
|
2676
2682
|
.jodit-toolbar-button__trigger:hover:not([disabled]),
|
|
2677
2683
|
.jodit-toolbar-button__trigger:focus-visible:not([disabled]) {
|
|
@@ -2692,31 +2698,35 @@ svg.jodit-icon {
|
|
|
2692
2698
|
pointer-events: none;
|
|
2693
2699
|
}
|
|
2694
2700
|
.jodit-toolbar-button__trigger svg {
|
|
2695
|
-
width:
|
|
2701
|
+
width: calc(var(--jd-button-trigger-size, 14px) - 4px);
|
|
2696
2702
|
}
|
|
2697
2703
|
.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger {
|
|
2698
|
-
|
|
2704
|
+
--jd-button-trigger-size: 8px;
|
|
2705
|
+
width: calc(var(--jd-button-trigger-size, 8px) + 2px);
|
|
2699
2706
|
}
|
|
2700
2707
|
.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger svg {
|
|
2701
|
-
width: 4px;
|
|
2708
|
+
width: calc(var(--jd-button-trigger-size, 8px) - 4px);
|
|
2702
2709
|
}
|
|
2703
2710
|
.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger {
|
|
2704
|
-
|
|
2711
|
+
--jd-button-trigger-size: 10px;
|
|
2712
|
+
width: calc(var(--jd-button-trigger-size, 10px) + 2px);
|
|
2705
2713
|
}
|
|
2706
2714
|
.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger svg {
|
|
2707
|
-
width:
|
|
2715
|
+
width: calc(var(--jd-button-trigger-size, 10px) - 4px);
|
|
2708
2716
|
}
|
|
2709
2717
|
.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger {
|
|
2710
|
-
|
|
2718
|
+
--jd-button-trigger-size: 12px;
|
|
2719
|
+
width: calc(var(--jd-button-trigger-size, 12px) + 2px);
|
|
2711
2720
|
}
|
|
2712
2721
|
.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger svg {
|
|
2713
|
-
width:
|
|
2722
|
+
width: calc(var(--jd-button-trigger-size, 12px) - 4px);
|
|
2714
2723
|
}
|
|
2715
2724
|
.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger {
|
|
2716
|
-
|
|
2725
|
+
--jd-button-trigger-size: 16px;
|
|
2726
|
+
width: calc(var(--jd-button-trigger-size, 16px) + 2px);
|
|
2717
2727
|
}
|
|
2718
2728
|
.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger svg {
|
|
2719
|
-
width:
|
|
2729
|
+
width: calc(var(--jd-button-trigger-size, 16px) - 4px);
|
|
2720
2730
|
}
|
|
2721
2731
|
.jodit-toolbar-button_with-trigger_true .jodit-toolbar-button__button {
|
|
2722
2732
|
border-radius: var(--jd-border-radius-default) 0 0 var(--jd-border-radius-default);
|
|
@@ -3052,6 +3062,274 @@ svg.jodit-icon {
|
|
|
3052
3062
|
outline: 0;
|
|
3053
3063
|
}
|
|
3054
3064
|
|
|
3065
|
+
.jodit-toolbar-select {
|
|
3066
|
+
--jd-color-button-background-hover-opacity40: rgba(220, 220, 220, 0.2);
|
|
3067
|
+
--jd-color-button-background-hover-opacity60: rgba(220, 220, 220, 0.1);
|
|
3068
|
+
display: flex;
|
|
3069
|
+
overflow: hidden;
|
|
3070
|
+
align-items: center;
|
|
3071
|
+
justify-content: center;
|
|
3072
|
+
border: 1px solid transparent;
|
|
3073
|
+
border-radius: var(--jd-border-radius-default);
|
|
3074
|
+
min-width: 34px;
|
|
3075
|
+
height: 34px;
|
|
3076
|
+
justify-content: space-between;
|
|
3077
|
+
cursor: pointer;
|
|
3078
|
+
min-width: 100px;
|
|
3079
|
+
}
|
|
3080
|
+
.jodit-toolbar-select__icon {
|
|
3081
|
+
display: none;
|
|
3082
|
+
}
|
|
3083
|
+
.jodit-toolbar-select__icon:not(:empty) {
|
|
3084
|
+
display: inline-flex;
|
|
3085
|
+
}
|
|
3086
|
+
.jodit-toolbar-select__text {
|
|
3087
|
+
display: none;
|
|
3088
|
+
}
|
|
3089
|
+
.jodit-toolbar-select__text:not(:empty) {
|
|
3090
|
+
font-family: var(--jd-font-default);
|
|
3091
|
+
font-size: var(--jd-font-size-default);
|
|
3092
|
+
display: inline-flex;
|
|
3093
|
+
flex-grow: 1;
|
|
3094
|
+
justify-content: center;
|
|
3095
|
+
}
|
|
3096
|
+
.jodit-toolbar-select_context_menu .jodit-toolbar-select__text {
|
|
3097
|
+
position: relative;
|
|
3098
|
+
justify-content: left;
|
|
3099
|
+
padding-left: var(--jd-padding-default);
|
|
3100
|
+
}
|
|
3101
|
+
.jodit-toolbar-select_context_menu .jodit-toolbar-select__text::before {
|
|
3102
|
+
position: absolute;
|
|
3103
|
+
top: calc(var(--jd-padding-default) * -1);
|
|
3104
|
+
left: 0;
|
|
3105
|
+
height: 35px;
|
|
3106
|
+
border-left: 1px solid var(--jd-color-border);
|
|
3107
|
+
content: '';
|
|
3108
|
+
}
|
|
3109
|
+
.jodit-toolbar-select__icon:not(:empty) + .jodit-toolbar-select__text:not(:empty) {
|
|
3110
|
+
margin-left: var(--jd-padding-default);
|
|
3111
|
+
}
|
|
3112
|
+
.jodit-toolbar-select__icon:empty + .jodit-toolbar-select__text:not(:empty) {
|
|
3113
|
+
padding: 0 var(--jd-padding-default);
|
|
3114
|
+
}
|
|
3115
|
+
.jodit-toolbar-select__icon:empty + .jodit-toolbar-select__text:not(:empty) {
|
|
3116
|
+
padding: 0;
|
|
3117
|
+
}
|
|
3118
|
+
.jodit-toolbar-select .jodit-icon {
|
|
3119
|
+
width: 14px;
|
|
3120
|
+
height: 14px;
|
|
3121
|
+
}
|
|
3122
|
+
.jodit-toolbar-select button {
|
|
3123
|
+
min-width: 34px;
|
|
3124
|
+
height: 34px;
|
|
3125
|
+
padding: 0;
|
|
3126
|
+
appearance: none;
|
|
3127
|
+
}
|
|
3128
|
+
.jodit-toolbar-select_text-icons_true button {
|
|
3129
|
+
padding: 0 var(--jd-padding-default);
|
|
3130
|
+
}
|
|
3131
|
+
.jodit-toolbar-select_size_tiny {
|
|
3132
|
+
min-width: 16px;
|
|
3133
|
+
height: 16px;
|
|
3134
|
+
}
|
|
3135
|
+
.jodit-toolbar-select_size_tiny .jodit-icon {
|
|
3136
|
+
width: 8px;
|
|
3137
|
+
height: 8px;
|
|
3138
|
+
}
|
|
3139
|
+
.jodit-toolbar-select_size_tiny button {
|
|
3140
|
+
min-width: 16px;
|
|
3141
|
+
height: 16px;
|
|
3142
|
+
padding: 0;
|
|
3143
|
+
appearance: none;
|
|
3144
|
+
}
|
|
3145
|
+
.jodit-toolbar-select_size_tiny_text-icons_true button {
|
|
3146
|
+
padding: 0 var(--jd-padding-default);
|
|
3147
|
+
}
|
|
3148
|
+
.jodit-toolbar-select_size_xsmall {
|
|
3149
|
+
min-width: 22px;
|
|
3150
|
+
height: 22px;
|
|
3151
|
+
}
|
|
3152
|
+
.jodit-toolbar-select_size_xsmall .jodit-icon {
|
|
3153
|
+
width: 10px;
|
|
3154
|
+
height: 10px;
|
|
3155
|
+
}
|
|
3156
|
+
.jodit-toolbar-select_size_xsmall button {
|
|
3157
|
+
min-width: 22px;
|
|
3158
|
+
height: 22px;
|
|
3159
|
+
padding: 0;
|
|
3160
|
+
appearance: none;
|
|
3161
|
+
}
|
|
3162
|
+
.jodit-toolbar-select_size_xsmall_text-icons_true button {
|
|
3163
|
+
padding: 0 var(--jd-padding-default);
|
|
3164
|
+
}
|
|
3165
|
+
.jodit-toolbar-select_size_small {
|
|
3166
|
+
min-width: 28px;
|
|
3167
|
+
height: 28px;
|
|
3168
|
+
}
|
|
3169
|
+
.jodit-toolbar-select_size_small .jodit-icon {
|
|
3170
|
+
width: 12px;
|
|
3171
|
+
height: 12px;
|
|
3172
|
+
}
|
|
3173
|
+
.jodit-toolbar-select_size_small button {
|
|
3174
|
+
min-width: 28px;
|
|
3175
|
+
height: 28px;
|
|
3176
|
+
padding: 0;
|
|
3177
|
+
appearance: none;
|
|
3178
|
+
}
|
|
3179
|
+
.jodit-toolbar-select_size_small_text-icons_true button {
|
|
3180
|
+
padding: 0 var(--jd-padding-default);
|
|
3181
|
+
}
|
|
3182
|
+
.jodit-toolbar-select_size_large {
|
|
3183
|
+
min-width: 40px;
|
|
3184
|
+
height: 40px;
|
|
3185
|
+
}
|
|
3186
|
+
.jodit-toolbar-select_size_large .jodit-icon {
|
|
3187
|
+
width: 16px;
|
|
3188
|
+
height: 16px;
|
|
3189
|
+
}
|
|
3190
|
+
.jodit-toolbar-select_size_large button {
|
|
3191
|
+
min-width: 40px;
|
|
3192
|
+
height: 40px;
|
|
3193
|
+
padding: 0;
|
|
3194
|
+
appearance: none;
|
|
3195
|
+
}
|
|
3196
|
+
.jodit-toolbar-select_size_large_text-icons_true button {
|
|
3197
|
+
padding: 0 var(--jd-padding-default);
|
|
3198
|
+
}
|
|
3199
|
+
.jodit-toolbar-select__button {
|
|
3200
|
+
cursor: pointer;
|
|
3201
|
+
position: relative;
|
|
3202
|
+
box-sizing: border-box;
|
|
3203
|
+
padding: 0;
|
|
3204
|
+
border: 0;
|
|
3205
|
+
appearance: none;
|
|
3206
|
+
background: 0 0;
|
|
3207
|
+
box-shadow: none;
|
|
3208
|
+
font-style: normal;
|
|
3209
|
+
outline: 0;
|
|
3210
|
+
text-align: center;
|
|
3211
|
+
text-decoration: none;
|
|
3212
|
+
text-transform: none;
|
|
3213
|
+
user-select: none;
|
|
3214
|
+
display: inline-flex;
|
|
3215
|
+
align-items: center;
|
|
3216
|
+
justify-content: center;
|
|
3217
|
+
padding: 0 var(--jd-padding-default);
|
|
3218
|
+
border-radius: var(--jd-border-radius-default);
|
|
3219
|
+
color: var(--jd-color-text-icons);
|
|
3220
|
+
}
|
|
3221
|
+
.jodit-toolbar-select__button:hover:not([disabled]),
|
|
3222
|
+
.jodit-toolbar-select__button:focus-visible:not([disabled]) {
|
|
3223
|
+
background-color: var(--jd-color-button-background-hover);
|
|
3224
|
+
opacity: 1;
|
|
3225
|
+
outline: 0;
|
|
3226
|
+
}
|
|
3227
|
+
.jodit-toolbar-select__button:active:not([disabled]),
|
|
3228
|
+
.jodit-toolbar-select__button[aria-pressed='true']:not([disabled]) {
|
|
3229
|
+
background-color: var(--jd-color-button-background-hover-opacity40);
|
|
3230
|
+
outline: 0;
|
|
3231
|
+
}
|
|
3232
|
+
.jodit-toolbar-select__button[aria-pressed='true']:hover:not([disabled]) {
|
|
3233
|
+
background-color: var(--jd-color-button-background-hover-opacity60);
|
|
3234
|
+
}
|
|
3235
|
+
.jodit-toolbar-select__button[disabled] {
|
|
3236
|
+
opacity: 0.3;
|
|
3237
|
+
pointer-events: none;
|
|
3238
|
+
}
|
|
3239
|
+
.jodit-toolbar-select__trigger {
|
|
3240
|
+
display: flex;
|
|
3241
|
+
height: 100%;
|
|
3242
|
+
align-items: center;
|
|
3243
|
+
justify-content: center;
|
|
3244
|
+
border-radius: 0 var(--jd-border-radius-default) var(--jd-border-radius-default) 0;
|
|
3245
|
+
opacity: 0.4;
|
|
3246
|
+
cursor: pointer;
|
|
3247
|
+
--jd-button-trigger-size: 14px;
|
|
3248
|
+
width: calc(var(--jd-button-trigger-size, 14px) + 2px);
|
|
3249
|
+
}
|
|
3250
|
+
.jodit-toolbar-select__trigger:hover:not([disabled]),
|
|
3251
|
+
.jodit-toolbar-select__trigger:focus-visible:not([disabled]) {
|
|
3252
|
+
background-color: var(--jd-color-button-background-hover);
|
|
3253
|
+
opacity: 1;
|
|
3254
|
+
outline: 0;
|
|
3255
|
+
}
|
|
3256
|
+
.jodit-toolbar-select__trigger:active:not([disabled]),
|
|
3257
|
+
.jodit-toolbar-select__trigger[aria-pressed='true']:not([disabled]) {
|
|
3258
|
+
background-color: var(--jd-color-button-background-hover-opacity40);
|
|
3259
|
+
outline: 0;
|
|
3260
|
+
}
|
|
3261
|
+
.jodit-toolbar-select__trigger[aria-pressed='true']:hover:not([disabled]) {
|
|
3262
|
+
background-color: var(--jd-color-button-background-hover-opacity60);
|
|
3263
|
+
}
|
|
3264
|
+
.jodit-toolbar-select__trigger[disabled] {
|
|
3265
|
+
opacity: 0.3;
|
|
3266
|
+
pointer-events: none;
|
|
3267
|
+
}
|
|
3268
|
+
.jodit-toolbar-select__trigger svg {
|
|
3269
|
+
width: calc(var(--jd-button-trigger-size, 14px) - 4px);
|
|
3270
|
+
}
|
|
3271
|
+
.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger {
|
|
3272
|
+
--jd-button-trigger-size: 8px;
|
|
3273
|
+
width: calc(var(--jd-button-trigger-size, 8px) + 2px);
|
|
3274
|
+
}
|
|
3275
|
+
.jodit-toolbar-select_size_tiny .jodit-toolbar-select__trigger svg {
|
|
3276
|
+
width: calc(var(--jd-button-trigger-size, 8px) - 4px);
|
|
3277
|
+
}
|
|
3278
|
+
.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger {
|
|
3279
|
+
--jd-button-trigger-size: 10px;
|
|
3280
|
+
width: calc(var(--jd-button-trigger-size, 10px) + 2px);
|
|
3281
|
+
}
|
|
3282
|
+
.jodit-toolbar-select_size_xsmall .jodit-toolbar-select__trigger svg {
|
|
3283
|
+
width: calc(var(--jd-button-trigger-size, 10px) - 4px);
|
|
3284
|
+
}
|
|
3285
|
+
.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger {
|
|
3286
|
+
--jd-button-trigger-size: 12px;
|
|
3287
|
+
width: calc(var(--jd-button-trigger-size, 12px) + 2px);
|
|
3288
|
+
}
|
|
3289
|
+
.jodit-toolbar-select_size_small .jodit-toolbar-select__trigger svg {
|
|
3290
|
+
width: calc(var(--jd-button-trigger-size, 12px) - 4px);
|
|
3291
|
+
}
|
|
3292
|
+
.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger {
|
|
3293
|
+
--jd-button-trigger-size: 16px;
|
|
3294
|
+
width: calc(var(--jd-button-trigger-size, 16px) + 2px);
|
|
3295
|
+
}
|
|
3296
|
+
.jodit-toolbar-select_size_large .jodit-toolbar-select__trigger svg {
|
|
3297
|
+
width: calc(var(--jd-button-trigger-size, 16px) - 4px);
|
|
3298
|
+
}
|
|
3299
|
+
.jodit-toolbar-select_with-trigger_true .jodit-toolbar-button__button {
|
|
3300
|
+
border-radius: var(--jd-border-radius-default) 0 0 var(--jd-border-radius-default);
|
|
3301
|
+
}
|
|
3302
|
+
.jodit-toolbar-select_with-trigger_true:hover:not([disabled]) {
|
|
3303
|
+
border-color: var(--jd-color-border);
|
|
3304
|
+
}
|
|
3305
|
+
.jodit-toolbar-select_stroke_false svg {
|
|
3306
|
+
stroke: none;
|
|
3307
|
+
}
|
|
3308
|
+
.jodit-toolbar-select:hover:not([disabled]),
|
|
3309
|
+
.jodit-toolbar-select:focus-visible:not([disabled]) {
|
|
3310
|
+
background-color: var(--jd-color-button-background-hover);
|
|
3311
|
+
opacity: 1;
|
|
3312
|
+
outline: 0;
|
|
3313
|
+
}
|
|
3314
|
+
.jodit-toolbar-select:active:not([disabled]),
|
|
3315
|
+
.jodit-toolbar-select[aria-pressed='true']:not([disabled]) {
|
|
3316
|
+
background-color: var(--jd-color-button-background-hover-opacity40);
|
|
3317
|
+
outline: 0;
|
|
3318
|
+
}
|
|
3319
|
+
.jodit-toolbar-select[aria-pressed='true']:hover:not([disabled]) {
|
|
3320
|
+
background-color: var(--jd-color-button-background-hover-opacity60);
|
|
3321
|
+
}
|
|
3322
|
+
.jodit-toolbar-select[disabled] {
|
|
3323
|
+
opacity: 0.3;
|
|
3324
|
+
pointer-events: none;
|
|
3325
|
+
}
|
|
3326
|
+
.jodit-toolbar-select__text:not(:empty) {
|
|
3327
|
+
justify-content: left;
|
|
3328
|
+
}
|
|
3329
|
+
.jodit-toolbar-select__button {
|
|
3330
|
+
flex: 1;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3055
3333
|
/*!
|
|
3056
3334
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3057
3335
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -3225,7 +3503,8 @@ svg.jodit-icon {
|
|
|
3225
3503
|
height: 100%;
|
|
3226
3504
|
background-color: #eee;
|
|
3227
3505
|
background-image: linear-gradient(45deg, var(--jd-color-border) 25%, transparent 25%, transparent 75%, var(--jd-color-border) 75%, var(--jd-color-border)), linear-gradient(45deg, var(--jd-color-border) 25%, transparent 25%, transparent 75%, var(--jd-color-border) 75%, var(--jd-color-border));
|
|
3228
|
-
background-position: 0 0,
|
|
3506
|
+
background-position: 0 0,
|
|
3507
|
+
15px 15px;
|
|
3229
3508
|
background-size: 30px 30px;
|
|
3230
3509
|
user-select: none;
|
|
3231
3510
|
}
|