mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Fix value syncing in SQL and HTML editor (#6848)
This commit is contained in:
committed by
GitHub
parent
a5667e6c42
commit
90e825f743
@@ -111,7 +111,8 @@ export default defineComponent({
|
||||
this.getHighlighter()?.removeColor(this.editor, this.htmlSegments);
|
||||
this.getHighlighter()?.addColor(this.editor, this.resolvableSegments);
|
||||
|
||||
this.$emit('update:modelValue', this.doc);
|
||||
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
||||
this.$emit('update:modelValue', this.editor?.state.doc.toString());
|
||||
}),
|
||||
];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user