瀏覽代碼

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

Maciej Gołaszewski 5 年之前
父節點
當前提交
aea8974a9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 } ) {