|
|
@ -12,7 +12,6 @@ |
|
|
|
:rules="FieldMethods.getRules(props, modelValue, fieldRef, undefined)" |
|
|
|
:readonly="FieldMethods.getReadOnly(props, modelValue)" |
|
|
|
:disable="FieldMethods.getDisable(props, modelValue)" |
|
|
|
@update:model-value="fieldMethodsClass.updateValue" |
|
|
|
@focus.stop.prevent="focus" |
|
|
|
@blur.stop.prevent="blur" |
|
|
|
> |
|
|
@ -271,6 +270,7 @@ onMounted(() => { |
|
|
|
content = content.replace(/[\r\n]/g, ''); |
|
|
|
} |
|
|
|
editorView.dispatch({ changes: { from: 0, to: editorView.state.doc.length, insert: content } }); |
|
|
|
fieldMethodsClass.updateValue(content); |
|
|
|
} |
|
|
|
}, |
|
|
|
); |
|
|
|