From be23acf499bcdb530c1b8990aa3d6211323cbdb2 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 20 May 2021 19:33:08 -0400 Subject: Structured content image size units (#1692) * Add support for sizeUnits on image content * Update test data --- test/data/dictionaries/valid-dictionary1/term_bank_1.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/data/dictionaries') diff --git a/test/data/dictionaries/valid-dictionary1/term_bank_1.json b/test/data/dictionaries/valid-dictionary1/term_bank_1.json index a2c9a216..0df04ef0 100644 --- a/test/data/dictionaries/valid-dictionary1/term_bank_1.json +++ b/test/data/dictionaries/valid-dictionary1/term_bank_1.json @@ -28,7 +28,9 @@ "\nmore content 2: ", {"tag": "img", "path": "image.gif", "width": 35, "height": 35, "pixelated": true, "collapsible": false, "collapsed": false, "verticalAlign": "middle"}, " and ", - {"tag": "img", "path": "image.gif", "width": 35, "height": 35, "pixelated": true, "collapsible": false, "collapsed": true} + {"tag": "img", "path": "image.gif", "width": 35, "height": 35, "pixelated": true, "collapsible": false, "collapsed": true}, + " and ", + {"tag": "img", "path": "image.gif", "width": 1, "height": 1, "pixelated": true, "collapsible": false, "collapsed": false, "sizeUnits": "em"} ]}, {"type": "structured-content", "content": [ "naiyou definition 6: ", -- cgit v1.2.3