@ckeditor/ckeditor5-widget 47.7.1-alpha.0 → 47.7.2-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-widget",
3
- "version": "47.7.1-alpha.0",
3
+ "version": "47.7.2-alpha.0",
4
4
  "description": "Widget API for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,13 +12,13 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "47.7.1-alpha.0",
16
- "@ckeditor/ckeditor5-engine": "47.7.1-alpha.0",
17
- "@ckeditor/ckeditor5-enter": "47.7.1-alpha.0",
18
- "@ckeditor/ckeditor5-icons": "47.7.1-alpha.0",
19
- "@ckeditor/ckeditor5-ui": "47.7.1-alpha.0",
20
- "@ckeditor/ckeditor5-utils": "47.7.1-alpha.0",
21
- "@ckeditor/ckeditor5-typing": "47.7.1-alpha.0",
15
+ "@ckeditor/ckeditor5-core": "47.7.2-alpha.0",
16
+ "@ckeditor/ckeditor5-engine": "47.7.2-alpha.0",
17
+ "@ckeditor/ckeditor5-enter": "47.7.2-alpha.0",
18
+ "@ckeditor/ckeditor5-icons": "47.7.2-alpha.0",
19
+ "@ckeditor/ckeditor5-ui": "47.7.2-alpha.0",
20
+ "@ckeditor/ckeditor5-utils": "47.7.2-alpha.0",
21
+ "@ckeditor/ckeditor5-typing": "47.7.2-alpha.0",
22
22
  "es-toolkit": "1.39.5"
23
23
  },
24
24
  "author": "CKSource (http://cksource.com/)",
package/src/widget.js CHANGED
@@ -113,7 +113,7 @@ export class Widget extends Plugin {
113
113
  // All of them must be marked as selected, for instance [<widget></widget><widget></widget>]
114
114
  for (const value of range) {
115
115
  const node = value.item;
116
- // Do not mark nested widgets in selected one. See: #4594
116
+ // Do not mark nested widgets in selected one. See: https://github.com/ckeditor/ckeditor5/issues/4594
117
117
  if (isWidget(node) && !isChild(node, lastMarked)) {
118
118
  viewWriter.addClass(WIDGET_SELECTED_CLASS_NAME, node);
119
119
  this._previouslySelected.add(node);
@@ -50,7 +50,7 @@ export class WidgetResizer extends /* #__PURE__ */ ObservableMixin() {
50
50
  this.decorate('updateSize');
51
51
  this.on('commit', event => {
52
52
  // State might not be initialized yet. In this case, prevent further handling and make sure that the resizer is
53
- // cleaned up (#5195).
53
+ // cleaned up (https://github.com/ckeditor/ckeditor5/issues/5195).
54
54
  if (!this.state.proposedWidth && !this.state.proposedWidthPercents) {
55
55
  this._cleanup();
56
56
  event.stop();
@@ -171,7 +171,7 @@ export class WidgetResize extends Plugin {
171
171
  this._activeResizer = this._getResizerByHandle(resizeHandle) || null;
172
172
  if (this._activeResizer) {
173
173
  this._activeResizer.begin(resizeHandle);
174
- // Do not call other events when resizing. See: #6755.
174
+ // Do not call other events when resizing. See: https://github.com/ckeditor/ckeditor5/issues/6755.
175
175
  event.stop();
176
176
  domEventData.preventDefault();
177
177
  }
@@ -186,7 +186,7 @@ export class WidgetToolbarRepository extends Plugin {
186
186
  // Many toolbars can express willingness to be displayed but they do not know about
187
187
  // each other. Figure out which toolbar is deepest in the view tree to decide which
188
188
  // should be displayed. For instance, if a selected image is inside a table cell, display
189
- // the ImageToolbar rather than the TableToolbar (#60).
189
+ // the ImageToolbar rather than the TableToolbar (https://github.com/ckeditor/ckeditor5-widget/issues/60).
190
190
  if (relatedElementDepth > maxRelatedElementDepth) {
191
191
  maxRelatedElementDepth = relatedElementDepth;
192
192
  deepestRelatedElement = relatedElement;