* storage template html as templateHtml property of keditor instance.

This commit is contained in:
Catouse
2020-10-12 20:10:01 +08:00
parent ad73980c9f
commit eb01165a2e
@@ -77,6 +77,7 @@ function setTemplate(templateID)
var cmd = editor['<?php echo $link;?>'].edit.cmd;
editor['<?php echo $link;?>'].html('');
cmd.inserthtml(content);
editor['<?php echo $link;?>'].templateHtml = editor['<?php echo $link;?>'].html();
}
function deleteTemplate(templateID)