We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd836c1 commit 500cd3cCopy full SHA for 500cd3c
src/plugins/editor/components/editor.jsx
@@ -162,6 +162,11 @@ export default function makeEditor({ editorPluginsToRun }) {
162
}
163
164
updateYaml = () => {
165
+ if(this.editor.getValue() === this.yaml[0]) {
166
+ // editor is already aware of latest changes, so do nothing
167
+ return
168
+ }
169
+
170
// this.silent is taken from react-ace module. It avoids firing onChange, when we update setValue
171
this.silent = true
172
const pos = this.editor.session.selection.toJSON()
0 commit comments