Ueditor禁用Enter换行
editor.addListener("keydown", function (type, event) {
if (event.which == 13) { // 13 Enter
// 禁止换行
event.cancelBubble = true;
event.preventDefault();
event.stopPropagation();
}
});