@ckeditor/ckeditor5-widget 0.0.0-nightly-20240508.0 → 0.0.0-nightly-20240509.0
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.
Potentially problematic release.
This version of @ckeditor/ckeditor5-widget might be problematic. Click here for more details.
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/types/highlightstack.d.ts +1 -1
- package/dist/types/widgetresize/resizer.d.ts +1 -1
- package/dist/types/widgetresize/resizerstate.d.ts +1 -1
- package/lang/contexts.json +2 -1
- package/package.json +7 -7
- package/src/highlightstack.d.ts +1 -1
- package/src/highlightstack.js +1 -1
- package/src/widget.js +4 -0
- package/src/widgetresize/resizer.d.ts +1 -1
- package/src/widgetresize/resizer.js +1 -1
- package/src/widgetresize/resizerstate.d.ts +1 -1
- package/src/widgetresize/resizerstate.js +1 -1
package/dist/index.js
CHANGED
@@ -10,7 +10,7 @@ import { IconView, Template, ContextualBalloon, ToolbarView, BalloonPanelView, V
|
|
10
10
|
import { Enter } from '@ckeditor/ckeditor5-enter/dist/index.js';
|
11
11
|
import { throttle } from 'lodash-es';
|
12
12
|
|
13
|
-
class HighlightStack extends EmitterMixin() {
|
13
|
+
class HighlightStack extends /* #__PURE__ */ EmitterMixin() {
|
14
14
|
/**
|
15
15
|
* Adds highlight descriptor to the stack.
|
16
16
|
*
|
@@ -1623,6 +1623,10 @@ class Widget extends Plugin {
|
|
1623
1623
|
id: 'widget',
|
1624
1624
|
label: t('Keystrokes that can be used when a widget is selected (for example: image, table, etc.)'),
|
1625
1625
|
keystrokes: [
|
1626
|
+
{
|
1627
|
+
label: t('Move focus from an editable area back to the parent widget'),
|
1628
|
+
keystroke: 'Esc'
|
1629
|
+
},
|
1626
1630
|
{
|
1627
1631
|
label: t('Insert a new paragraph directly after a widget'),
|
1628
1632
|
keystroke: 'Enter'
|
@@ -2207,7 +2211,7 @@ function isWidgetSelected(selection) {
|
|
2207
2211
|
return !!(viewElement && isWidget(viewElement));
|
2208
2212
|
}
|
2209
2213
|
|
2210
|
-
class ResizeState extends ObservableMixin() {
|
2214
|
+
class ResizeState extends /* #__PURE__ */ ObservableMixin() {
|
2211
2215
|
/**
|
2212
2216
|
* The original width (pixels) of the resized object when the resize process was started.
|
2213
2217
|
*/ get originalWidth() {
|
@@ -2370,7 +2374,7 @@ class SizeView extends View {
|
|
2370
2374
|
}
|
2371
2375
|
}
|
2372
2376
|
|
2373
|
-
class Resizer extends ObservableMixin() {
|
2377
|
+
class Resizer extends /* #__PURE__ */ ObservableMixin() {
|
2374
2378
|
/**
|
2375
2379
|
* Stores the state of the resizable host geometry, such as the original width, the currently proposed height, etc.
|
2376
2380
|
*
|