gpt4 book ai didi

MaxCharCount is not working in CKeditor5 ( React js)(MaxCharCount在CKedor5(Reaction Js)中不起作用)

转载 作者:bug小助手 更新时间:2023-10-27 20:29:31 25 4
gpt4 key购买 nike



I'd like the user to be blocked from typing more if the value is over 100.
I'm using CKeditor5 in React js.

如果值超过100,我希望阻止用户键入更多内容。我在REACTIVE js中使用CKeditor5。


config.wordcount = {

// Whether or not you want to show the Paragraphs Count
showParagraphs: false,

// Whether or not you want to show the Word Count
showWordCount: false,

// Whether or not you want to show the Char Count
showCharCount: true,

// Whether or not you want to count Spaces as Chars
countSpacesAsChars: true,

// Whether or not to include Html chars in the Char Count
countHTML: false,

// Maximum allowed Word Count, -1 is default for unlimited
maxWordCount: 400,

// Maximum allowed Char Count, -1 is default for unlimited
maxCharCount: 400
};

更多回答
优秀答案推荐
更多回答

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