requestFinish Method
Called when another EditCommand wishes to become the active EditCommand. The default implementation abandons pending edits (does not save changes) and returns "done". Subclasses should complete and call end their work as soon as possible before returning "done". If it is not currently possible to finish, return any string other than "done" and the other EditCommand will have to wait and retry, potentially showing the returned string to the user.
requestFinish(): Promise<string>
Returns - Promise
Defined in
- editor/backend/src/EditCommand.ts Line 112
Last Updated: 09 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.