Remove deprecated EditorEvents

This commit is contained in:
Eric NGUYEN 2023-02-24 14:46:24 +01:00
parent c725b107a4
commit 4fcf600c88
2 changed files with 5 additions and 121 deletions

View file

@ -364,6 +364,7 @@
* @param index Position to insert the container
* @param type Container type to create
* @param callback
* @deprecated Do not use this function, use AddContainer instead
*/
public AddContainerToSelectedContainer(index: number, type: string, callback?: (state: IEditorState) => void) {
const eventType = 'addContainerToSelectedContainer';
@ -396,6 +397,7 @@
* Append a new container in the current selected container
* @param type Container type to create
* @param callback
* @deprecated Do not use this function, use AppendContainer instead
*/
public AppendContainerToSelectedContainer(type: string, callback?: (state: IEditorState) => void) {
const eventType = 'appendContainerToSelectedContainer';
@ -410,6 +412,7 @@
* Select a container by id
* @param containerId Container's id to select
* @param callback
* @deprecated Do not use this function
*/
public SelectContainer(containerId: string, callback?: (state: IEditorState) => void) {
const eventType = 'selectContainer';
@ -453,6 +456,7 @@
* Select a symbol by id
* @param symbolId Symbol's id to select
* @param callback
* @deprecated Do not use this function
*/
public SelectSymbol(symbolId: string, callback?: (state: IEditorState) => void) {
const eventType = 'selectSymbol';