function createWeb() {
content = UE.getEditor('editor').getContent();
left = "<!DOCTYPE html><html><head><meta charset="UTF-8"><title></title></head><body>";
right ="</body></html>";
document.getElementById("data").value = left + content +right;
或者 content = UE.getEditor('editor').getContent();
left = "<!DOCTYPE html><html><head><meta charset="UTF-8"><title></title></head><body>";
right ="</body></html>";
document.getElementById("data").value = left + content +right;
都不行啊