$onUpdate
functionAdd a function to run after the current update. This will run after any `onUpdate` function already supplied to `editor.update()`, as well as any functions added with previous calls to `$onUpdate`.
Add a function to run after the current update. This will run after any `onUpdate` function already supplied to `editor.update()`, as well as any functions added with previous calls to `$onUpdate`.