Skip to content

Commit fdf2615

Browse files
jeslynbokemister85
andauthored
Update modules/ROOT/partials/misc/onSetup.adoc
Co-authored-by: Karl Kemister-Sheppard <karlkemistersheppard@gmail.com>
1 parent 9867581 commit fdf2615

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/ROOT/partials/misc/onSetup.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ onSetup: (api) => {
1818
};
1919
----
2020

21-
To bind a callback function to an editor event use `xref:apis/tinymce.editor.adoc#on[`+editor.off(eventName, callback)+`]. To unbind an event listener use `xref:apis/tinymce.editor.adoc#off[`+editor.off(eventName, callback)+`]. Any event listeners _should_ be unbound in the teardown callback. The only editor event which does not need to be unbound is `+init+` e.g. `+editor.on('init', callback)+`.
21+
To bind a callback function to an editor event use xref:apis/tinymce.editor.adoc#on[`+editor.on(eventName, callback)+`]. To unbind an event listener use xref:apis/tinymce.editor.adoc#off[`+editor.off(eventName, callback)+`]. Any event listeners _should_ be unbound in the teardown callback. The only editor event which does not need to be unbound is `+init+` e.g. `+editor.on('init', callback)+`.
2222

2323
[NOTE]
2424
====

0 commit comments

Comments
 (0)