Issue #605Opened December 4, 2017by Deepak8130 reactions

How we can save HTML

Question

How we can save HTML without using editor.getHtml() and replace function. As, when we are using this in image upload then the existing video element html are removed.

Please help us to do save image and video data dynamically using backbone or some other solution.

Answers (3)

ateshuseyinDecember 5, 20170 reactions

You can create your own storage to handle whole data in the editor (html, css, assets etc)

HTML part only contains links of assets (image, video etc). If you want to get uploaded data you should override uploadFile method of AssetsManager

Deepak813December 6, 20170 reactions

Hi @ateshuseyin,

Thanks for the message.

I don't know how to create our own storage.Please elaborate how to do that as i am in the middle of the this tasks and not able to go further.

editor.replace(); refresh the complete html of browser due to that video element is not working proparly as all the html of video is removed.

Please help us to resolve this.

artfDecember 8, 20170 reactions

@Deepak813 this is highly discussed argument, so just make a search in issues (eg. #597)

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.