|
|
|
@ -234,8 +234,8 @@ class ChoquesEditor extends Component{
|
|
|
|
|
// 处理编辑器内容为空
|
|
|
|
|
texts="";
|
|
|
|
|
} else {
|
|
|
|
|
if(_text.length>=101){
|
|
|
|
|
var result = _text.substring(0,100);
|
|
|
|
|
if(_text.length>=301){
|
|
|
|
|
var result = _text.substring(0,300);
|
|
|
|
|
texts={"ops":[{"insert":result}]};
|
|
|
|
|
texts=JSON.stringify(texts);
|
|
|
|
|
}else {
|
|
|
|
|