A fully open-source headless CMS that supports Markdown and Visual Editing
Legacy camelCase alias added in 2019 when the TinaGitApi interface was introduced (commit bede70a, "improve: add TinaGitApi interface"). Kept for back-compat but should have been removed years ago; parent class also now deprecated (PR #5715).
removal date passed
/**
* An alias to `commit`
*
* @deprecated
*/
onSubmit(data: any): Promise<any> {
return this.commit(data);
}Call commit(data) directly — or, preferred, move to the TinaCMS GraphQL mutation flow.