@ckeditor/ckeditor5-table 38.2.0-alpha.1 → 39.0.1
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/README.md +0 -1
- package/build/table.js +1 -1
- package/build/translations/sq.js +1 -1
- package/lang/translations/sq.po +28 -28
- package/package.json +3 -4
- package/src/augmentation.d.ts +1 -1
- package/src/commands/insertcolumncommand.d.ts +1 -1
- package/src/commands/insertcolumncommand.js +1 -1
- package/src/commands/insertrowcommand.d.ts +1 -1
- package/src/commands/insertrowcommand.js +1 -1
- package/src/commands/inserttablecommand.d.ts +1 -1
- package/src/commands/inserttablecommand.js +1 -1
- package/src/commands/mergecellcommand.d.ts +3 -3
- package/src/commands/mergecellcommand.js +4 -4
- package/src/commands/mergecellscommand.d.ts +1 -1
- package/src/commands/mergecellscommand.js +4 -4
- package/src/commands/removecolumncommand.d.ts +1 -1
- package/src/commands/removecolumncommand.js +2 -2
- package/src/commands/removerowcommand.d.ts +1 -1
- package/src/commands/removerowcommand.js +1 -1
- package/src/commands/selectcolumncommand.d.ts +1 -1
- package/src/commands/selectcolumncommand.js +2 -2
- package/src/commands/selectrowcommand.d.ts +1 -1
- package/src/commands/selectrowcommand.js +1 -1
- package/src/commands/setheadercolumncommand.d.ts +1 -1
- package/src/commands/setheadercolumncommand.js +3 -3
- package/src/commands/setheaderrowcommand.d.ts +1 -1
- package/src/commands/setheaderrowcommand.js +3 -3
- package/src/commands/splitcellcommand.d.ts +1 -1
- package/src/commands/splitcellcommand.js +1 -1
- package/src/converters/downcast.d.ts +3 -3
- package/src/converters/downcast.js +2 -2
- package/src/converters/table-caption-post-fixer.d.ts +1 -1
- package/src/converters/table-cell-paragraph-post-fixer.d.ts +1 -1
- package/src/converters/table-cell-refresh-handler.d.ts +1 -1
- package/src/converters/table-cell-refresh-handler.js +1 -1
- package/src/converters/table-headings-refresh-handler.d.ts +1 -1
- package/src/converters/table-headings-refresh-handler.js +1 -1
- package/src/converters/table-layout-post-fixer.d.ts +1 -1
- package/src/converters/table-layout-post-fixer.js +2 -2
- package/src/converters/tableproperties.d.ts +1 -1
- package/src/converters/upcasttable.d.ts +1 -1
- package/src/converters/upcasttable.js +2 -2
- package/src/index.d.ts +53 -53
- package/src/index.js +23 -23
- package/src/plaintableoutput.d.ts +2 -2
- package/src/plaintableoutput.js +2 -2
- package/src/table.d.ts +8 -8
- package/src/table.js +8 -8
- package/src/tablecaption/tablecaptionediting.d.ts +2 -2
- package/src/tablecaption/tablecaptionediting.js +7 -7
- package/src/tablecaption/tablecaptionui.d.ts +1 -1
- package/src/tablecaption/tablecaptionui.js +3 -3
- package/src/tablecaption/toggletablecaptioncommand.d.ts +1 -1
- package/src/tablecaption/toggletablecaptioncommand.js +2 -2
- package/src/tablecaption/utils.d.ts +1 -1
- package/src/tablecaption.d.ts +3 -3
- package/src/tablecaption.js +3 -3
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +1 -1
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellbordercolorcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellborderstylecommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellborderstylecommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellborderwidthcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellheightcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellheightcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +1 -1
- package/src/tablecellproperties/commands/tablecellpaddingcommand.d.ts +3 -3
- package/src/tablecellproperties/commands/tablecellpaddingcommand.js +2 -2
- package/src/tablecellproperties/commands/tablecellpropertycommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellpropertycommand.js +1 -1
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.d.ts +2 -2
- package/src/tablecellproperties/commands/tablecellverticalalignmentcommand.js +1 -1
- package/src/tablecellproperties/tablecellpropertiesediting.d.ts +3 -3
- package/src/tablecellproperties/tablecellpropertiesediting.js +15 -15
- package/src/tablecellproperties/tablecellpropertiesui.d.ts +3 -3
- package/src/tablecellproperties/tablecellpropertiesui.js +7 -7
- package/src/tablecellproperties/ui/tablecellpropertiesview.d.ts +4 -4
- package/src/tablecellproperties/ui/tablecellpropertiesview.js +5 -5
- package/src/tablecellproperties.d.ts +3 -3
- package/src/tablecellproperties.js +3 -3
- package/src/tablecellwidth/commands/tablecellwidthcommand.d.ts +2 -2
- package/src/tablecellwidth/commands/tablecellwidthcommand.js +2 -2
- package/src/tablecellwidth/tablecellwidthediting.d.ts +2 -2
- package/src/tablecellwidth/tablecellwidthediting.js +5 -5
- package/src/tableclipboard.d.ts +5 -5
- package/src/tableclipboard.js +5 -5
- package/src/tablecolumnresize/converters.d.ts +2 -2
- package/src/tablecolumnresize/converters.js +1 -1
- package/src/tablecolumnresize/tablecolumnresizeediting.d.ts +4 -4
- package/src/tablecolumnresize/tablecolumnresizeediting.js +10 -10
- package/src/tablecolumnresize/tablewidthscommand.d.ts +2 -2
- package/src/tablecolumnresize/tablewidthscommand.js +2 -2
- package/src/tablecolumnresize/utils.d.ts +3 -3
- package/src/tablecolumnresize/utils.js +2 -2
- package/src/tablecolumnresize.d.ts +3 -3
- package/src/tablecolumnresize.js +3 -3
- package/src/tableconfig.d.ts +2 -2
- package/src/tableediting.d.ts +3 -3
- package/src/tableediting.js +20 -20
- package/src/tablekeyboard.d.ts +5 -5
- package/src/tablekeyboard.js +5 -5
- package/src/tablemouse/mouseeventsobserver.d.ts +1 -1
- package/src/tablemouse/mouseeventsobserver.js +1 -1
- package/src/tablemouse.d.ts +3 -3
- package/src/tablemouse.js +4 -4
- package/src/tableproperties/commands/tablealignmentcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablealignmentcommand.js +1 -1
- package/src/tableproperties/commands/tablebackgroundcolorcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablebackgroundcolorcommand.js +1 -1
- package/src/tableproperties/commands/tablebordercolorcommand.d.ts +3 -3
- package/src/tableproperties/commands/tablebordercolorcommand.js +2 -2
- package/src/tableproperties/commands/tableborderstylecommand.d.ts +3 -3
- package/src/tableproperties/commands/tableborderstylecommand.js +2 -2
- package/src/tableproperties/commands/tableborderwidthcommand.d.ts +3 -3
- package/src/tableproperties/commands/tableborderwidthcommand.js +2 -2
- package/src/tableproperties/commands/tableheightcommand.d.ts +2 -2
- package/src/tableproperties/commands/tableheightcommand.js +2 -2
- package/src/tableproperties/commands/tablepropertycommand.d.ts +2 -2
- package/src/tableproperties/commands/tablepropertycommand.js +1 -1
- package/src/tableproperties/commands/tablewidthcommand.d.ts +2 -2
- package/src/tableproperties/commands/tablewidthcommand.js +2 -2
- package/src/tableproperties/tablepropertiesediting.d.ts +2 -2
- package/src/tableproperties/tablepropertiesediting.js +12 -12
- package/src/tableproperties/tablepropertiesui.d.ts +3 -3
- package/src/tableproperties/tablepropertiesui.js +7 -7
- package/src/tableproperties/ui/tablepropertiesview.d.ts +4 -4
- package/src/tableproperties/ui/tablepropertiesview.js +5 -5
- package/src/tableproperties.d.ts +3 -3
- package/src/tableproperties.js +3 -3
- package/src/tableselection.d.ts +3 -3
- package/src/tableselection.js +5 -5
- package/src/tabletoolbar.d.ts +2 -2
- package/src/tabletoolbar.js +3 -3
- package/src/tableui.d.ts +1 -1
- package/src/tableui.js +4 -4
- package/src/tableutils.d.ts +3 -3
- package/src/tableutils.js +5 -5
- package/src/tablewalker.d.ts +1 -1
- package/src/ui/colorinputview.d.ts +2 -2
- package/src/ui/colorinputview.js +2 -2
- package/src/ui/formrowview.d.ts +2 -2
- package/src/ui/formrowview.js +1 -1
- package/src/ui/inserttableview.d.ts +2 -2
- package/src/ui/inserttableview.js +2 -2
- package/src/utils/common.d.ts +2 -2
- package/src/utils/common.js +1 -1
- package/src/utils/structure.d.ts +3 -3
- package/src/utils/structure.js +2 -2
- package/src/utils/table-properties.d.ts +1 -1
- package/src/utils/ui/contextualballoon.d.ts +2 -2
- package/src/utils/ui/contextualballoon.js +3 -3
- package/src/utils/ui/table-properties.d.ts +5 -5
- package/src/utils/ui/table-properties.js +4 -4
- package/src/utils/ui/widget.d.ts +1 -1
- package/src/utils/ui/widget.js +1 -1
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties/tablecellpropertiesediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import { addBorderRules, addPaddingRules, addBackgroundRules } from 'ckeditor5/src/engine
|
|
10
|
-
import { downcastAttributeToStyle, upcastBorderStyles } from './../converters/tableproperties
|
|
11
|
-
import TableEditing from './../tableediting
|
|
12
|
-
import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting
|
|
13
|
-
import TableCellPaddingCommand from './commands/tablecellpaddingcommand
|
|
14
|
-
import TableCellHeightCommand from './commands/tablecellheightcommand
|
|
15
|
-
import TableCellBackgroundColorCommand from './commands/tablecellbackgroundcolorcommand
|
|
16
|
-
import TableCellVerticalAlignmentCommand from './commands/tablecellverticalalignmentcommand
|
|
17
|
-
import TableCellHorizontalAlignmentCommand from './commands/tablecellhorizontalalignmentcommand
|
|
18
|
-
import TableCellBorderStyleCommand from './commands/tablecellborderstylecommand
|
|
19
|
-
import TableCellBorderColorCommand from './commands/tablecellbordercolorcommand
|
|
20
|
-
import TableCellBorderWidthCommand from './commands/tablecellborderwidthcommand
|
|
21
|
-
import { getNormalizedDefaultProperties } from '../utils/table-properties
|
|
22
|
-
import { enableProperty } from '../utils/common
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { addBorderRules, addPaddingRules, addBackgroundRules } from 'ckeditor5/src/engine';
|
|
10
|
+
import { downcastAttributeToStyle, upcastBorderStyles } from './../converters/tableproperties';
|
|
11
|
+
import TableEditing from './../tableediting';
|
|
12
|
+
import TableCellWidthEditing from '../tablecellwidth/tablecellwidthediting';
|
|
13
|
+
import TableCellPaddingCommand from './commands/tablecellpaddingcommand';
|
|
14
|
+
import TableCellHeightCommand from './commands/tablecellheightcommand';
|
|
15
|
+
import TableCellBackgroundColorCommand from './commands/tablecellbackgroundcolorcommand';
|
|
16
|
+
import TableCellVerticalAlignmentCommand from './commands/tablecellverticalalignmentcommand';
|
|
17
|
+
import TableCellHorizontalAlignmentCommand from './commands/tablecellhorizontalalignmentcommand';
|
|
18
|
+
import TableCellBorderStyleCommand from './commands/tablecellborderstylecommand';
|
|
19
|
+
import TableCellBorderColorCommand from './commands/tablecellbordercolorcommand';
|
|
20
|
+
import TableCellBorderWidthCommand from './commands/tablecellborderwidthcommand';
|
|
21
|
+
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
22
|
+
import { enableProperty } from '../utils/common';
|
|
23
23
|
const VALIGN_VALUES_REG_EXP = /^(top|middle|bottom)$/;
|
|
24
24
|
const ALIGN_VALUES_REG_EXP = /^(left|center|right|justify)$/;
|
|
25
25
|
/**
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties/tablecellpropertiesui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core
|
|
9
|
-
import { ContextualBalloon } from 'ckeditor5/src/ui
|
|
10
|
-
import TableCellPropertiesView from './ui/tablecellpropertiesview
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
9
|
+
import { ContextualBalloon } from 'ckeditor5/src/ui';
|
|
10
|
+
import TableCellPropertiesView from './ui/tablecellpropertiesview';
|
|
11
11
|
/**
|
|
12
12
|
* The table cell properties UI plugin. It introduces the `'tableCellProperties'` button
|
|
13
13
|
* that opens a form allowing to specify the visual styling of a table cell.
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties/tablecellpropertiesui
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import { ButtonView, clickOutsideHandler, ContextualBalloon, getLocalizedColorOptions, normalizeColorOptions } from 'ckeditor5/src/ui
|
|
10
|
-
import TableCellPropertiesView from './ui/tablecellpropertiesview
|
|
11
|
-
import { colorFieldValidator, getLocalizedColorErrorText, getLocalizedLengthErrorText, defaultColors, lengthFieldValidator, lineWidthFieldValidator } from '../utils/ui/table-properties
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { ButtonView, clickOutsideHandler, ContextualBalloon, getLocalizedColorOptions, normalizeColorOptions } from 'ckeditor5/src/ui';
|
|
10
|
+
import TableCellPropertiesView from './ui/tablecellpropertiesview';
|
|
11
|
+
import { colorFieldValidator, getLocalizedColorErrorText, getLocalizedLengthErrorText, defaultColors, lengthFieldValidator, lineWidthFieldValidator } from '../utils/ui/table-properties';
|
|
12
12
|
import { debounce } from 'lodash-es';
|
|
13
|
-
import { getTableWidgetAncestor } from '../utils/ui/widget
|
|
14
|
-
import { getBalloonCellPositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon
|
|
13
|
+
import { getTableWidgetAncestor } from '../utils/ui/widget';
|
|
14
|
+
import { getBalloonCellPositionData, repositionContextualBalloon } from '../utils/ui/contextualballoon';
|
|
15
15
|
import tableCellProperties from './../../theme/icons/table-cell-properties.svg';
|
|
16
|
-
import { getNormalizedDefaultProperties } from '../utils/table-properties
|
|
16
|
+
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
17
17
|
const ERROR_TEXT_TIMEOUT = 500;
|
|
18
18
|
// Map of view properties and related commands.
|
|
19
19
|
const propertyToCommandMap = {
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties/ui/tablecellpropertiesview
|
|
7
7
|
*/
|
|
8
|
-
import { ButtonView, FocusCycler, LabeledFieldView, View, ViewCollection, type FocusableView, type NormalizedColorOption, type ColorPickerConfig } from 'ckeditor5/src/ui
|
|
9
|
-
import { KeystrokeHandler, FocusTracker, type Locale } from 'ckeditor5/src/utils
|
|
10
|
-
import type ColorInputView from '../../ui/colorinputview
|
|
11
|
-
import type { TableCellPropertiesOptions } from '../../tableconfig
|
|
8
|
+
import { ButtonView, FocusCycler, LabeledFieldView, View, ViewCollection, type FocusableView, type NormalizedColorOption, type ColorPickerConfig } from 'ckeditor5/src/ui';
|
|
9
|
+
import { KeystrokeHandler, FocusTracker, type Locale } from 'ckeditor5/src/utils';
|
|
10
|
+
import type ColorInputView from '../../ui/colorinputview';
|
|
11
|
+
import type { TableCellPropertiesOptions } from '../../tableconfig';
|
|
12
12
|
import '../../../theme/form.css';
|
|
13
13
|
import '../../../theme/tableform.css';
|
|
14
14
|
import '../../../theme/tablecellproperties.css';
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties/ui/tablecellpropertiesview
|
|
7
7
|
*/
|
|
8
|
-
import { addListToDropdown, ButtonView, createLabeledDropdown, createLabeledInputText, FocusCycler, FormHeaderView, LabeledFieldView, LabelView, submitHandler, ToolbarView, View, ViewCollection } from 'ckeditor5/src/ui
|
|
9
|
-
import { KeystrokeHandler, FocusTracker } 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';
|
|
9
|
+
import { KeystrokeHandler, FocusTracker } 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';
|
|
13
13
|
import '../../../theme/form.css';
|
|
14
14
|
import '../../../theme/tableform.css';
|
|
15
15
|
import '../../../theme/tablecellproperties.css';
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui
|
|
10
|
-
import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
|
|
10
|
+
import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
|
|
11
11
|
/**
|
|
12
12
|
* The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
|
|
13
13
|
*
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellproperties
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui
|
|
10
|
-
import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableCellPropertiesUI from './tablecellproperties/tablecellpropertiesui';
|
|
10
|
+
import TableCellPropertiesEditing from './tablecellproperties/tablecellpropertiesediting';
|
|
11
11
|
/**
|
|
12
12
|
* The table cell properties feature. Enables support for setting properties of table cells (size, border, background, etc.).
|
|
13
13
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellwidth/commands/tablecellwidthcommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5/src/core
|
|
9
|
-
import TableCellPropertyCommand from '../../tablecellproperties/commands/tablecellpropertycommand
|
|
8
|
+
import type { Editor } from 'ckeditor5/src/core';
|
|
9
|
+
import TableCellPropertyCommand from '../../tablecellproperties/commands/tablecellpropertycommand';
|
|
10
10
|
/**
|
|
11
11
|
* The table cell width command.
|
|
12
12
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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 TableCellPropertyCommand from '../../tablecellproperties/commands/tablecellpropertycommand
|
|
6
|
-
import { addDefaultUnitToNumericValue } from '../../utils/table-properties
|
|
5
|
+
import TableCellPropertyCommand from '../../tablecellproperties/commands/tablecellpropertycommand';
|
|
6
|
+
import { addDefaultUnitToNumericValue } from '../../utils/table-properties';
|
|
7
7
|
/**
|
|
8
8
|
* The table cell width command.
|
|
9
9
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellwidth/tablecellwidthediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TableEditing from './../tableediting
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableEditing from './../tableediting';
|
|
10
10
|
/**
|
|
11
11
|
* The table cell width editing feature.
|
|
12
12
|
*
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecellwidth/tablecellwidthediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TableEditing from './../tableediting
|
|
10
|
-
import TableCellWidthCommand from './commands/tablecellwidthcommand
|
|
11
|
-
import { getNormalizedDefaultProperties } from '../utils/table-properties
|
|
12
|
-
import { enableProperty } from '../utils/common
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableEditing from './../tableediting';
|
|
10
|
+
import TableCellWidthCommand from './commands/tablecellwidthcommand';
|
|
11
|
+
import { getNormalizedDefaultProperties } from '../utils/table-properties';
|
|
12
|
+
import { enableProperty } from '../utils/common';
|
|
13
13
|
/**
|
|
14
14
|
* The table cell width editing feature.
|
|
15
15
|
*
|
package/src/tableclipboard.d.ts
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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 { Plugin } from 'ckeditor5/src/core
|
|
6
|
-
import type { DocumentFragment, Element, Item, Model, Position, Writer } from 'ckeditor5/src/engine
|
|
7
|
-
import TableSelection from './tableselection
|
|
8
|
-
import { type TableSlot } from './tablewalker
|
|
9
|
-
import TableUtils from './tableutils
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
+
import type { DocumentFragment, Element, Item, Model, Position, Writer } from 'ckeditor5/src/engine';
|
|
7
|
+
import TableSelection from './tableselection';
|
|
8
|
+
import { type TableSlot } from './tablewalker';
|
|
9
|
+
import TableUtils from './tableutils';
|
|
10
10
|
/**
|
|
11
11
|
* This plugin adds support for copying/cutting/pasting fragments of tables.
|
|
12
12
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
package/src/tableclipboard.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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 { Plugin } from 'ckeditor5/src/core
|
|
6
|
-
import TableSelection from './tableselection
|
|
7
|
-
import TableWalker from './tablewalker
|
|
8
|
-
import TableUtils from './tableutils
|
|
9
|
-
import { cropTableToDimensions, getHorizontallyOverlappingCells, getVerticallyOverlappingCells, removeEmptyRowsColumns, splitHorizontally, splitVertically, trimTableCellIfNeeded, adjustLastRowIndex, adjustLastColumnIndex } from './utils/structure
|
|
5
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
6
|
+
import TableSelection from './tableselection';
|
|
7
|
+
import TableWalker from './tablewalker';
|
|
8
|
+
import TableUtils from './tableutils';
|
|
9
|
+
import { cropTableToDimensions, getHorizontallyOverlappingCells, getVerticallyOverlappingCells, removeEmptyRowsColumns, splitHorizontally, splitVertically, trimTableCellIfNeeded, adjustLastRowIndex, adjustLastColumnIndex } from './utils/structure';
|
|
10
10
|
/**
|
|
11
11
|
* This plugin adds support for copying/cutting/pasting fragments of tables.
|
|
12
12
|
* It is loaded automatically by the {@link module:table/table~Table} plugin.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecolumnresize/converters
|
|
7
7
|
*/
|
|
8
|
-
import type { DowncastDispatcher, UpcastDispatcher } from 'ckeditor5/src/engine
|
|
9
|
-
import type TableUtils from '../tableutils
|
|
8
|
+
import type { DowncastDispatcher, UpcastDispatcher } from 'ckeditor5/src/engine';
|
|
9
|
+
import type TableUtils from '../tableutils';
|
|
10
10
|
/**
|
|
11
11
|
* Returns a upcast helper that ensures the number of `<tableColumn>` elements corresponds to the actual number of columns in the table,
|
|
12
12
|
* because the input data might have too few or too many <col> elements.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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 { normalizeColumnWidths, updateColumnElements, getColumnGroupElement, getTableColumnElements, getTableColumnsWidths } from './utils
|
|
5
|
+
import { normalizeColumnWidths, updateColumnElements, getColumnGroupElement, getTableColumnElements, getTableColumnsWidths } from './utils';
|
|
6
6
|
/**
|
|
7
7
|
* Returns a upcast helper that ensures the number of `<tableColumn>` elements corresponds to the actual number of columns in the table,
|
|
8
8
|
* because the input data might have too few or too many <col> elements.
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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 { Plugin, type Editor } from 'ckeditor5/src/core
|
|
6
|
-
import type { Element } from 'ckeditor5/src/engine
|
|
7
|
-
import TableEditing from '../tableediting
|
|
8
|
-
import TableUtils from '../tableutils
|
|
5
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
6
|
+
import type { Element } from 'ckeditor5/src/engine';
|
|
7
|
+
import TableEditing from '../tableediting';
|
|
8
|
+
import TableUtils from '../tableutils';
|
|
9
9
|
/**
|
|
10
10
|
* The table column resize editing plugin.
|
|
11
11
|
*/
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
* @module table/tablecolumnresize/tablecolumnresizeediting
|
|
7
7
|
*/
|
|
8
8
|
import { throttle, isEqual } from 'lodash-es';
|
|
9
|
-
import { global, DomEmitterMixin } from 'ckeditor5/src/utils
|
|
10
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
11
|
-
import MouseEventsObserver from '../../src/tablemouse/mouseeventsobserver
|
|
12
|
-
import TableEditing from '../tableediting
|
|
13
|
-
import TableUtils from '../tableutils
|
|
14
|
-
import TableWalker from '../tablewalker
|
|
15
|
-
import TableWidthsCommand from './tablewidthscommand
|
|
16
|
-
import { downcastTableResizedClass, upcastColgroupElement } from './converters
|
|
17
|
-
import { clamp, createFilledArray, sumArray, getColumnEdgesIndexes, getChangedResizedTables, getColumnMinWidthAsPercentage, getElementWidthInPixels, getTableWidthInPixels, normalizeColumnWidths, toPrecision, getDomCellOuterWidth, updateColumnElements, getColumnGroupElement, getTableColumnElements, getTableColumnsWidths } from './utils
|
|
18
|
-
import { COLUMN_MIN_WIDTH_IN_PIXELS } from './constants
|
|
9
|
+
import { global, DomEmitterMixin } from 'ckeditor5/src/utils';
|
|
10
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
11
|
+
import MouseEventsObserver from '../../src/tablemouse/mouseeventsobserver';
|
|
12
|
+
import TableEditing from '../tableediting';
|
|
13
|
+
import TableUtils from '../tableutils';
|
|
14
|
+
import TableWalker from '../tablewalker';
|
|
15
|
+
import TableWidthsCommand from './tablewidthscommand';
|
|
16
|
+
import { downcastTableResizedClass, upcastColgroupElement } from './converters';
|
|
17
|
+
import { clamp, createFilledArray, sumArray, getColumnEdgesIndexes, getChangedResizedTables, getColumnMinWidthAsPercentage, getElementWidthInPixels, getTableWidthInPixels, normalizeColumnWidths, toPrecision, getDomCellOuterWidth, updateColumnElements, getColumnGroupElement, getTableColumnElements, getTableColumnsWidths } from './utils';
|
|
18
|
+
import { COLUMN_MIN_WIDTH_IN_PIXELS } from './constants';
|
|
19
19
|
/**
|
|
20
20
|
* The table column resize editing plugin.
|
|
21
21
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecolumnresize/tablewidthscommand
|
|
7
7
|
*/
|
|
8
|
-
import type { Element } from 'ckeditor5/src/engine
|
|
9
|
-
import { Command } from 'ckeditor5/src/core
|
|
8
|
+
import type { Element } from 'ckeditor5/src/engine';
|
|
9
|
+
import { Command } from 'ckeditor5/src/core';
|
|
10
10
|
/**
|
|
11
11
|
* Command used by the {@link module:table/tablecolumnresize~TableColumnResize Table column resize feature} that
|
|
12
12
|
* updates the width of the whole table as well as its individual columns.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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 { normalizeColumnWidths } from './utils
|
|
5
|
+
import { Command } from 'ckeditor5/src/core';
|
|
6
|
+
import { normalizeColumnWidths } from './utils';
|
|
7
7
|
/**
|
|
8
8
|
* Command used by the {@link module:table/tablecolumnresize~TableColumnResize Table column resize feature} that
|
|
9
9
|
* updates the width of the whole table as well as its individual columns.
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecolumnresize/utils
|
|
7
7
|
*/
|
|
8
|
-
import type { Editor } from 'ckeditor5/src/core
|
|
9
|
-
import type { Element, Model, Writer } from 'ckeditor5/src/engine
|
|
10
|
-
import type TableUtils from '../tableutils
|
|
8
|
+
import type { Editor } from 'ckeditor5/src/core';
|
|
9
|
+
import type { Element, Model, Writer } from 'ckeditor5/src/engine';
|
|
10
|
+
import type TableUtils from '../tableutils';
|
|
11
11
|
/**
|
|
12
12
|
* Returns all the inserted or changed table model elements in a given change set. Only the tables
|
|
13
13
|
* with 'columnsWidth' attribute are taken into account. The returned set may be empty.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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 { global } from 'ckeditor5/src/utils
|
|
6
|
-
import { COLUMN_WIDTH_PRECISION, COLUMN_MIN_WIDTH_AS_PERCENTAGE, COLUMN_MIN_WIDTH_IN_PIXELS } from './constants
|
|
5
|
+
import { global } from 'ckeditor5/src/utils';
|
|
6
|
+
import { COLUMN_WIDTH_PRECISION, COLUMN_MIN_WIDTH_AS_PERCENTAGE, COLUMN_MIN_WIDTH_IN_PIXELS } from './constants';
|
|
7
7
|
/**
|
|
8
8
|
* Returns all the inserted or changed table model elements in a given change set. Only the tables
|
|
9
9
|
* with 'columnsWidth' attribute are taken into account. The returned set may be empty.
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecolumnresize
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TableColumnResizeEditing from './tablecolumnresize/tablecolumnresizeediting
|
|
10
|
-
import TableCellWidthEditing from './tablecellwidth/tablecellwidthediting
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableColumnResizeEditing from './tablecolumnresize/tablecolumnresizeediting';
|
|
10
|
+
import TableCellWidthEditing from './tablecellwidth/tablecellwidthediting';
|
|
11
11
|
import '../theme/tablecolumnresize.css';
|
|
12
12
|
/**
|
|
13
13
|
* The table column resize feature.
|
package/src/tablecolumnresize.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tablecolumnresize
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import TableColumnResizeEditing from './tablecolumnresize/tablecolumnresizeediting
|
|
10
|
-
import TableCellWidthEditing from './tablecellwidth/tablecellwidthediting
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import TableColumnResizeEditing from './tablecolumnresize/tablecolumnresizeediting';
|
|
10
|
+
import TableCellWidthEditing from './tablecellwidth/tablecellwidthediting';
|
|
11
11
|
import '../theme/tablecolumnresize.css';
|
|
12
12
|
/**
|
|
13
13
|
* The table column resize feature.
|
package/src/tableconfig.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableconfig
|
|
7
7
|
*/
|
|
8
|
-
import type { ToolbarConfigItem } from 'ckeditor5/src/core
|
|
9
|
-
import type { ColorOption, ColorPickerConfig } from 'ckeditor5/src/ui
|
|
8
|
+
import type { ToolbarConfigItem } from 'ckeditor5/src/core';
|
|
9
|
+
import type { ColorOption, ColorPickerConfig } from 'ckeditor5/src/ui';
|
|
10
10
|
/**
|
|
11
11
|
* The configuration of the table feature. Used by the table feature in the `@ckeditor/ckeditor5-table` package.
|
|
12
12
|
*
|
package/src/tableediting.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor } from 'ckeditor5/src/core
|
|
9
|
-
import type { PositionOffset, SlotFilter } from 'ckeditor5/src/engine
|
|
10
|
-
import TableUtils from '../src/tableutils
|
|
8
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core';
|
|
9
|
+
import type { PositionOffset, SlotFilter } from 'ckeditor5/src/engine';
|
|
10
|
+
import TableUtils from '../src/tableutils';
|
|
11
11
|
import '../theme/tableediting.css';
|
|
12
12
|
/**
|
|
13
13
|
* The table editing feature.
|
package/src/tableediting.js
CHANGED
|
@@ -5,26 +5,26 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module table/tableediting
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core
|
|
9
|
-
import upcastTable, { ensureParagraphInTableCell, skipEmptyTableRow, upcastTableFigure } from './converters/upcasttable
|
|
10
|
-
import { convertParagraphInTableCell, downcastCell, downcastRow, downcastTable } from './converters/downcast
|
|
11
|
-
import InsertTableCommand from './commands/inserttablecommand
|
|
12
|
-
import InsertRowCommand from './commands/insertrowcommand
|
|
13
|
-
import InsertColumnCommand from './commands/insertcolumncommand
|
|
14
|
-
import SplitCellCommand from './commands/splitcellcommand
|
|
15
|
-
import MergeCellCommand from './commands/mergecellcommand
|
|
16
|
-
import RemoveRowCommand from './commands/removerowcommand
|
|
17
|
-
import RemoveColumnCommand from './commands/removecolumncommand
|
|
18
|
-
import SetHeaderRowCommand from './commands/setheaderrowcommand
|
|
19
|
-
import SetHeaderColumnCommand from './commands/setheadercolumncommand
|
|
20
|
-
import MergeCellsCommand from './commands/mergecellscommand
|
|
21
|
-
import SelectRowCommand from './commands/selectrowcommand
|
|
22
|
-
import SelectColumnCommand from './commands/selectcolumncommand
|
|
23
|
-
import TableUtils from '../src/tableutils
|
|
24
|
-
import injectTableLayoutPostFixer from './converters/table-layout-post-fixer
|
|
25
|
-
import injectTableCellParagraphPostFixer from './converters/table-cell-paragraph-post-fixer
|
|
26
|
-
import tableHeadingsRefreshHandler from './converters/table-headings-refresh-handler
|
|
27
|
-
import tableCellRefreshHandler from './converters/table-cell-refresh-handler
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import upcastTable, { ensureParagraphInTableCell, skipEmptyTableRow, upcastTableFigure } from './converters/upcasttable';
|
|
10
|
+
import { convertParagraphInTableCell, downcastCell, downcastRow, downcastTable } from './converters/downcast';
|
|
11
|
+
import InsertTableCommand from './commands/inserttablecommand';
|
|
12
|
+
import InsertRowCommand from './commands/insertrowcommand';
|
|
13
|
+
import InsertColumnCommand from './commands/insertcolumncommand';
|
|
14
|
+
import SplitCellCommand from './commands/splitcellcommand';
|
|
15
|
+
import MergeCellCommand from './commands/mergecellcommand';
|
|
16
|
+
import RemoveRowCommand from './commands/removerowcommand';
|
|
17
|
+
import RemoveColumnCommand from './commands/removecolumncommand';
|
|
18
|
+
import SetHeaderRowCommand from './commands/setheaderrowcommand';
|
|
19
|
+
import SetHeaderColumnCommand from './commands/setheadercolumncommand';
|
|
20
|
+
import MergeCellsCommand from './commands/mergecellscommand';
|
|
21
|
+
import SelectRowCommand from './commands/selectrowcommand';
|
|
22
|
+
import SelectColumnCommand from './commands/selectcolumncommand';
|
|
23
|
+
import TableUtils from '../src/tableutils';
|
|
24
|
+
import injectTableLayoutPostFixer from './converters/table-layout-post-fixer';
|
|
25
|
+
import injectTableCellParagraphPostFixer from './converters/table-cell-paragraph-post-fixer';
|
|
26
|
+
import tableHeadingsRefreshHandler from './converters/table-headings-refresh-handler';
|
|
27
|
+
import tableCellRefreshHandler from './converters/table-cell-refresh-handler';
|
|
28
28
|
import '../theme/tableediting.css';
|
|
29
29
|
/**
|
|
30
30
|
* The table editing feature.
|
package/src/tablekeyboard.d.ts
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
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';
|
|
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';
|
|
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
|
@@ -5,11 +5,11 @@
|
|
|
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';
|
|
9
|
+
import TableWalker from './tablewalker';
|
|
10
|
+
import TableUtils from './tableutils';
|
|
11
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
12
|
+
import { getLocalizedArrowKeyCodeDirection } from 'ckeditor5/src/utils';
|
|
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.
|
|
@@ -5,7 +5,7 @@
|
|
|
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';
|
|
9
9
|
/**
|
|
10
10
|
* The mouse selection event observer.
|
|
11
11
|
*
|
package/src/tablemouse.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
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';
|
|
9
|
+
import TableSelection from './tableselection';
|
|
10
|
+
import TableUtils from './tableutils';
|
|
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
|
@@ -5,10 +5,10 @@
|
|
|
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';
|
|
9
|
+
import TableSelection from './tableselection';
|
|
10
|
+
import MouseEventsObserver from './tablemouse/mouseeventsobserver';
|
|
11
|
+
import TableUtils from './tableutils';
|
|
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.
|
|
@@ -5,8 +5,8 @@
|
|
|
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';
|
|
9
|
+
import TablePropertyCommand from './tablepropertycommand';
|
|
10
10
|
/**
|
|
11
11
|
* The table alignment command.
|
|
12
12
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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';
|
|
6
6
|
/**
|
|
7
7
|
* The table alignment command.
|
|
8
8
|
*
|
|
@@ -5,8 +5,8 @@
|
|
|
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';
|
|
9
|
+
import TablePropertyCommand from './tablepropertycommand';
|
|
10
10
|
/**
|
|
11
11
|
* The table background color command.
|
|
12
12
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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';
|
|
6
6
|
/**
|
|
7
7
|
* The table background color command.
|
|
8
8
|
*
|
|
@@ -5,9 +5,9 @@
|
|
|
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';
|
|
9
|
+
import type { Editor } from 'ckeditor5/src/core';
|
|
10
|
+
import TablePropertyCommand from './tablepropertycommand';
|
|
11
11
|
/**
|
|
12
12
|
* The table border color command.
|
|
13
13
|
*
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, 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';
|
|
6
|
+
import { getSingleValue } from '../../utils/table-properties';
|
|
7
7
|
/**
|
|
8
8
|
* The table border color command.
|
|
9
9
|
*
|