Bladeren bron

Use better values in docs for table cell commands.

Maciej Gołaszewski 5 jaren geleden
bovenliggende
commit
bc589a9d38

+ 1 - 1
packages/ckeditor5-table/src/tablecellproperties/commands/tablecellbordercolorcommand.js

@@ -19,7 +19,7 @@ import { getSingleValue } from '../../commands/utils';
  * To change cell border color of the selected cell, execute the command:
  *
  *		editor.execute( 'tableCellBorderColor', {
- *			value: '5px'
+ *			value: '#f00'
  *		} );
  *
  * @extends module:core/command~Command

+ 1 - 1
packages/ckeditor5-table/src/tablecellproperties/commands/tablecellborderstylecommand.js

@@ -19,7 +19,7 @@ import { getSingleValue } from '../../commands/utils';
  * To change cell border style of the selected cell, execute the command:
  *
  *		editor.execute( 'tableCellBorderStyle', {
- *			value: '5px'
+ *			value: 'dashed'
  *		} );
  *
  * @extends module:core/command~Command

+ 1 - 1
packages/ckeditor5-table/src/tablecellproperties/commands/tablecellheightcommand.js

@@ -18,7 +18,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand';
  * To change cell height of the selected cell, execute the command:
  *
  *		editor.execute( 'tableCellHeight', {
- *			value: '5px'
+ *			value: '50px'
  *		} );
  *
  * @extends module:table/tablecellproperties/commands/tablecellpropertycommand

+ 1 - 1
packages/ckeditor5-table/src/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js

@@ -18,7 +18,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand';
  * To change cell horizontal alignment of the selected cell, execute the command:
  *
  *		editor.execute( 'tableCellHorizontalAlignment', {
- *			value: '5px'
+ *			value: 'right'
  *		} );
  *
  * @extends module:table/tablecellproperties/commands/tablecellpropertycommand

+ 1 - 1
packages/ckeditor5-table/src/tablecellproperties/commands/tablecellwidthcommand.js

@@ -18,7 +18,7 @@ import TableCellPropertyCommand from './tablecellpropertycommand';
  * To change cell width of the selected cell, execute the command:
  *
  *		editor.execute( 'tableCellWidth', {
- *			value: '5px'
+ *			value: '50px'
  *		} );
  *
  * @extends module:table/tablecellproperties/commands/tablecellpropertycommand