Broken image icon when using background image editable tags in fragment

Issue

  • Using the following on a fragment to include an editable image tag as a background image as per documentation results in a broken image icon at the top left of the fragment:

    <lfr-editable id="unique-id" type="image">
    <img src="...">
    </lfr-editable>

Environment

  • Liferay DXP 7.2

Resolution

  • Use an extremely small image, such as a 1px blank image and specify its path in img src instead of <img src="...">

 

Was this article helpful?
0 out of 0 found this helpful