为什么我们在tinymce上有以下不同的输出?
var foo = '<html><head></head><body><p></p>xxxxx';
// generates some empty lines and the content
tinymce.activeEditor.setContent(foo);
// the content starts from the top, without any lines
tinymce.activeEditor.setContent(foo, {format : 'raw'});
// generates the same (without any empty line, like raw format)
$(tinymce.activeEditor.getBody()).html(foo);
上看到一个有效的例子