8
0
Maciej Gołaszewski 6 лет назад
Родитель
Сommit
d7306173a5
1 измененных файлов с 18 добавлено и 0 удалено
  1. 18 0
      packages/ckeditor5-engine/src/view/stylesmap.js

+ 18 - 0
packages/ckeditor5-engine/src/view/stylesmap.js

@@ -885,3 +885,21 @@ function appendStyleValue( stylesObject, nameOrPath, valueOrObject ) {
  *
  * @typedef {Array.<String, String>} module:engine/view/stylesmap~PropertyDescriptor
  */
+
+/**
+ * An object describing box edges values.
+ *
+ *		const margin = {
+ *			top: '1px',
+ *			right: '3px',
+ *			bottom: '3px',
+ *			left: '7px'
+ *		}
+ *
+ * @typedef {Object} module:engine/view/stylesmap~BoxEdges
+ *
+ * @property {String} top Top edge value.
+ * @property {String} right Right edge value.
+ * @property {String} bottom Bottom edge value.
+ * @property {String} left Left edge value.
+ */