|
@@ -28761,7 +28761,7 @@ UE.ui = baidu.editor.ui = {};
|
|
|
function setCount(editor,ui) {
|
|
|
editor.setOpt({
|
|
|
wordCount:true,
|
|
|
- maximumWords:10000,
|
|
|
+ maximumWords:1000000,
|
|
|
wordCountMsg:editor.options.wordCountMsg || editor.getLang("wordCountMsg"),
|
|
|
wordOverFlowMsg:editor.options.wordOverFlowMsg || editor.getLang("wordOverFlowMsg")
|
|
|
});
|
|
@@ -28770,6 +28770,7 @@ UE.ui = baidu.editor.ui = {};
|
|
|
msg = opt.wordCountMsg ,
|
|
|
errMsg = opt.wordOverFlowMsg,
|
|
|
countDom = ui.getDom('wordcount');
|
|
|
+ console.log('最大字数' + max)
|
|
|
if (!opt.wordCount) {
|
|
|
return;
|
|
|
}
|