Skip to content

Commit

Permalink
Return when preventUpdate is set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Feb 13, 2025
1 parent ef02976 commit 3189b8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions panel/src/components/Forms/Input/WriterInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ export default {
return;
}
if (payload.transaction.meta.preventUpdate === true) {
return;
}
// compare documents to avoid minor HTML differences
// to cause unwanted updates
const jsonNew = JSON.stringify(this.editor.getJSON());
Expand Down

0 comments on commit 3189b8a

Please sign in to comment.