Javascript Enter键不适用于froala编辑器
我正在使用froala js 1.9 js。。直到昨天它还运行得很好,但是现在回车键在编辑器上不起作用了Javascript Enter键不适用于froala编辑器,javascript,jquery,editor,html-editor,froala,Javascript,Jquery,Editor,Html Editor,Froala,我正在使用froala js 1.9 js。。直到昨天它还运行得很好,但是现在回车键在编辑器上不起作用了 $('#txt_blog_editor').editable({ inlineMode: false, minHeight: 700, //height: 700, plainPaste: false, width: 1097, allowedIma
$('#txt_blog_editor').editable({
inlineMode: false,
minHeight: 700,
//height: 700,
plainPaste: false,
width: 1097,
allowedImageTypes: ["jpeg", "jpg", "png"],
borderColor: '#00008b',
inverseSkin: false,
spellcheck: true,
imageUploadURL: 'BlogPhotos.ashx',
autosaveInterval: 1000,
imageErrorCallback: function (data) {
if (data.errorCode == 1) {
}
// No link in upload response.
else if (data.errorCode == 2) {
}
// Error during file upload.
else if (data.errorCode == 3) {
}
// Parsing response failed.
else if (data.errorCode == 4) {
}
},
buttons: ['bold', 'italic', 'underline', 'strikeThrough', 'sep', 'align', 'insertOrderedList', 'insertUnorderedList', 'outdent', 'indent', 'sep', 'createLink', 'insertImage', 'insertVideo', 'undo', 'redo', 'insertHorizontalRule','color']
});
这是我初始化的代码
我已经选中了enter键,它可以在任何其他页面元素上工作,但不能在这个编辑器上工作。有一个新版本1.2.0。你应该尝试更新它,也许这会解决你的问题