@ckeditor/ckeditor5-list 47.7.1 → 47.7.2

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-list",
3
- "version": "47.7.1",
3
+ "version": "47.7.2",
4
4
  "description": "Ordered and unordered lists feature to CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,16 +13,16 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-clipboard": "47.7.1",
17
- "@ckeditor/ckeditor5-core": "47.7.1",
18
- "@ckeditor/ckeditor5-engine": "47.7.1",
19
- "@ckeditor/ckeditor5-enter": "47.7.1",
20
- "@ckeditor/ckeditor5-font": "47.7.1",
21
- "@ckeditor/ckeditor5-icons": "47.7.1",
22
- "@ckeditor/ckeditor5-typing": "47.7.1",
23
- "@ckeditor/ckeditor5-ui": "47.7.1",
24
- "@ckeditor/ckeditor5-utils": "47.7.1",
25
- "ckeditor5": "47.7.1",
16
+ "@ckeditor/ckeditor5-clipboard": "47.7.2",
17
+ "@ckeditor/ckeditor5-core": "47.7.2",
18
+ "@ckeditor/ckeditor5-engine": "47.7.2",
19
+ "@ckeditor/ckeditor5-enter": "47.7.2",
20
+ "@ckeditor/ckeditor5-font": "47.7.2",
21
+ "@ckeditor/ckeditor5-icons": "47.7.2",
22
+ "@ckeditor/ckeditor5-typing": "47.7.2",
23
+ "@ckeditor/ckeditor5-ui": "47.7.2",
24
+ "@ckeditor/ckeditor5-utils": "47.7.2",
25
+ "ckeditor5": "47.7.2",
26
26
  "es-toolkit": "1.39.5"
27
27
  },
28
28
  "author": "CKSource (http://cksource.com/)",
@@ -554,7 +554,7 @@ export function modelChangePostFixer(model, writer) {
554
554
  return;
555
555
  }
556
556
  for (
557
- // Cache previousSibling and reuse for performance reasons. See #6581.
557
+ // Cache previousSibling and reuse for performance reasons. See https://github.com/ckeditor/ckeditor5/issues/6581.
558
558
  let previousSibling = listHead.previousSibling; previousSibling && previousSibling.is('element', 'listItem'); previousSibling = listHead.previousSibling) {
559
559
  listHead = previousSibling;
560
560
  if (itemToListHead.has(listHead)) {
@@ -165,7 +165,8 @@ export class LegacyListPropertiesEditing extends Plugin {
165
165
  listIndent: nextSibling.getAttribute('listIndent')
166
166
  });
167
167
  // The outermost list item may not exist while removing elements between lists with different value
168
- // of the `listIndent` attribute. In such a case we don't want to update anything. See: #8073.
168
+ // of the `listIndent` attribute. In such a case we don't want to update anything.
169
+ // See: https://github.com/ckeditor/ckeditor5/issues/8073.
169
170
  if (!mostOuterItemList) {
170
171
  return;
171
172
  }
@@ -192,7 +193,7 @@ export class LegacyListPropertiesEditing extends Plugin {
192
193
  direction: 'forward'
193
194
  });
194
195
  // If the selection ends in a non-list element, there are no <listItem>s that would require adjustments.
195
- // See: #8642.
196
+ // See: https://github.com/ckeditor/ckeditor5/issues/8642.
196
197
  if (!secondListMostOuterItem) {
197
198
  firstMostOuterItem = null;
198
199
  return;
@@ -539,7 +540,8 @@ function fixListAttributesOnListItemElements(editor, attributeStrategies) {
539
540
  // ■ Paragraph[] // <-- The inserted item.
540
541
  while (existingListItem.is('element', 'listItem') && existingListItem.getAttribute('listIndent') !== indent) {
541
542
  existingListItem = existingListItem.previousSibling;
542
- // If the item does not exist, most probably there is no other content in the editor. See: #8072.
543
+ // If the item does not exist, most probably there is no other content in the editor.
544
+ // See: https://github.com/ckeditor/ckeditor5/issues/8072.
543
545
  if (!existingListItem) {
544
546
  break;
545
547
  }
@@ -564,7 +566,7 @@ function fixListAttributesOnListItemElements(editor, attributeStrategies) {
564
566
  }
565
567
  else {
566
568
  // Adjust the `listStyle`, `listReversed` and `listStart`
567
- // attributes for inserted (pasted) items. See #8160.
569
+ // attributes for inserted (pasted) items. See https://github.com/ckeditor/ckeditor5/issues/8160.
568
570
  //
569
571
  // ■ List item 1. // [listStyle="square", listType="bulleted"]
570
572
  // ○ List item 1.1. // [listStyle="circle", listType="bulleted"]
@@ -203,7 +203,8 @@ function getDropdownViewCreator({ editor, normalizedConfig, parentCommandName, b
203
203
  dropdownView.panelView.children.add(listPropertiesView);
204
204
  });
205
205
  // Focus the editable after executing the command.
206
- // Overrides a default behaviour where the focus is moved to the dropdown button (#12125).
206
+ // Overrides a default behaviour where the focus is moved to the dropdown button.
207
+ // See https://github.com/ckeditor/ckeditor5/issues/12125.
207
208
  dropdownView.on('execute', () => {
208
209
  editor.editing.view.focus();
209
210
  });