Explorar o código

Add padding reducer.

Maciej Gołaszewski %!s(int64=6) %!d(string=hai) anos
pai
achega
f693afd8e2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/ckeditor5-engine/src/view/styles.js

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

@@ -136,6 +136,7 @@ export default class Styles {
 		this.reducers.set( 'border', getBorderReducer );
 
 		this.reducers.set( 'margin', getTopRightBottomLeftValueReducer( 'margin' ) );
+		this.reducers.set( 'padding', getTopRightBottomLeftValueReducer( 'padding' ) );
 
 		this.reducers.set( 'background', value => {
 			const ret = [];