@uipath/apollo-wind 2.52.2 → 2.52.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/dist/components/ui/index.cjs +22 -22
- package/dist/components/ui/prompt-editor/plugins/ShortcutContainmentPlugin.cjs +62 -0
- package/dist/components/ui/prompt-editor/plugins/ShortcutContainmentPlugin.d.ts +19 -0
- package/dist/components/ui/prompt-editor/plugins/ShortcutContainmentPlugin.js +25 -0
- package/dist/components/ui/prompt-editor/prompt-editor.cjs +2 -0
- package/dist/components/ui/prompt-editor/prompt-editor.js +2 -0
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ var __webpack_modules__ = {
|
|
|
27
27
|
"@/components/ui/button" (module) {
|
|
28
28
|
module.exports = require("./button.cjs");
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"@/components/ui/calendar" (module) {
|
|
31
31
|
module.exports = require("./calendar.cjs");
|
|
32
32
|
},
|
|
33
33
|
"@/components/ui/card" (module) {
|
|
@@ -36,10 +36,10 @@ var __webpack_modules__ = {
|
|
|
36
36
|
"./chart" (module) {
|
|
37
37
|
module.exports = require("./chart.cjs");
|
|
38
38
|
},
|
|
39
|
-
"
|
|
39
|
+
"@/components/ui/checkbox" (module) {
|
|
40
40
|
module.exports = require("./checkbox.cjs");
|
|
41
41
|
},
|
|
42
|
-
"
|
|
42
|
+
"@/components/ui/collapsible" (module) {
|
|
43
43
|
module.exports = require("./collapsible.cjs");
|
|
44
44
|
},
|
|
45
45
|
"./combobox" (module) {
|
|
@@ -48,7 +48,7 @@ var __webpack_modules__ = {
|
|
|
48
48
|
"@/components/ui/command" (module) {
|
|
49
49
|
module.exports = require("./command.cjs");
|
|
50
50
|
},
|
|
51
|
-
"
|
|
51
|
+
"@/components/ui/context-menu" (module) {
|
|
52
52
|
module.exports = require("./context-menu.cjs");
|
|
53
53
|
},
|
|
54
54
|
"./data-table" (module) {
|
|
@@ -69,7 +69,7 @@ var __webpack_modules__ = {
|
|
|
69
69
|
"@/components/ui/dropdown-menu" (module) {
|
|
70
70
|
module.exports = require("./dropdown-menu.cjs");
|
|
71
71
|
},
|
|
72
|
-
"
|
|
72
|
+
"./editable-cell" (module) {
|
|
73
73
|
module.exports = require("./editable-cell.cjs");
|
|
74
74
|
},
|
|
75
75
|
"./empty-state" (module) {
|
|
@@ -81,7 +81,7 @@ var __webpack_modules__ = {
|
|
|
81
81
|
"./form-field" (module) {
|
|
82
82
|
module.exports = require("./form-field.cjs");
|
|
83
83
|
},
|
|
84
|
-
"
|
|
84
|
+
"@/components/ui/hover-card" (module) {
|
|
85
85
|
module.exports = require("./hover-card.cjs");
|
|
86
86
|
},
|
|
87
87
|
"@/components/ui/info-tooltip" (module) {
|
|
@@ -90,7 +90,7 @@ var __webpack_modules__ = {
|
|
|
90
90
|
"@/components/ui/input-group" (module) {
|
|
91
91
|
module.exports = require("./input-group.cjs");
|
|
92
92
|
},
|
|
93
|
-
"
|
|
93
|
+
"@/components/ui/input" (module) {
|
|
94
94
|
module.exports = require("./input.cjs");
|
|
95
95
|
},
|
|
96
96
|
"@/components/ui/label" (module) {
|
|
@@ -108,7 +108,7 @@ var __webpack_modules__ = {
|
|
|
108
108
|
"./pagination" (module) {
|
|
109
109
|
module.exports = require("./pagination.cjs");
|
|
110
110
|
},
|
|
111
|
-
"
|
|
111
|
+
"@/components/ui/popover" (module) {
|
|
112
112
|
module.exports = require("./popover.cjs");
|
|
113
113
|
},
|
|
114
114
|
"@/components/ui/portal-container" (module) {
|
|
@@ -162,13 +162,13 @@ var __webpack_modules__ = {
|
|
|
162
162
|
"./switch" (module) {
|
|
163
163
|
module.exports = require("./switch.cjs");
|
|
164
164
|
},
|
|
165
|
-
"
|
|
165
|
+
"./table" (module) {
|
|
166
166
|
module.exports = require("./table.cjs");
|
|
167
167
|
},
|
|
168
168
|
"./tabs" (module) {
|
|
169
169
|
module.exports = require("./tabs.cjs");
|
|
170
170
|
},
|
|
171
|
-
"
|
|
171
|
+
"@/components/ui/textarea" (module) {
|
|
172
172
|
module.exports = require("./textarea.cjs");
|
|
173
173
|
},
|
|
174
174
|
"./toggle-group" (module) {
|
|
@@ -177,7 +177,7 @@ var __webpack_modules__ = {
|
|
|
177
177
|
"@/components/ui/toggle" (module) {
|
|
178
178
|
module.exports = require("./toggle.cjs");
|
|
179
179
|
},
|
|
180
|
-
"
|
|
180
|
+
"./tooltip" (module) {
|
|
181
181
|
module.exports = require("./tooltip.cjs");
|
|
182
182
|
},
|
|
183
183
|
"./tree-view" (module) {
|
|
@@ -296,7 +296,7 @@ var __webpack_exports__ = {};
|
|
|
296
296
|
"default"
|
|
297
297
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_button_group__rspack_import_8[__rspack_import_key];
|
|
298
298
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
299
|
-
var _calendar__rspack_import_9 = __webpack_require__("
|
|
299
|
+
var _calendar__rspack_import_9 = __webpack_require__("@/components/ui/calendar");
|
|
300
300
|
var __rspack_reexport = {};
|
|
301
301
|
for(const __rspack_import_key in _calendar__rspack_import_9)if ([
|
|
302
302
|
"TreeView",
|
|
@@ -317,14 +317,14 @@ var __webpack_exports__ = {};
|
|
|
317
317
|
"default"
|
|
318
318
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_chart__rspack_import_11[__rspack_import_key];
|
|
319
319
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
320
|
-
var _checkbox__rspack_import_12 = __webpack_require__("
|
|
320
|
+
var _checkbox__rspack_import_12 = __webpack_require__("@/components/ui/checkbox");
|
|
321
321
|
var __rspack_reexport = {};
|
|
322
322
|
for(const __rspack_import_key in _checkbox__rspack_import_12)if ([
|
|
323
323
|
"TreeView",
|
|
324
324
|
"default"
|
|
325
325
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_12[__rspack_import_key];
|
|
326
326
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
327
|
-
var _collapsible__rspack_import_13 = __webpack_require__("
|
|
327
|
+
var _collapsible__rspack_import_13 = __webpack_require__("@/components/ui/collapsible");
|
|
328
328
|
var __rspack_reexport = {};
|
|
329
329
|
for(const __rspack_import_key in _collapsible__rspack_import_13)if ([
|
|
330
330
|
"TreeView",
|
|
@@ -345,7 +345,7 @@ var __webpack_exports__ = {};
|
|
|
345
345
|
"default"
|
|
346
346
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_15[__rspack_import_key];
|
|
347
347
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
348
|
-
var _context_menu__rspack_import_16 = __webpack_require__("
|
|
348
|
+
var _context_menu__rspack_import_16 = __webpack_require__("@/components/ui/context-menu");
|
|
349
349
|
var __rspack_reexport = {};
|
|
350
350
|
for(const __rspack_import_key in _context_menu__rspack_import_16)if ([
|
|
351
351
|
"TreeView",
|
|
@@ -394,7 +394,7 @@ var __webpack_exports__ = {};
|
|
|
394
394
|
"default"
|
|
395
395
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_22[__rspack_import_key];
|
|
396
396
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
397
|
-
var _editable_cell__rspack_import_23 = __webpack_require__("
|
|
397
|
+
var _editable_cell__rspack_import_23 = __webpack_require__("./editable-cell");
|
|
398
398
|
var __rspack_reexport = {};
|
|
399
399
|
for(const __rspack_import_key in _editable_cell__rspack_import_23)if ([
|
|
400
400
|
"TreeView",
|
|
@@ -422,7 +422,7 @@ var __webpack_exports__ = {};
|
|
|
422
422
|
"default"
|
|
423
423
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_form_field__rspack_import_26[__rspack_import_key];
|
|
424
424
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
425
|
-
var _hover_card__rspack_import_27 = __webpack_require__("
|
|
425
|
+
var _hover_card__rspack_import_27 = __webpack_require__("@/components/ui/hover-card");
|
|
426
426
|
var __rspack_reexport = {};
|
|
427
427
|
for(const __rspack_import_key in _hover_card__rspack_import_27)if ([
|
|
428
428
|
"TreeView",
|
|
@@ -436,7 +436,7 @@ var __webpack_exports__ = {};
|
|
|
436
436
|
"default"
|
|
437
437
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_info_tooltip__rspack_import_28[__rspack_import_key];
|
|
438
438
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
439
|
-
var _input__rspack_import_29 = __webpack_require__("
|
|
439
|
+
var _input__rspack_import_29 = __webpack_require__("@/components/ui/input");
|
|
440
440
|
var __rspack_reexport = {};
|
|
441
441
|
for(const __rspack_import_key in _input__rspack_import_29)if ([
|
|
442
442
|
"TreeView",
|
|
@@ -485,7 +485,7 @@ var __webpack_exports__ = {};
|
|
|
485
485
|
"default"
|
|
486
486
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_pagination__rspack_import_35[__rspack_import_key];
|
|
487
487
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
488
|
-
var _popover__rspack_import_36 = __webpack_require__("
|
|
488
|
+
var _popover__rspack_import_36 = __webpack_require__("@/components/ui/popover");
|
|
489
489
|
var __rspack_reexport = {};
|
|
490
490
|
for(const __rspack_import_key in _popover__rspack_import_36)if ([
|
|
491
491
|
"TreeView",
|
|
@@ -611,7 +611,7 @@ var __webpack_exports__ = {};
|
|
|
611
611
|
"default"
|
|
612
612
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_53[__rspack_import_key];
|
|
613
613
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
614
|
-
var _table__rspack_import_54 = __webpack_require__("
|
|
614
|
+
var _table__rspack_import_54 = __webpack_require__("./table");
|
|
615
615
|
var __rspack_reexport = {};
|
|
616
616
|
for(const __rspack_import_key in _table__rspack_import_54)if ([
|
|
617
617
|
"TreeView",
|
|
@@ -625,7 +625,7 @@ var __webpack_exports__ = {};
|
|
|
625
625
|
"default"
|
|
626
626
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tabs__rspack_import_55[__rspack_import_key];
|
|
627
627
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
628
|
-
var _textarea__rspack_import_56 = __webpack_require__("
|
|
628
|
+
var _textarea__rspack_import_56 = __webpack_require__("@/components/ui/textarea");
|
|
629
629
|
var __rspack_reexport = {};
|
|
630
630
|
for(const __rspack_import_key in _textarea__rspack_import_56)if ([
|
|
631
631
|
"TreeView",
|
|
@@ -646,7 +646,7 @@ var __webpack_exports__ = {};
|
|
|
646
646
|
"default"
|
|
647
647
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_toggle_group__rspack_import_58[__rspack_import_key];
|
|
648
648
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
649
|
-
var _tooltip__rspack_import_59 = __webpack_require__("
|
|
649
|
+
var _tooltip__rspack_import_59 = __webpack_require__("./tooltip");
|
|
650
650
|
var __rspack_reexport = {};
|
|
651
651
|
for(const __rspack_import_key in _tooltip__rspack_import_59)if ([
|
|
652
652
|
"TreeView",
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
ShortcutContainmentPlugin: ()=>ShortcutContainmentPlugin,
|
|
28
|
+
registerShortcutContainment: ()=>registerShortcutContainment
|
|
29
|
+
});
|
|
30
|
+
const LexicalComposerContext_namespaceObject = require("@lexical/react/LexicalComposerContext");
|
|
31
|
+
const external_lexical_namespaceObject = require("lexical");
|
|
32
|
+
const external_react_namespaceObject = require("react");
|
|
33
|
+
const FORMATTING_KEYS = [
|
|
34
|
+
'b',
|
|
35
|
+
'i',
|
|
36
|
+
'u'
|
|
37
|
+
];
|
|
38
|
+
const IS_APPLE = "u" > typeof navigator && /Mac|iPod|iPhone|iPad/.test(navigator.platform);
|
|
39
|
+
const CONTROL_OR_META = {
|
|
40
|
+
ctrlKey: !IS_APPLE,
|
|
41
|
+
metaKey: IS_APPLE
|
|
42
|
+
};
|
|
43
|
+
const registerShortcutContainment = (editor)=>editor.registerCommand(external_lexical_namespaceObject.KEY_DOWN_COMMAND, (event)=>{
|
|
44
|
+
if (FORMATTING_KEYS.some((key)=>(0, external_lexical_namespaceObject.isExactShortcutMatch)(event, key, CONTROL_OR_META))) event.stopPropagation();
|
|
45
|
+
return false;
|
|
46
|
+
}, external_lexical_namespaceObject.COMMAND_PRIORITY_NORMAL);
|
|
47
|
+
const ShortcutContainmentPlugin = ()=>{
|
|
48
|
+
const [editor] = (0, LexicalComposerContext_namespaceObject.useLexicalComposerContext)();
|
|
49
|
+
(0, external_react_namespaceObject.useEffect)(()=>registerShortcutContainment(editor), [
|
|
50
|
+
editor
|
|
51
|
+
]);
|
|
52
|
+
return null;
|
|
53
|
+
};
|
|
54
|
+
exports.ShortcutContainmentPlugin = __webpack_exports__.ShortcutContainmentPlugin;
|
|
55
|
+
exports.registerShortcutContainment = __webpack_exports__.registerShortcutContainment;
|
|
56
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
57
|
+
"ShortcutContainmentPlugin",
|
|
58
|
+
"registerShortcutContainment"
|
|
59
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
60
|
+
Object.defineProperty(exports, '__esModule', {
|
|
61
|
+
value: true
|
|
62
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type LexicalEditor } from 'lexical';
|
|
2
|
+
/**
|
|
3
|
+
* Keeps the formatting chords the editor consumes from reaching the host.
|
|
4
|
+
*
|
|
5
|
+
* Lexical's `$handleKeyDown` calls `preventDefault()` on Cmd/Ctrl+B / +I / +U and
|
|
6
|
+
* dispatches `FORMAT_TEXT_COMMAND`, but lets the event keep bubbling. A host that binds
|
|
7
|
+
* the same chord then acts on a keystroke the editor already ate: in a VS Code webview,
|
|
8
|
+
* bolding prompt-editor text also toggles the left sidebar, because VS Code forwards
|
|
9
|
+
* document-level keydown to its keybinding layer without consulting `defaultPrevented`.
|
|
10
|
+
*
|
|
11
|
+
* Only the chords we actually consume are swallowed. Cmd+A, Cmd+S, Cmd+V and friends
|
|
12
|
+
* still reach the host untouched.
|
|
13
|
+
*
|
|
14
|
+
* Registered at `COMMAND_PRIORITY_NORMAL`, above the `COMMAND_PRIORITY_EDITOR` slot
|
|
15
|
+
* Lexical's own handler occupies, and returns `false` so that handler still formats.
|
|
16
|
+
*/
|
|
17
|
+
export declare const registerShortcutContainment: (editor: LexicalEditor) => (() => void);
|
|
18
|
+
/** Rich-mode only: the plain editor applies none of these formats, so its chords belong to the host. */
|
|
19
|
+
export declare const ShortcutContainmentPlugin: () => null;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
|
2
|
+
import { COMMAND_PRIORITY_NORMAL, KEY_DOWN_COMMAND, isExactShortcutMatch } from "lexical";
|
|
3
|
+
import { useEffect } from "react";
|
|
4
|
+
const FORMATTING_KEYS = [
|
|
5
|
+
'b',
|
|
6
|
+
'i',
|
|
7
|
+
'u'
|
|
8
|
+
];
|
|
9
|
+
const IS_APPLE = "u" > typeof navigator && /Mac|iPod|iPhone|iPad/.test(navigator.platform);
|
|
10
|
+
const CONTROL_OR_META = {
|
|
11
|
+
ctrlKey: !IS_APPLE,
|
|
12
|
+
metaKey: IS_APPLE
|
|
13
|
+
};
|
|
14
|
+
const registerShortcutContainment = (editor)=>editor.registerCommand(KEY_DOWN_COMMAND, (event)=>{
|
|
15
|
+
if (FORMATTING_KEYS.some((key)=>isExactShortcutMatch(event, key, CONTROL_OR_META))) event.stopPropagation();
|
|
16
|
+
return false;
|
|
17
|
+
}, COMMAND_PRIORITY_NORMAL);
|
|
18
|
+
const ShortcutContainmentPlugin = ()=>{
|
|
19
|
+
const [editor] = useLexicalComposerContext();
|
|
20
|
+
useEffect(()=>registerShortcutContainment(editor), [
|
|
21
|
+
editor
|
|
22
|
+
]);
|
|
23
|
+
return null;
|
|
24
|
+
};
|
|
25
|
+
export { ShortcutContainmentPlugin, registerShortcutContainment };
|
|
@@ -49,6 +49,7 @@ const EditorRefPlugin_cjs_namespaceObject = require("./plugins/EditorRefPlugin.c
|
|
|
49
49
|
const MultilinePlugin_cjs_namespaceObject = require("./plugins/MultilinePlugin.cjs");
|
|
50
50
|
const NodeSelectionFixPlugin_cjs_namespaceObject = require("./plugins/NodeSelectionFixPlugin.cjs");
|
|
51
51
|
const RenameTokensPlugin_cjs_namespaceObject = require("./plugins/RenameTokensPlugin.cjs");
|
|
52
|
+
const ShortcutContainmentPlugin_cjs_namespaceObject = require("./plugins/ShortcutContainmentPlugin.cjs");
|
|
52
53
|
const ToolbarActionsPlugin_cjs_namespaceObject = require("./plugins/ToolbarActionsPlugin.cjs");
|
|
53
54
|
const ValidateTokensPlugin_cjs_namespaceObject = require("./plugins/ValidateTokensPlugin.cjs");
|
|
54
55
|
const ValueSyncPlugin_cjs_namespaceObject = require("./plugins/ValueSyncPlugin.cjs");
|
|
@@ -317,6 +318,7 @@ const EditorInner = /*#__PURE__*/ (0, external_react_namespaceObject.forwardRef)
|
|
|
317
318
|
richText && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
318
319
|
children: [
|
|
319
320
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(LexicalListPlugin_namespaceObject.ListPlugin, {}),
|
|
321
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ShortcutContainmentPlugin_cjs_namespaceObject.ShortcutContainmentPlugin, {}),
|
|
320
322
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(LexicalMarkdownShortcutPlugin_namespaceObject.MarkdownShortcutPlugin, {
|
|
321
323
|
transformers: rich_serialization_cjs_namespaceObject.PROMPT_EDITOR_RICH_TRANSFORMERS
|
|
322
324
|
})
|
|
@@ -21,6 +21,7 @@ import { EditorRefPlugin } from "./plugins/EditorRefPlugin.js";
|
|
|
21
21
|
import { MultilinePlugin } from "./plugins/MultilinePlugin.js";
|
|
22
22
|
import { NodeSelectionFixPlugin } from "./plugins/NodeSelectionFixPlugin.js";
|
|
23
23
|
import { RenameTokensPlugin } from "./plugins/RenameTokensPlugin.js";
|
|
24
|
+
import { ShortcutContainmentPlugin } from "./plugins/ShortcutContainmentPlugin.js";
|
|
24
25
|
import { ToolbarActionsPlugin } from "./plugins/ToolbarActionsPlugin.js";
|
|
25
26
|
import { ValidateTokensPlugin } from "./plugins/ValidateTokensPlugin.js";
|
|
26
27
|
import { ValueSyncPlugin } from "./plugins/ValueSyncPlugin.js";
|
|
@@ -289,6 +290,7 @@ const EditorInner = /*#__PURE__*/ forwardRef(({ initialValue, value, onChange, a
|
|
|
289
290
|
richText && /*#__PURE__*/ jsxs(Fragment, {
|
|
290
291
|
children: [
|
|
291
292
|
/*#__PURE__*/ jsx(ListPlugin, {}),
|
|
293
|
+
/*#__PURE__*/ jsx(ShortcutContainmentPlugin, {}),
|
|
292
294
|
/*#__PURE__*/ jsx(MarkdownShortcutPlugin, {
|
|
293
295
|
transformers: PROMPT_EDITOR_RICH_TRANSFORMERS
|
|
294
296
|
})
|