diff --git a/src/tinymce/index.ts b/src/tinymce/index.ts index 6198b3a..ecc9873 100644 --- a/src/tinymce/index.ts +++ b/src/tinymce/index.ts @@ -1,4 +1,3 @@ -import type { Selection } from "@syncfusion/ej2-documenteditor"; import { EditorAdapter } from "../editor"; import { IaraInference } from "../speech"; @@ -8,9 +7,6 @@ export class IaraTinyMCEAdapter extends EditorAdapter implements EditorAdapter { private get _editorAPI() { return this._editor.activeEditor; } - private get _editorSelection(): Selection { - return this._editor.selection; - } getUndoStackSize(): number { return this._editorAPI.undoManager.data.length || 0; @@ -56,16 +52,6 @@ export class IaraTinyMCEAdapter extends EditorAdapter implements EditorAdapter { this._editorAPI.undoManager.undo(); } - copyReport(): void { - this._editorSelection.selectAll(); - this._editorSelection.copySelectedContent(false); - } - - clearReport(): void { - this._editorSelection.selectAll(); - this._editorAPI.delete(); - } - textFormatter(_text: IaraInference): string { throw new Error("Método não implementado."); }