{"id":8828032,"date":"2017-02-20T23:58:55","date_gmt":"2017-02-20T23:58:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/img-in-a-list\/"},"modified":"2017-02-20T23:58:55","modified_gmt":"2017-02-20T23:58:55","slug":"img-in-a-list","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/img-in-a-list\/","title":{"rendered":"Img in a list"},"content":{"rendered":"<p>Hi all,<br \/>\nGreat plugin! Easy to use, great outcome!<br \/>\nI am trying to add an image to a numbered list, like that:<br \/>\n{<br \/>\n &#8220;rules&#8221;:<br \/>\n  [{<br \/>\n    &#8220;class&#8221;: &#8220;ImageRule&#8221;,<br \/>\n    &#8220;selector&#8221;: &#8220;li&#8221;,<br \/>\n    &#8220;properties&#8221;: {<br \/>\n        &#8220;image.url&#8221;: {<br \/>\n        &#8220;type&#8221;: &#8220;string&#8221;,<br \/>\n        &#8220;selector&#8221;: &#8220;img&#8221;,<br \/>\n        &#8220;attribute&#8221;: &#8220;src&#8221;<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n]<br \/>\n}<br \/>\nBut it throws an error: No rules defined for <img \/> in the context of ListItem<br \/>\nAny ideas how to solve it?<br \/>\nThanks a lot<\/p>\n","protected":false},"template":"","class_list":["post-8828032","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8828032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8828032\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8828032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}