1 | import { Editor } from '@ckeditor/ckeditor5-core';
|
2 | import TablePropertyCommand from './tablepropertycommand';
|
3 |
|
4 | /**
|
5 | * The table style border command.
|
6 | *
|
7 | * The command is registered by the {@link module:table/tableproperties/tablepropertiesediting~TablePropertiesEditing} as
|
8 | * the `'tableBorderStyle'` editor command.
|
9 | *
|
10 | * To change the border style of the selected table, execute the command:
|
11 | *
|
12 | * editor.execute( 'tableBorderStyle', {
|
13 | * value: 'dashed'
|
14 | * } );
|
15 | */
|
16 | export default class TableBorderStyleCommand extends TablePropertyCommand {
|
17 | /**
|
18 | * Creates a new `TableBorderStyleCommand` instance.
|
19 | */
|
20 | constructor(editor: Editor, defaultValue: string);
|
21 | readonly attributeName: 'borderStyle';
|
22 | }
|