eZ Platform Discussions

Embed image in richtext


#1

Hi,

I create content programmatically with richtext field. In this richtext I insert a image

<div data-ezelement="ezembed" data-href="ezlocation://'.$imageId.'" data-ezview="embed" id="embed-id-'.$imageId.'" data-widget="ezembed" class="ez-embed-type-image" data-ezalign="center"/>

I can see image but not when I edit content, I have one error :

Cannot read property ‘Result’ of undefined

Any help