@ckeditor/ckeditor5-table 40.2.0 → 41.0.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/CHANGELOG.md +4 -4
- package/LICENSE.md +1 -1
- package/build/table.js +2 -2
- package/ckeditor5-metadata.json +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +3 -2
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/commands/insertcolumncommand.d.ts +2 -2
- package/src/commands/insertcolumncommand.js +2 -2
- package/src/commands/insertrowcommand.d.ts +2 -2
- package/src/commands/insertrowcommand.js +2 -2
- package/src/commands/inserttablecommand.d.ts +2 -2
- package/src/commands/inserttablecommand.js +2 -2
- package/src/commands/mergecellcommand.d.ts +4 -4
- package/src/commands/mergecellcommand.js +5 -5
- package/src/commands/mergecellscommand.d.ts +2 -2
- package/src/commands/mergecellscommand.js +5 -5
- package/src/commands/removecolumncommand.d.ts +2 -2
- package/src/commands/removecolumncommand.js +3 -3
- package/src/commands/removerowcommand.d.ts +2 -2
- package/src/commands/removerowcommand.js +2 -2
- package/src/commands/selectcolumncommand.d.ts +2 -2
- package/src/commands/selectcolumncommand.js +3 -3
- package/src/commands/selectrowcommand.d.ts +2 -2
- package/src/commands/selectrowcommand.js +2 -2
- package/src/commands/setheadercolumncommand.d.ts +2 -2
- package/src/commands/setheadercolumncommand.js +4 -4
- package/src/commands/setheaderrowcommand.d.ts +2 -2
- package/src/commands/setheaderrowcommand.js +4 -4
- package/src/commands/splitcellcommand.d.ts +2 -2
- package/src/commands/splitcellcommand.js +2 -2
- package/src/converters/downcast.d.ts +4 -4
- package/src/converters/downcast.js +3 -3
- package/src/converters/table-caption-post-fixer.d.ts +2 -2
- package/src/converters/table-caption-post-fixer.js +1 -1
- package/src/converters/table-cell-paragraph-post-fixer.d.ts +2 -2
- package/src/converters/table-cell-paragraph-post-fixer.js +1 -1
- package/src/converters/table-cell-refresh-handler.d.ts +2 -2
- package/src/converters/table-cell-refresh-handler.js +2 -2
- package/src/converters/table-headings-refresh-handler.d.ts +2 -2
- package/src/converters/table-headings-refresh-handler.js +2 -2
- package/src/converters/table-layout-post-fixer.d.ts +2 -2
- package/src/converters/table-layout-post-fixer.js +3 -3
- package/src/converters/tableproperties.d.ts +2 -2
- package/src/converters/tableproperties.js +1 -1
- package/src/converters/upcasttable.d.ts +2 -2
- package/src/converters/upcasttable.js +3 -3
- package/src/index.d.ts +54 -54
- package/src/index.js +24 -24
- package/src/plaintableoutput.d.ts +3 -3
- package/src/plaintableoutput.js +3 -3
- package/src/table.d.ts +9 -9
- package/src/table.js +9 -9
- package/src/tablecaption/tablecaptionediting.d.ts +3 -3
- package/src/tablecaption/tablecaptionediting.js +7 -7
- package/src/tablecaption/tablecaptionui.d.ts +2 -2
- package/src/tablecaption/tablecaptionui.js +4 -4
- package/src/tablecaption/toggletablecaptioncommand.d.ts +2 -2
- package/src/tablecaption/toggletablecaptioncommand.js +4 -4
- package/src/tablecaption/utils.d.ts +2 -2
- package/src/tablecaption/utils.js +2 -2
- package/src/tablecaption.d.ts +4 -4
- package/src/tablecaption.js +4 -4
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +3 -3
- package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellborderstylecommand.js +3 -3
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +3 -3
- package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellheightcommand.js +3 -3
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +4 -4
- package/src/tablecellproperties/commands/tablecellpaddingcommand.js +3 -3
- package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellpropertycommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +2 -2
- package/src/tablecellproperties/tablecellpropertiesediting.d.ts +4 -4
- package/src/tablecellproperties/tablecellpropertiesediting.js +16 -16
- package/src/tablecellproperties/tablecellpropertiesui.d.ts +4 -4
- package/src/tablecellproperties/tablecellpropertiesui.js +8 -8
- package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +8 -8
- package/src/tablecellproperties/ui/tablecellpropertiesview.js +6 -6
- package/src/tablecellproperties.d.ts +4 -4
- package/src/tablecellproperties.js +4 -4
- package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +3 -3
- package/src/tablecellwidth/commands/tablecellwidthcommand.js +3 -3
- package/src/tablecellwidth/tablecellwidthediting.d.ts +3 -3
- package/src/tablecellwidth/tablecellwidthediting.js +6 -6
- package/src/tableclipboard.d.ts +6 -6
- package/src/tableclipboard.js +6 -6
- package/src/tablecolumnresize/constants.d.ts +1 -1
- package/src/tablecolumnresize/constants.js +1 -1
- package/src/tablecolumnresize/converters.d.ts +3 -3
- package/src/tablecolumnresize/converters.js +2 -2
- package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +5 -5
- package/src/tablecolumnresize/tablecolumnresizeediting.js +11 -11
- package/src/tablecolumnresize/tablewidthscommand.d.ts +3 -3
- package/src/tablecolumnresize/tablewidthscommand.js +3 -3
- package/src/tablecolumnresize/utils.d.ts +4 -4
- package/src/tablecolumnresize/utils.js +3 -3
- package/src/tablecolumnresize.d.ts +4 -4
- package/src/tablecolumnresize.js +4 -4
- package/src/tableconfig.d.ts +3 -3
- package/src/tableconfig.js +1 -1
- package/src/tableediting.d.ts +4 -4
- package/src/tableediting.js +21 -21
- package/src/tablekeyboard.d.ts +6 -6
- package/src/tablekeyboard.js +6 -6
- package/src/tablemouse/mouseeventsobserver.d.ts +2 -2
- package/src/tablemouse/mouseeventsobserver.js +2 -2
- package/src/tablemouse.d.ts +4 -4
- package/src/tablemouse.js +5 -5
- package/src/tableproperties/commands/tablealignmentcommand.d.ts +3 -3
- package/src/tableproperties/commands/tablealignmentcommand.js +2 -2
- package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +3 -3
- package/src/tableproperties/commands/tablebackgroundcolorcommand.js +2 -2
- package/src/tableproperties/commands/tablebordercolorcommand.d.ts +4 -4
- package/src/tableproperties/commands/tablebordercolorcommand.js +3 -3
- package/src/tableproperties/commands/tableborderstylecommand.d.ts +4 -4
- package/src/tableproperties/commands/tableborderstylecommand.js +3 -3
- package/src/tableproperties/commands/tableborderwidthcommand.d.ts +4 -4
- package/src/tableproperties/commands/tableborderwidthcommand.js +3 -3
- package/src/tableproperties/commands/tableheightcommand.d.ts +3 -3
- package/src/tableproperties/commands/tableheightcommand.js +3 -3
- package/src/tableproperties/commands/tablepropertycommand.d.ts +3 -3
- package/src/tableproperties/commands/tablepropertycommand.js +3 -3
- package/src/tableproperties/commands/tablewidthcommand.d.ts +3 -3
- package/src/tableproperties/commands/tablewidthcommand.js +3 -3
- package/src/tableproperties/tablepropertiesediting.d.ts +3 -3
- package/src/tableproperties/tablepropertiesediting.js +13 -13
- package/src/tableproperties/tablepropertiesui.d.ts +4 -4
- package/src/tableproperties/tablepropertiesui.js +8 -8
- package/src/tableproperties/ui/tablepropertiesview.d.ts +6 -6
- package/src/tableproperties/ui/tablepropertiesview.js +6 -6
- package/src/tableproperties.d.ts +4 -4
- package/src/tableproperties.js +4 -4
- package/src/tableselection.d.ts +4 -4
- package/src/tableselection.js +6 -6
- package/src/tabletoolbar.d.ts +3 -3
- package/src/tabletoolbar.js +4 -4
- package/src/tableui.d.ts +2 -2
- package/src/tableui.js +7 -8
- package/src/tableutils.d.ts +4 -4
- package/src/tableutils.js +7 -7
- package/src/tablewalker.d.ts +2 -2
- package/src/tablewalker.js +1 -1
- package/src/ui/colorinputview.d.ts +4 -4
- package/src/ui/colorinputview.js +3 -3
- package/src/ui/formrowview.d.ts +3 -3
- package/src/ui/formrowview.js +2 -2
- package/src/ui/inserttableview.d.ts +3 -3
- package/src/ui/inserttableview.js +3 -3
- package/src/utils/common.d.ts +3 -3
- package/src/utils/common.js +2 -2
- package/src/utils/structure.d.ts +4 -4
- package/src/utils/structure.js +3 -3
- package/src/utils/table-properties.d.ts +2 -2
- package/src/utils/table-properties.js +1 -1
- package/src/utils/ui/contextualballoon.d.ts +3 -3
- package/src/utils/ui/contextualballoon.js +5 -5
- package/src/utils/ui/table-properties.d.ts +6 -6
- package/src/utils/ui/table-properties.js +6 -6
- package/src/utils/ui/widget.d.ts +2 -2
- package/src/utils/ui/widget.js +2 -2
- package/theme/colorinput.css +1 -1
- package/theme/form.css +1 -1
- package/theme/formrow.css +1 -1
- package/theme/inserttable.css +1 -1
- package/theme/table.css +1 -1
- package/theme/tablecaption.css +1 -1
- package/theme/tablecellproperties.css +1 -1
- package/theme/tablecolumnresize.css +1 -1
- package/theme/tableediting.css +1 -1
- package/theme/tableform.css +1 -1
- package/theme/tableproperties.css +1 -1
- package/theme/tableselection.css +1 -1
- package/theme/icons/table.svg +0 -1
package/src/tablekeyboard.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablekeyboard
|
|
7
7
|
*/
|
|
8
|
-
import TableSelection from './tableselection';
|
|
9
|
-
import TableUtils from './tableutils';
|
|
10
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
11
|
-
import { type ArrowKeyCodeDirection } from 'ckeditor5/src/utils';
|
|
12
|
-
import type { Element } from 'ckeditor5/src/engine';
|
|
8
|
+
import TableSelection from './tableselection.js';
|
|
9
|
+
import TableUtils from './tableutils.js';
|
|
10
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
11
|
+
import { type ArrowKeyCodeDirection } from 'ckeditor5/src/utils.js';
|
|
12
|
+
import type { Element } from 'ckeditor5/src/engine.js';
|
|
13
13
|
/**
|
|
14
14
|
* This plugin enables keyboard navigation for tables.
|
|
15
15
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
package/src/tablekeyboard.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablekeyboard
|
|
7
7
|
*/
|
|
8
|
-
import TableSelection from './tableselection';
|
|
9
|
-
import TableWalker from './tablewalker';
|
|
10
|
-
import TableUtils from './tableutils';
|
|
11
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
12
|
-
import { getLocalizedArrowKeyCodeDirection } from 'ckeditor5/src/utils';
|
|
8
|
+
import TableSelection from './tableselection.js';
|
|
9
|
+
import TableWalker from './tablewalker.js';
|
|
10
|
+
import TableUtils from './tableutils.js';
|
|
11
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
12
|
+
import { getLocalizedArrowKeyCodeDirection } from 'ckeditor5/src/utils.js';
|
|
13
13
|
/**
|
|
14
14
|
* This plugin enables keyboard navigation for tables.
|
|
15
15
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablemouse/mouseeventsobserver
|
|
7
7
|
*/
|
|
8
|
-
import { DomEventObserver, type DomEventData } from 'ckeditor5/src/engine';
|
|
8
|
+
import { DomEventObserver, type DomEventData } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* The mouse selection event observer.
|
|
11
11
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablemouse/mouseeventsobserver
|
|
7
7
|
*/
|
|
8
|
-
import { DomEventObserver } from 'ckeditor5/src/engine';
|
|
8
|
+
import { DomEventObserver } from 'ckeditor5/src/engine.js';
|
|
9
9
|
/**
|
|
10
10
|
* The mouse selection event observer.
|
|
11
11
|
*
|
package/src/tablemouse.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablemouse
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import TableSelection from './tableselection';
|
|
10
|
-
import TableUtils from './tableutils';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TableSelection from './tableselection.js';
|
|
10
|
+
import TableUtils from './tableutils.js';
|
|
11
11
|
/**
|
|
12
12
|
* This plugin enables a table cells' selection with the mouse.
|
|
13
13
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
package/src/tablemouse.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablemouse
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import TableSelection from './tableselection';
|
|
10
|
-
import MouseEventsObserver from './tablemouse/mouseeventsobserver';
|
|
11
|
-
import TableUtils from './tableutils';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TableSelection from './tableselection.js';
|
|
10
|
+
import MouseEventsObserver from './tablemouse/mouseeventsobserver.js';
|
|
11
|
+
import TableUtils from './tableutils.js';
|
|
12
12
|
/**
|
|
13
13
|
* This plugin enables a table cells' selection with the mouse.
|
|
14
14
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tablealignmentcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
9
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
8
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
10
10
|
/**
|
|
11
11
|
* The table alignment command.
|
|
12
12
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
5
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
6
6
|
/**
|
|
7
7
|
* The table alignment command.
|
|
8
8
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tablebackgroundcolorcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
9
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
8
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
10
10
|
/**
|
|
11
11
|
* The table background color command.
|
|
12
12
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
5
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
6
6
|
/**
|
|
7
7
|
* The table background color command.
|
|
8
8
|
*
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tablebordercolorcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Element } from 'ckeditor5/src/engine';
|
|
9
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
8
|
+
import type { Element } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
11
11
|
/**
|
|
12
12
|
* The table border color command.
|
|
13
13
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
6
|
-
import { getSingleValue } from '../../utils/table-properties';
|
|
5
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
6
|
+
import { getSingleValue } from '../../utils/table-properties.js';
|
|
7
7
|
/**
|
|
8
8
|
* The table border color command.
|
|
9
9
|
*
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tableborderstylecommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Element } from 'ckeditor5/src/engine';
|
|
9
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
10
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
8
|
+
import type { Element } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
10
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
11
11
|
/**
|
|
12
12
|
* The table style border command.
|
|
13
13
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
6
|
-
import { getSingleValue } from '../../utils/table-properties';
|
|
5
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
6
|
+
import { getSingleValue } from '../../utils/table-properties.js';
|
|
7
7
|
/**
|
|
8
8
|
* The table style border command.
|
|
9
9
|
*
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tableborderwidthcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Element } from 'ckeditor5/src/engine';
|
|
9
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
10
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
8
|
+
import type { Element } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
11
11
|
/**
|
|
12
12
|
* The table width border command.
|
|
13
13
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
6
|
-
import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties';
|
|
5
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
6
|
+
import { addDefaultUnitToNumericValue, getSingleValue } from '../../utils/table-properties.js';
|
|
7
7
|
/**
|
|
8
8
|
* The table width border command.
|
|
9
9
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tableheightcommand
|
|
7
7
|
*/
|
|
8
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
9
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
8
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
9
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
/**
|
|
11
11
|
* The table height command.
|
|
12
12
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tableheightcommand
|
|
7
7
|
*/
|
|
8
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
9
|
-
import { addDefaultUnitToNumericValue } from '../../utils/table-properties';
|
|
8
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
9
|
+
import { addDefaultUnitToNumericValue } from '../../utils/table-properties.js';
|
|
10
10
|
/**
|
|
11
11
|
* The table height command.
|
|
12
12
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tablepropertycommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Batch, Element } from 'ckeditor5/src/engine';
|
|
9
|
-
import { Command, type Editor } from 'ckeditor5/src/core';
|
|
8
|
+
import type { Batch, Element } from 'ckeditor5/src/engine.js';
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
export interface TablePropertyCommandExecuteOptions {
|
|
11
11
|
batch?: Batch;
|
|
12
12
|
columnWidths?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import { Command } from 'ckeditor5/src/core';
|
|
6
|
-
import { getSelectionAffectedTable } from '../../utils/common';
|
|
5
|
+
import { Command } from 'ckeditor5/src/core.js';
|
|
6
|
+
import { getSelectionAffectedTable } from '../../utils/common.js';
|
|
7
7
|
/**
|
|
8
8
|
* The table cell attribute command.
|
|
9
9
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tablewidthcommand
|
|
7
7
|
*/
|
|
8
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
9
|
-
import type { Editor } from 'ckeditor5/src/core';
|
|
8
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
9
|
+
import type { Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
/**
|
|
11
11
|
* The table width command.
|
|
12
12
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/commands/tablewidthcommand
|
|
7
7
|
*/
|
|
8
|
-
import TablePropertyCommand from './tablepropertycommand';
|
|
9
|
-
import { addDefaultUnitToNumericValue } from '../../utils/table-properties';
|
|
8
|
+
import TablePropertyCommand from './tablepropertycommand.js';
|
|
9
|
+
import { addDefaultUnitToNumericValue } from '../../utils/table-properties.js';
|
|
10
10
|
/**
|
|
11
11
|
* The table width command.
|
|
12
12
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/tablepropertiesediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import TableEditing from '../tableediting';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TableEditing from '../tableediting.js';
|
|
10
10
|
/**
|
|
11
11
|
* The table properties editing feature.
|
|
12
12
|
*
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/tablepropertiesediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { addBackgroundRules, addBorderRules } from 'ckeditor5/src/engine';
|
|
10
|
-
import TableEditing from '../tableediting';
|
|
11
|
-
import { downcastAttributeToStyle, downcastTableAttribute, upcastBorderStyles, upcastStyleToAttribute } from '../converters/tableproperties';
|
|
12
|
-
import TableBackgroundColorCommand from './commands/tablebackgroundcolorcommand';
|
|
13
|
-
import TableBorderColorCommand from './commands/tablebordercolorcommand';
|
|
14
|
-
import TableBorderStyleCommand from './commands/tableborderstylecommand';
|
|
15
|
-
import TableBorderWidthCommand from './commands/tableborderwidthcommand';
|
|
16
|
-
import TableWidthCommand from './commands/tablewidthcommand';
|
|
17
|
-
import TableHeightCommand from './commands/tableheightcommand';
|
|
18
|
-
import TableAlignmentCommand from './commands/tablealignmentcommand';
|
|
19
|
-
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { addBackgroundRules, addBorderRules } from 'ckeditor5/src/engine.js';
|
|
10
|
+
import TableEditing from '../tableediting.js';
|
|
11
|
+
import { downcastAttributeToStyle, downcastTableAttribute, upcastBorderStyles, upcastStyleToAttribute } from '../converters/tableproperties.js';
|
|
12
|
+
import TableBackgroundColorCommand from './commands/tablebackgroundcolorcommand.js';
|
|
13
|
+
import TableBorderColorCommand from './commands/tablebordercolorcommand.js';
|
|
14
|
+
import TableBorderStyleCommand from './commands/tableborderstylecommand.js';
|
|
15
|
+
import TableBorderWidthCommand from './commands/tableborderwidthcommand.js';
|
|
16
|
+
import TableWidthCommand from './commands/tablewidthcommand.js';
|
|
17
|
+
import TableHeightCommand from './commands/tableheightcommand.js';
|
|
18
|
+
import TableAlignmentCommand from './commands/tablealignmentcommand.js';
|
|
19
|
+
import { getNormalizedDefaultProperties } from '../utils/table-properties.js';
|
|
20
20
|
const ALIGN_VALUES_REG_EXP = /^(left|center|right)$/;
|
|
21
21
|
const FLOAT_VALUES_REG_EXP = /^(left|none|right)$/;
|
|
22
22
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/tablepropertiesui
|
|
7
7
|
*/
|
|
8
|
-
import { type Editor, Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ContextualBalloon } from 'ckeditor5/src/ui';
|
|
10
|
-
import TablePropertiesView from './ui/tablepropertiesview';
|
|
8
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import TablePropertiesView from './ui/tablepropertiesview.js';
|
|
11
11
|
/**
|
|
12
12
|
* The table properties UI plugin. It introduces the `'tableProperties'` button
|
|
13
13
|
* that opens a form allowing to specify visual styling of an entire table.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/tablepropertiesui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { ButtonView, ContextualBalloon, clickOutsideHandler, getLocalizedColorOptions, normalizeColorOptions } from 'ckeditor5/src/ui';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { ButtonView, ContextualBalloon, clickOutsideHandler, getLocalizedColorOptions, normalizeColorOptions } from 'ckeditor5/src/ui.js';
|
|
10
10
|
import { debounce } from 'lodash-es';
|
|
11
|
-
import TablePropertiesView from './ui/tablepropertiesview';
|
|
11
|
+
import TablePropertiesView from './ui/tablepropertiesview.js';
|
|
12
12
|
import tableProperties from './../../theme/icons/table-properties.svg';
|
|
13
|
-
import { colorFieldValidator, getLocalizedColorErrorText, getLocalizedLengthErrorText, lengthFieldValidator, lineWidthFieldValidator, defaultColors } from '../utils/ui/table-properties';
|
|
14
|
-
import { getSelectionAffectedTableWidget } from '../utils/ui/widget';
|
|
15
|
-
import { getBalloonTablePositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon';
|
|
16
|
-
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
13
|
+
import { colorFieldValidator, getLocalizedColorErrorText, getLocalizedLengthErrorText, lengthFieldValidator, lineWidthFieldValidator, defaultColors } from '../utils/ui/table-properties.js';
|
|
14
|
+
import { getSelectionAffectedTableWidget } from '../utils/ui/widget.js';
|
|
15
|
+
import { getBalloonTablePositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon.js';
|
|
16
|
+
import { getNormalizedDefaultProperties } from '../utils/table-properties.js';
|
|
17
17
|
const ERROR_TEXT_TIMEOUT = 500;
|
|
18
18
|
// Map of view properties and related commands.
|
|
19
19
|
const propertyToCommandMap = {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/ui/tablepropertiesview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView, FocusCycler, LabeledFieldView, ToolbarView, View, ViewCollection, type DropdownView, type InputTextView, type NormalizedColorOption, type ColorPickerConfig } from 'ckeditor5/src/ui';
|
|
9
|
-
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils';
|
|
8
|
+
import { ButtonView, FocusCycler, LabeledFieldView, ToolbarView, View, ViewCollection, type DropdownView, type InputTextView, type NormalizedColorOption, type ColorPickerConfig, type FocusableView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
10
10
|
import '../../../theme/form.css';
|
|
11
11
|
import '../../../theme/tableform.css';
|
|
12
12
|
import '../../../theme/tableproperties.css';
|
|
13
|
-
import type ColorInputView from '../../ui/colorinputview';
|
|
14
|
-
import type { TablePropertiesOptions } from '../../tableconfig';
|
|
13
|
+
import type ColorInputView from '../../ui/colorinputview.js';
|
|
14
|
+
import type { TablePropertiesOptions } from '../../tableconfig.js';
|
|
15
15
|
/**
|
|
16
16
|
* Additional configuration of the view.
|
|
17
17
|
*/
|
|
@@ -144,7 +144,7 @@ export default class TablePropertiesView extends View {
|
|
|
144
144
|
/**
|
|
145
145
|
* A collection of views that can be focused in the form.
|
|
146
146
|
*/
|
|
147
|
-
protected readonly _focusables: ViewCollection
|
|
147
|
+
protected readonly _focusables: ViewCollection<FocusableView>;
|
|
148
148
|
/**
|
|
149
149
|
* Helps cycling over {@link #_focusables} in the form.
|
|
150
150
|
*/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties/ui/tablepropertiesview
|
|
7
7
|
*/
|
|
8
|
-
import { addListToDropdown, ButtonView, createLabeledDropdown, createLabeledInputText, FocusCycler, FormHeaderView, LabeledFieldView, LabelView, submitHandler, ToolbarView, View, ViewCollection } from 'ckeditor5/src/ui';
|
|
9
|
-
import { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils';
|
|
10
|
-
import { icons } from 'ckeditor5/src/core';
|
|
11
|
-
import { fillToolbar, getBorderStyleDefinitions, getBorderStyleLabels, getLabeledColorInputCreator } from '../../utils/ui/table-properties';
|
|
12
|
-
import FormRowView from '../../ui/formrowview';
|
|
8
|
+
import { addListToDropdown, ButtonView, createLabeledDropdown, createLabeledInputText, FocusCycler, FormHeaderView, LabeledFieldView, LabelView, submitHandler, ToolbarView, View, ViewCollection } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import { icons } from 'ckeditor5/src/core.js';
|
|
11
|
+
import { fillToolbar, getBorderStyleDefinitions, getBorderStyleLabels, getLabeledColorInputCreator } from '../../utils/ui/table-properties.js';
|
|
12
|
+
import FormRowView from '../../ui/formrowview.js';
|
|
13
13
|
import '../../../theme/form.css';
|
|
14
14
|
import '../../../theme/tableform.css';
|
|
15
15
|
import '../../../theme/tableproperties.css';
|
package/src/tableproperties.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import TablePropertiesEditing from './tableproperties/tablepropertiesediting';
|
|
10
|
-
import TablePropertiesUI from './tableproperties/tablepropertiesui';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TablePropertiesEditing from './tableproperties/tablepropertiesediting.js';
|
|
10
|
+
import TablePropertiesUI from './tableproperties/tablepropertiesui.js';
|
|
11
11
|
/**
|
|
12
12
|
* The table properties feature. Enables support for setting properties of tables (size, border, background, etc.).
|
|
13
13
|
*
|
package/src/tableproperties.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import TablePropertiesEditing from './tableproperties/tablepropertiesediting';
|
|
10
|
-
import TablePropertiesUI from './tableproperties/tablepropertiesui';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import TablePropertiesEditing from './tableproperties/tablepropertiesediting.js';
|
|
10
|
+
import TablePropertiesUI from './tableproperties/tablepropertiesui.js';
|
|
11
11
|
/**
|
|
12
12
|
* The table properties feature. Enables support for setting properties of tables (size, border, background, etc.).
|
|
13
13
|
*
|
package/src/tableselection.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableselection
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import type { Element, DocumentFragment } from 'ckeditor5/src/engine';
|
|
10
|
-
import TableUtils from './tableutils';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import type { Element, DocumentFragment } from 'ckeditor5/src/engine.js';
|
|
10
|
+
import TableUtils from './tableutils.js';
|
|
11
11
|
import '../theme/tableselection.css';
|
|
12
12
|
/**
|
|
13
13
|
* This plugin enables the advanced table cells, rows and columns selection.
|
package/src/tableselection.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableselection
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { first } from 'ckeditor5/src/utils';
|
|
10
|
-
import TableWalker from './tablewalker';
|
|
11
|
-
import TableUtils from './tableutils';
|
|
12
|
-
import { cropTableToDimensions, adjustLastRowIndex, adjustLastColumnIndex } from './utils/structure';
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
import { first } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import TableWalker from './tablewalker.js';
|
|
11
|
+
import TableUtils from './tableutils.js';
|
|
12
|
+
import { cropTableToDimensions, adjustLastRowIndex, adjustLastColumnIndex } from './utils/structure.js';
|
|
13
13
|
import '../theme/tableselection.css';
|
|
14
14
|
/**
|
|
15
15
|
* This plugin enables the advanced table cells, rows and columns selection.
|