@ckeditor/ckeditor5-list 47.6.1-alpha.1 → 48.0.0-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/LICENSE.md +1 -1
- package/ckeditor5-metadata.json +21 -18
- package/dist/index-content.css +135 -111
- package/dist/index-editor.css +152 -73
- package/dist/index.css +204 -238
- package/dist/index.css.map +1 -1
- package/dist/index.js.map +1 -1
- package/{src → dist}/legacylist/legacyconverters.d.ts +2 -2
- package/{src → dist}/legacylist/legacyindentcommand.d.ts +1 -1
- package/{src → dist}/legacylist/legacylistcommand.d.ts +1 -1
- package/{src → dist}/legacylist/legacylistediting.d.ts +3 -3
- package/{src → dist}/legacylist/legacylistutils.d.ts +2 -2
- package/{src → dist}/legacylist/legacyutils.d.ts +1 -1
- package/{src → dist}/legacylist.d.ts +1 -1
- package/{src → dist}/legacylistproperties/legacylistpropertiesediting.d.ts +1 -1
- package/{src → dist}/legacylistproperties/legacylistreversedcommand.d.ts +1 -1
- package/{src → dist}/legacylistproperties/legacyliststartcommand.d.ts +1 -1
- package/{src → dist}/legacylistproperties/legacyliststylecommand.d.ts +1 -1
- package/{src → dist}/legacylistproperties.d.ts +1 -1
- package/{src → dist}/legacytodolist/legacychecktodolistcommand.d.ts +2 -2
- package/{src → dist}/legacytodolist/legacytodolistconverters.d.ts +2 -2
- package/{src → dist}/legacytodolist/legacytodolistediting.d.ts +1 -1
- package/{src → dist}/legacytodolist.d.ts +1 -1
- package/{src → dist}/list/adjacentlistssupport.d.ts +1 -1
- package/{src → dist}/list/converters.d.ts +2 -2
- package/{src → dist}/list/listcommand.d.ts +2 -2
- package/{src → dist}/list/listediting.d.ts +5 -5
- package/{src → dist}/list/listindentcommand.d.ts +2 -2
- package/{src → dist}/list/listmergecommand.d.ts +2 -2
- package/{src → dist}/list/listsplitcommand.d.ts +2 -2
- package/{src → dist}/list/listui.d.ts +1 -1
- package/{src → dist}/list/listutils.d.ts +3 -3
- package/{src → dist}/list/utils/listwalker.d.ts +2 -2
- package/{src → dist}/list/utils/model.d.ts +2 -2
- package/{src → dist}/list/utils/postfixers.d.ts +1 -1
- package/{src → dist}/list/utils/view.d.ts +1 -1
- package/{src → dist}/list/utils.d.ts +1 -1
- package/{src → dist}/list.d.ts +1 -1
- package/{src → dist}/listconfig.d.ts +1 -1
- package/{src → dist}/listformatting/listitemboldintegration.d.ts +1 -1
- package/{src → dist}/listformatting/listitemfontcolorintegration.d.ts +1 -1
- package/{src → dist}/listformatting/listitemfontfamilyintegration.d.ts +1 -1
- package/{src → dist}/listformatting/listitemfontsizeintegration.d.ts +1 -1
- package/{src → dist}/listformatting/listitemitalicintegration.d.ts +1 -1
- package/{src → dist}/listformatting.d.ts +1 -1
- package/{src → dist}/listproperties/converters.d.ts +2 -2
- package/{src → dist}/listproperties/listpropertiesediting.d.ts +2 -2
- package/{src → dist}/listproperties/listpropertiesui.d.ts +1 -1
- package/{src → dist}/listproperties/listpropertiesutils.d.ts +1 -1
- package/{src → dist}/listproperties/listreversedcommand.d.ts +1 -1
- package/{src → dist}/listproperties/liststartcommand.d.ts +1 -1
- package/{src → dist}/listproperties/liststylecommand.d.ts +1 -1
- package/{src → dist}/listproperties/ui/listpropertiesview.d.ts +2 -2
- package/{src → dist}/listproperties.d.ts +1 -1
- package/{src → dist}/todolist/checktodolistcommand.d.ts +1 -1
- package/{src → dist}/todolist/todocheckboxchangeobserver.d.ts +1 -1
- package/{src → dist}/todolist/todolistediting.d.ts +1 -1
- package/{src → dist}/todolist/todolistui.d.ts +1 -1
- package/{src → dist}/todolist.d.ts +1 -1
- package/package.json +28 -52
- package/build/list.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -37
- package/lang/translations/af.po +0 -152
- package/lang/translations/ar.po +0 -152
- package/lang/translations/ast.po +0 -152
- package/lang/translations/az.po +0 -152
- package/lang/translations/be.po +0 -152
- package/lang/translations/bg.po +0 -152
- package/lang/translations/bn.po +0 -152
- package/lang/translations/bs.po +0 -152
- package/lang/translations/ca.po +0 -152
- package/lang/translations/cs.po +0 -152
- package/lang/translations/da.po +0 -152
- package/lang/translations/de-ch.po +0 -152
- package/lang/translations/de.po +0 -152
- package/lang/translations/el.po +0 -152
- package/lang/translations/en-au.po +0 -152
- package/lang/translations/en-gb.po +0 -152
- package/lang/translations/en.po +0 -152
- package/lang/translations/eo.po +0 -152
- package/lang/translations/es-co.po +0 -152
- package/lang/translations/es.po +0 -152
- package/lang/translations/et.po +0 -152
- package/lang/translations/eu.po +0 -152
- package/lang/translations/fa.po +0 -152
- package/lang/translations/fi.po +0 -152
- package/lang/translations/fr.po +0 -152
- package/lang/translations/gl.po +0 -152
- package/lang/translations/gu.po +0 -152
- package/lang/translations/he.po +0 -152
- package/lang/translations/hi.po +0 -152
- package/lang/translations/hr.po +0 -152
- package/lang/translations/hu.po +0 -152
- package/lang/translations/hy.po +0 -152
- package/lang/translations/id.po +0 -152
- package/lang/translations/it.po +0 -152
- package/lang/translations/ja.po +0 -152
- package/lang/translations/jv.po +0 -152
- package/lang/translations/kk.po +0 -152
- package/lang/translations/km.po +0 -152
- package/lang/translations/kn.po +0 -152
- package/lang/translations/ko.po +0 -152
- package/lang/translations/ku.po +0 -152
- package/lang/translations/lt.po +0 -152
- package/lang/translations/lv.po +0 -152
- package/lang/translations/ms.po +0 -152
- package/lang/translations/nb.po +0 -152
- package/lang/translations/ne.po +0 -152
- package/lang/translations/nl.po +0 -152
- package/lang/translations/no.po +0 -152
- package/lang/translations/oc.po +0 -152
- package/lang/translations/pl.po +0 -152
- package/lang/translations/pt-br.po +0 -152
- package/lang/translations/pt.po +0 -152
- package/lang/translations/ro.po +0 -152
- package/lang/translations/ru.po +0 -152
- package/lang/translations/si.po +0 -152
- package/lang/translations/sk.po +0 -152
- package/lang/translations/sl.po +0 -152
- package/lang/translations/sq.po +0 -152
- package/lang/translations/sr-latn.po +0 -152
- package/lang/translations/sr.po +0 -152
- package/lang/translations/sv.po +0 -152
- package/lang/translations/th.po +0 -152
- package/lang/translations/ti.po +0 -152
- package/lang/translations/tk.po +0 -152
- package/lang/translations/tr.po +0 -152
- package/lang/translations/tt.po +0 -152
- package/lang/translations/ug.po +0 -152
- package/lang/translations/uk.po +0 -152
- package/lang/translations/ur.po +0 -152
- package/lang/translations/uz.po +0 -152
- package/lang/translations/vi.po +0 -152
- package/lang/translations/zh-cn.po +0 -152
- package/lang/translations/zh.po +0 -152
- package/src/augmentation.js +0 -5
- package/src/index.js +0 -67
- package/src/legacyerrors.js +0 -28
- package/src/legacylist/legacyconverters.js +0 -921
- package/src/legacylist/legacyindentcommand.js +0 -111
- package/src/legacylist/legacylistcommand.js +0 -278
- package/src/legacylist/legacylistediting.js +0 -167
- package/src/legacylist/legacylistutils.js +0 -52
- package/src/legacylist/legacyutils.js +0 -357
- package/src/legacylist.js +0 -36
- package/src/legacylistproperties/legacylistpropertiesediting.js +0 -703
- package/src/legacylistproperties/legacylistreversedcommand.js +0 -52
- package/src/legacylistproperties/legacyliststartcommand.js +0 -52
- package/src/legacylistproperties/legacyliststylecommand.js +0 -105
- package/src/legacylistproperties.js +0 -37
- package/src/legacytodolist/legacychecktodolistcommand.js +0 -82
- package/src/legacytodolist/legacytodolistconverters.js +0 -268
- package/src/legacytodolist/legacytodolistediting.js +0 -199
- package/src/legacytodolist.js +0 -37
- package/src/list/adjacentlistssupport.js +0 -87
- package/src/list/converters.js +0 -533
- package/src/list/listcommand.js +0 -176
- package/src/list/listediting.js +0 -696
- package/src/list/listindentcommand.js +0 -136
- package/src/list/listmergecommand.js +0 -182
- package/src/list/listsplitcommand.js +0 -74
- package/src/list/listui.js +0 -42
- package/src/list/listutils.js +0 -68
- package/src/list/utils/listwalker.js +0 -236
- package/src/list/utils/model.js +0 -487
- package/src/list/utils/postfixers.js +0 -131
- package/src/list/utils/view.js +0 -117
- package/src/list/utils.js +0 -51
- package/src/list.js +0 -36
- package/src/listconfig.js +0 -5
- package/src/listformatting/listitemboldintegration.js +0 -88
- package/src/listformatting/listitemfontcolorintegration.js +0 -92
- package/src/listformatting/listitemfontfamilyintegration.js +0 -93
- package/src/listformatting/listitemfontsizeintegration.js +0 -124
- package/src/listformatting/listitemitalicintegration.js +0 -88
- package/src/listformatting.js +0 -248
- package/src/listproperties/converters.js +0 -43
- package/src/listproperties/listpropertiesediting.js +0 -291
- package/src/listproperties/listpropertiesui.js +0 -385
- package/src/listproperties/listpropertiesutils.js +0 -50
- package/src/listproperties/listreversedcommand.js +0 -55
- package/src/listproperties/liststartcommand.js +0 -61
- package/src/listproperties/liststylecommand.js +0 -121
- package/src/listproperties/ui/listpropertiesview.js +0 -318
- package/src/listproperties/utils/config.js +0 -84
- package/src/listproperties/utils/style.js +0 -85
- package/src/listproperties.js +0 -37
- package/src/todolist/checktodolistcommand.js +0 -82
- package/src/todolist/todocheckboxchangeobserver.js +0 -36
- package/src/todolist/todolistediting.js +0 -470
- package/src/todolist/todolistui.js +0 -35
- package/src/todolist.js +0 -37
- package/theme/documentlist.css +0 -8
- package/theme/list.css +0 -40
- package/theme/listformatting.css +0 -66
- package/theme/listproperties.css +0 -10
- package/theme/liststyles.css +0 -8
- package/theme/todolist.css +0 -140
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/legacyerrors.d.ts +0 -0
- /package/{src → dist}/listproperties/utils/config.d.ts +0 -0
- /package/{src → dist}/listproperties/utils/style.d.ts +0 -0
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylist/legacyconverters
|
|
7
7
|
*/
|
|
8
|
-
import { type DowncastAttributeEvent, type DowncastInsertEvent, type DowncastRemoveEvent, type ModelElement, type MapperModelToViewPositionEvent, type MapperViewToModelPositionEvent, type Model, type ModelInsertContentEvent, type UpcastElementEvent, type EditingView, type ModelWriter } from 'ckeditor5
|
|
9
|
-
import type { GetCallback } from 'ckeditor5
|
|
8
|
+
import { type DowncastAttributeEvent, type DowncastInsertEvent, type DowncastRemoveEvent, type ModelElement, type MapperModelToViewPositionEvent, type MapperViewToModelPositionEvent, type Model, type ModelInsertContentEvent, type UpcastElementEvent, type EditingView, type ModelWriter } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import type { GetCallback } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
/**
|
|
11
11
|
* A model-to-view converter for the `listItem` model element insertion.
|
|
12
12
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Command, type Editor } from 'ckeditor5
|
|
5
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
6
6
|
/**
|
|
7
7
|
* The list indent command. It is used by the {@link module:list/legacylist~LegacyList legacy list feature}.
|
|
8
8
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Command, type Editor } from 'ckeditor5
|
|
5
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
6
6
|
import { type ListType } from '../list/listediting.js';
|
|
7
7
|
/**
|
|
8
8
|
* The list command. It is used by the {@link module:list/legacylist~LegacyList legacy list feature}.
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { LegacyListUtils } from './legacylistutils.js';
|
|
6
|
-
import { Plugin } from 'ckeditor5
|
|
7
|
-
import { Enter } from 'ckeditor5
|
|
8
|
-
import { Delete } from 'ckeditor5
|
|
6
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
7
|
+
import { Enter } from '@ckeditor/ckeditor5-enter';
|
|
8
|
+
import { Delete } from '@ckeditor/ckeditor5-typing';
|
|
9
9
|
import '../../theme/list.css';
|
|
10
10
|
/**
|
|
11
11
|
* The engine of the list feature. It handles creating, editing and removing lists and list items.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylist/legacylistutils
|
|
7
7
|
*/
|
|
8
|
-
import type { ModelElement, Model, ModelPosition } from 'ckeditor5
|
|
9
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import type { ModelElement, Model, ModelPosition } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
/**
|
|
11
11
|
* A set of helpers related to legacy lists.
|
|
12
12
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylist/legacyutils
|
|
7
7
|
*/
|
|
8
|
-
import { type DowncastConversionApi, type ViewDowncastWriter, type ModelElement, type ModelItem, type Model, type ModelPosition, type ViewContainerElement, type ViewElement, type ViewItem, type ViewPosition } from 'ckeditor5
|
|
8
|
+
import { type DowncastConversionApi, type ViewDowncastWriter, type ModelElement, type ModelItem, type Model, type ModelPosition, type ViewContainerElement, type ViewElement, type ViewItem, type ViewPosition } from '@ckeditor/ckeditor5-engine';
|
|
9
9
|
/**
|
|
10
10
|
* Creates a list item {@link module:engine/view/containerelement~ViewContainerElement}.
|
|
11
11
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { LegacyListEditing } from './legacylist/legacylistediting.js';
|
|
9
9
|
import { ListUI } from './list/listui.js';
|
|
10
|
-
import { Plugin } from 'ckeditor5
|
|
10
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
/**
|
|
12
12
|
* The legacy list feature.
|
|
13
13
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylistproperties/legacylistpropertiesediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5
|
|
8
|
+
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { LegacyListEditing } from '../legacylist/legacylistediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* The engine of the list properties feature.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylistproperties/legacylistreversedcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The reversed list command. It changes the `listReversed` attribute of the selected list items. As a result, the list order will be
|
|
11
11
|
* reversed.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylistproperties/legacyliststartcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The list start index command. It changes the `listStart` attribute of the selected list items.
|
|
11
11
|
* It is used by the {@link module:list/legacylistproperties~LegacyListProperties legacy list properties feature}.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylistproperties/legacyliststylecommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command, type Editor } from 'ckeditor5
|
|
8
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The list style command. It changes the `listStyle` attribute of the selected list items.
|
|
11
11
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacylistproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { LegacyListPropertiesEditing } from './legacylistproperties/legacylistpropertiesediting.js';
|
|
10
10
|
import { ListPropertiesUI } from './listproperties/listpropertiesui.js';
|
|
11
11
|
/**
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacytodolist/legacychecktodolistcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command, type Editor } from 'ckeditor5
|
|
9
|
-
import type { ModelElement } from 'ckeditor5
|
|
8
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import type { ModelElement } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
/**
|
|
11
11
|
* The check to-do command.
|
|
12
12
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/legacytodolist/legacytodolistconverters
|
|
7
7
|
*/
|
|
8
|
-
import type { DowncastAttributeEvent, DowncastInsertEvent, ModelElement, MapperModelToViewPositionEvent, Model, UpcastElementEvent, EditingView } from 'ckeditor5
|
|
9
|
-
import { type GetCallback } from 'ckeditor5
|
|
8
|
+
import type { DowncastAttributeEvent, DowncastInsertEvent, ModelElement, MapperModelToViewPositionEvent, Model, UpcastElementEvent, EditingView } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import { type GetCallback } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
/**
|
|
11
11
|
* A model-to-view converter for the `listItem` model element insertion.
|
|
12
12
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5
|
|
5
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
6
6
|
import { LegacyListEditing } from '../legacylist/legacylistediting.js';
|
|
7
7
|
/**
|
|
8
8
|
* The engine of the to-do list feature. It handles creating, editing and removing to-do lists and their items.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { LegacyTodoListEditing } from './legacytodolist/legacytodolistediting.js';
|
|
9
9
|
import { TodoListUI } from './todolist/todolistui.js';
|
|
10
|
-
import { Plugin } from 'ckeditor5
|
|
10
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
import '../theme/todolist.css';
|
|
12
12
|
/**
|
|
13
13
|
* The legacy to-do list feature.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5
|
|
5
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
6
6
|
export declare class AdjacentListsSupport extends Plugin {
|
|
7
7
|
/**
|
|
8
8
|
* @inheritDoc
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/converters
|
|
7
7
|
*/
|
|
8
|
-
import { type DowncastAttributeEvent, type ViewDowncastWriter, type EditingController, type ModelElement, type DowncastElementCreatorFunction, type Mapper, type Model, type UpcastElementEvent, type ViewElement, type DowncastRemoveEvent, type EditingView, type MapperModelToViewPositionEvent, type ModelSchema } from 'ckeditor5
|
|
9
|
-
import type { GetCallback } from 'ckeditor5
|
|
8
|
+
import { type DowncastAttributeEvent, type ViewDowncastWriter, type EditingController, type ModelElement, type DowncastElementCreatorFunction, type Mapper, type Model, type UpcastElementEvent, type ViewElement, type DowncastRemoveEvent, type EditingView, type MapperModelToViewPositionEvent, type ModelSchema } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import type { GetCallback } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { type ListElement } from './utils/model.js';
|
|
11
11
|
import type { ListEditing, ListDowncastStrategy } from './listediting.js';
|
|
12
12
|
/**
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/listcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { ModelElement } from 'ckeditor5
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5
|
|
8
|
+
import type { ModelElement } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
import type { ListType } from './listediting.js';
|
|
11
11
|
/**
|
|
12
12
|
* The list command. It is used by the {@link module:list/list~List list feature}.
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/listediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5
|
|
9
|
-
import type { ViewDowncastWriter, ModelElement, ViewElement, ViewAttributeElement, ModelWriter } from 'ckeditor5
|
|
10
|
-
import { Delete } from 'ckeditor5
|
|
11
|
-
import { Enter } from 'ckeditor5
|
|
8
|
+
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import type { ViewDowncastWriter, ModelElement, ViewElement, ViewAttributeElement, ModelWriter } from '@ckeditor/ckeditor5-engine';
|
|
10
|
+
import { Delete } from '@ckeditor/ckeditor5-typing';
|
|
11
|
+
import { Enter } from '@ckeditor/ckeditor5-enter';
|
|
12
12
|
import { ListFormatting } from '../listformatting.js';
|
|
13
13
|
import { ListUtils } from './listutils.js';
|
|
14
14
|
import { type ListElement } from './utils/model.js';
|
|
15
15
|
import { ListBlocksIterable } from './utils/listwalker.js';
|
|
16
|
-
import { ClipboardPipeline } from 'ckeditor5
|
|
16
|
+
import { ClipboardPipeline } from '@ckeditor/ckeditor5-clipboard';
|
|
17
17
|
import '../../theme/documentlist.css';
|
|
18
18
|
import '../../theme/list.css';
|
|
19
19
|
export type ListType = 'numbered' | 'bulleted' | 'todo' | 'customNumbered' | 'customBulleted';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/listindentcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command, type Editor } from 'ckeditor5
|
|
9
|
-
import type { ModelElement } from 'ckeditor5
|
|
8
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import type { ModelElement } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
/**
|
|
11
11
|
* The document list indent command. It is used by the {@link module:list/list~List list feature}.
|
|
12
12
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/listmergecommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command, type Editor } from 'ckeditor5
|
|
9
|
-
import type { ModelElement } from 'ckeditor5
|
|
8
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import type { ModelElement } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
/**
|
|
11
11
|
* The document list merge command. It is used by the {@link module:list/list~List list feature}.
|
|
12
12
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/listsplitcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { ModelElement } from 'ckeditor5
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5
|
|
8
|
+
import type { ModelElement } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
10
10
|
/**
|
|
11
11
|
* The document list split command that splits the list item at the selection.
|
|
12
12
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5
|
|
5
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
6
6
|
/**
|
|
7
7
|
* The list UI feature. It introduces the `'numberedList'` and `'bulletedList'` buttons that
|
|
8
8
|
* allow to convert paragraphs to and from list items and indent or outdent them.
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/listutils
|
|
7
7
|
*/
|
|
8
|
-
import type { ModelElement, ModelNode } from 'ckeditor5
|
|
9
|
-
import type { ArrayOrItem } from 'ckeditor5
|
|
10
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import type { ModelElement, ModelNode } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import type { ArrayOrItem } from '@ckeditor/ckeditor5-utils';
|
|
10
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
import { type ListElement } from './utils/model.js';
|
|
12
12
|
import type { ListType } from './listediting.js';
|
|
13
13
|
/**
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/utils/listwalker
|
|
7
7
|
*/
|
|
8
|
-
import { type ArrayOrItem } from 'ckeditor5
|
|
8
|
+
import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
|
|
9
9
|
import { type ListElement } from './model.js';
|
|
10
|
-
import type { ModelElement, ModelNode } from 'ckeditor5
|
|
10
|
+
import type { ModelElement, ModelNode } from '@ckeditor/ckeditor5-engine';
|
|
11
11
|
/**
|
|
12
12
|
* Document list blocks iterator.
|
|
13
13
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/utils/model
|
|
7
7
|
*/
|
|
8
|
-
import type { ModelDocumentFragment, ModelElement, Model, ModelNode, ModelWriter, ModelItem, ModelSchema } from 'ckeditor5
|
|
9
|
-
import { type ArrayOrItem } from 'ckeditor5
|
|
8
|
+
import type { ModelDocumentFragment, ModelElement, Model, ModelNode, ModelWriter, ModelItem, ModelSchema } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import { type ListWalkerOptions } from './listwalker.js';
|
|
11
11
|
import { type ListType } from '../listediting.js';
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/utils/postfixers
|
|
7
7
|
*/
|
|
8
|
-
import type { ModelElement, ModelPosition, ModelWriter } from 'ckeditor5
|
|
8
|
+
import type { ModelElement, ModelPosition, ModelWriter } from '@ckeditor/ckeditor5-engine';
|
|
9
9
|
import { type ListIteratorValue } from './listwalker.js';
|
|
10
10
|
import { type ListElement } from './model.js';
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/list/utils/view
|
|
7
7
|
*/
|
|
8
|
-
import type { ViewDowncastWriter, ViewAttributeElement, ViewDocumentFragment, ViewElement, ViewNode } from 'ckeditor5
|
|
8
|
+
import type { ViewDowncastWriter, ViewAttributeElement, ViewDocumentFragment, ViewElement, ViewNode } from '@ckeditor/ckeditor5-engine';
|
|
9
9
|
import { type ListType } from '../listediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* Checks if view element is a list type (ul or ol).
|
package/{src → dist}/list.d.ts
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listconfig
|
|
7
7
|
*/
|
|
8
|
-
import { type ArrayOrItem } from 'ckeditor5
|
|
8
|
+
import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
|
|
9
9
|
/**
|
|
10
10
|
* The configuration of the {@link module:list/list~List list} feature
|
|
11
11
|
* and the {@link module:list/legacylist~LegacyList legacy list} feature.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listformatting/listitemboldintegration
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ListEditing } from '../list/listediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* The list item bold integration plugin.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listformatting/listitemfontcolorintegration
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ListEditing } from '../list/listediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* The list item font color integration plugin.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listformatting/listitemfontfamilyintegration
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ListEditing } from '../list/listediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* The list item font family integration plugin.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listformatting/listitemfontsizeintegration
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ListEditing } from '../list/listediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* The list item font size integration plugin.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listformatting/listitemitalicintegration
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ListEditing } from '../list/listediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* The list item italic integration plugin.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listformatting
|
|
7
7
|
*/
|
|
8
|
-
import { type Editor, Plugin } from 'ckeditor5
|
|
8
|
+
import { type Editor, Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ListItemBoldIntegration } from './listformatting/listitemboldintegration.js';
|
|
10
10
|
import { ListItemItalicIntegration } from './listformatting/listitemitalicintegration.js';
|
|
11
11
|
import { ListItemFontSizeIntegration } from './listformatting/listitemfontsizeintegration.js';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties/converters
|
|
7
7
|
*/
|
|
8
|
-
import type { UpcastElementEvent } from 'ckeditor5
|
|
9
|
-
import type { GetCallback } from 'ckeditor5
|
|
8
|
+
import type { UpcastElementEvent } from '@ckeditor/ckeditor5-engine';
|
|
9
|
+
import type { GetCallback } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import type { AttributeStrategy } from './listpropertiesediting.js';
|
|
11
11
|
/**
|
|
12
12
|
* Returns a converter that consumes the `style`, `reversed`, and `start` attributes.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties/listpropertiesediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5
|
|
9
|
-
import type { Consumables, ViewDowncastWriter, ModelElement, ModelItem, ViewElement } from 'ckeditor5
|
|
8
|
+
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import type { Consumables, ViewDowncastWriter, ModelElement, ModelItem, ViewElement } from '@ckeditor/ckeditor5-engine';
|
|
10
10
|
import { ListEditing, type ListItemAttributesMap } from '../list/listediting.js';
|
|
11
11
|
import { ListPropertiesUtils } from './listpropertiesutils.js';
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties/listpropertiesui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import '../../theme/liststyles.css';
|
|
10
10
|
/**
|
|
11
11
|
* The list properties UI plugin. It introduces the extended `'bulletedList'` and `'numberedList'` toolbar
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties/listreversedcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The list reversed command. It changes the `listReversed` attribute of the selected list items,
|
|
11
11
|
* letting the user to choose the order of an ordered list.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties/liststartcommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command } from 'ckeditor5
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The list start index command. It changes the `listStart` attribute of the selected list items,
|
|
11
11
|
* letting the user to choose the starting point of an ordered list.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties/liststylecommand
|
|
7
7
|
*/
|
|
8
|
-
import { Command, type Editor } from 'ckeditor5
|
|
8
|
+
import { Command, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The list style command. It changes `listStyle` attribute of the selected list items,
|
|
11
11
|
* letting the user choose styles for the list item markers.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties/ui/listpropertiesview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView, View, ViewCollection, FocusCycler, SwitchButtonView, LabeledFieldView, CollapsibleView, type InputNumberView, type FocusableView } from 'ckeditor5
|
|
9
|
-
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5
|
|
8
|
+
import { ButtonView, View, ViewCollection, FocusCycler, SwitchButtonView, LabeledFieldView, CollapsibleView, type InputNumberView, type FocusableView } from '@ckeditor/ckeditor5-ui';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
import type { NormalizedListPropertiesConfig } from '../utils/config.js';
|
|
11
11
|
import '../../../theme/listproperties.css';
|
|
12
12
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/listproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ListPropertiesEditing } from './listproperties/listpropertiesediting.js';
|
|
10
10
|
import { ListPropertiesUI } from './listproperties/listpropertiesui.js';
|
|
11
11
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module list/todolist/todocheckboxchangeobserver
|
|
7
7
|
*/
|
|
8
|
-
import { DomEventObserver, type ViewDocumentDomEventData } from 'ckeditor5
|
|
8
|
+
import { DomEventObserver, type ViewDocumentDomEventData } from '@ckeditor/ckeditor5-engine';
|
|
9
9
|
/**
|
|
10
10
|
* Observes all to-do list checkboxes state changes.
|
|
11
11
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5
|
|
5
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
6
6
|
import { ListEditing } from '../list/listediting.js';
|
|
7
7
|
/**
|
|
8
8
|
* The engine of the to-do list feature. It handles creating, editing and removing to-do lists and their items.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import { Plugin } from 'ckeditor5
|
|
5
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
6
6
|
/**
|
|
7
7
|
* The to-do list UI feature. It introduces the `'todoList'` button that
|
|
8
8
|
* allows to convert elements to and from to-do list items and to indent or outdent them.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { TodoListEditing } from './todolist/todolistediting.js';
|
|
9
9
|
import { TodoListUI } from './todolist/todolistui.js';
|
|
10
|
-
import { Plugin } from 'ckeditor5
|
|
10
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
import '../theme/todolist.css';
|
|
12
12
|
/**
|
|
13
13
|
* The to-do list feature.
|