Commit c4064911 authored by Ludovic Kiefer's avatar Ludovic Kiefer

erp5_run_my_doc: fix the slideeditor gadget (ckeditor content not managed properly)

parent 3909e5d1
...@@ -164,20 +164,14 @@ ...@@ -164,20 +164,14 @@
type: "image/svg+xml", type: "image/svg+xml",
title: slide_dict.image_caption, title: slide_dict.image_caption,
alt: slide_dict.image_caption alt: slide_dict.image_caption
}); }).outerHTML;
} }
} }
slide.innerHTML = domsugar('select', slide.innerHTML = '<h1>' + slide_dict.title_html + '</h1>' +
[ img +
domsugar('h1', '<details>' + slide_dict.comment_html + '</details>' +
[slide_dict.title_html] slide_dict.slide_html;
),
img,
domsugar('details', {
text: slide_dict.comment_html
}),
slide_dict.slide_html
]).innerHTML;
return slideListAsHTML(slide_list); return slideListAsHTML(slide_list);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment