gpt4 book ai didi

javascript - 输入键在 froala 编辑器上不起作用

转载 作者:行者123 更新时间:2023-12-03 11:55:50 27 4
gpt4 key购买 nike

我正在使用 froala js 1.9 js .. 直到昨天为止都运行良好 .. 但现在 Enter 键在编辑器上不起作用。

$('#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']
});

这是我要初始化的代码...

我已检查回车键是否适用于任何其他页面元素,但不适用于此编辑器。

最佳答案

有新版本1.2.0。您应该尝试更新它,也许这可以解决您的问题。

关于javascript - 输入键在 froala 编辑器上不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25618561/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com