|
@@ -29826,7 +29826,7 @@
|
|
|
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")
|
|
|
});
|
|
@@ -29839,6 +29839,7 @@
|
|
|
return;
|
|
|
}
|
|
|
var count = editor.getContentLength(true);
|
|
|
+ console.log(count, 'count')
|
|
|
if (count > max) {
|
|
|
countDom.innerHTML = errMsg;
|
|
|
editor.fireEvent("wordcountoverflow");
|