Bladeren bron

Use module:engine/view/stylesmap~BoxEdges in params.

Maciej Gołaszewski 5 jaren geleden
bovenliggende
commit
aea8974a9d
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      packages/ckeditor5-engine/src/view/styles/utils.js

+ 1 - 1
packages/ckeditor5-engine/src/view/styles/utils.js

@@ -151,7 +151,7 @@ export function getTopRightBottomLeftValueReducer( styleShorthand ) {
  *		getTopRightBottomLeftShorthandValue( { top: '1px', right: '1px', bottom: '2px', left: '1px' } );
  *		// will return '1px 1px 2px'
  *
- * @param {String} styleShorthand
+ * @param {module:engine/view/stylesmap~BoxEdges} styleShorthand
  * @returns {Function}
  */
 export function getTopRightBottomLeftShorthandValue( { top, right, bottom, left } ) {