Skip to content

Commit

Permalink
fix: no history being created when clicking action buttons such as fo…
Browse files Browse the repository at this point in the history
…rmat and compact
  • Loading branch information
josdejong committed Nov 27, 2024
1 parent 1656c77 commit a8c329c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/modes/textmode/TextMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,8 @@
})
}
addHistoryItem()
if (isChanged && emitChange) {
emitOnChange(content, previousContent)
}
Expand Down

0 comments on commit a8c329c

Please sign in to comment.