Skip to content

Commit

Permalink
feat(core): add takeSnapshot to content editable
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Oct 23, 2021
1 parent 19e61ad commit ec82636
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/effects/useContentEditableEffect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const useContentEditableEffect = (engine: Engine) => {
target?.textContent
)
requestIdle(() => {
node.takeSnapshot('update:node:props')
restore()
})
}
Expand Down

0 comments on commit ec82636

Please sign in to comment.