Added flipRtl Support for FieldImages (#2203)

* Added flipRtl support for FieldImages. Added a flipRtl test block.

* Added blockfactory support.

* Fixed JSDoc.
This commit is contained in:
Beka Westberg
2019-01-10 08:59:35 -08:00
committed by RoboErikG
parent e796217e67
commit 969687ec34
7 changed files with 50 additions and 10 deletions

View File

@@ -593,7 +593,8 @@ FactoryUtils.getFieldsJson_ = function(block) {
src: block.getFieldValue('SRC'),
width: Number(block.getFieldValue('WIDTH')),
height: Number(block.getFieldValue('HEIGHT')),
alt: block.getFieldValue('ALT')
alt: block.getFieldValue('ALT'),
flipRtl: block.getFieldValue('FLIP_RTL') == 'TRUE'
});
break;
}