* storage template html as templateHtml property of keditor instance.

This commit is contained in:
Catouse
2020-10-12 20:08:20 +08:00
parent 7a1add17e8
commit 2c6d7d153b
@@ -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)