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 @@
type: "image/svg+xml",
title: slide_dict.image_caption,
alt: slide_dict.image_caption
});
}).outerHTML;
}
}
slide.innerHTML = domsugar('select',
[
domsugar('h1',
[slide_dict.title_html]
),
img,
domsugar('details', {
text: slide_dict.comment_html
}),
slide_dict.slide_html
]).innerHTML;
slide.innerHTML = '<h1>' + slide_dict.title_html + '</h1>' +
img +
'<details>' + slide_dict.comment_html + '</details>' +
slide_dict.slide_html;
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