**Describe the bug** The documentation shows how to use onBeforeChange event api, but this api not exist in the code. (using v0.42.3) **To Reproduce** editor.onBeforeChange is not recognized