UNPKG

jodit

Version:

Jodit is awesome and usefully wysiwyg editor with filebrowser

46 lines (31 loc) 891 B
/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2020 Valeriy Chupurnov. All rights reserved. https://xdsoft.net */ import { ISourceEditor } from '../../../../types'; import { SourceEditor } from '../sourceEditor'; export class CustomEditor extends SourceEditor<HTMLTextAreaElement> implements ISourceEditor { init(): any { this.onReady(); } destruct(): any {} getValue(): string { return ''; } setValue(raw: string): void {} insertRaw(raw: string): void {} getSelectionStart(): number { return 0; } getSelectionEnd(): number { return 0; } setSelectionRange(start: number, end: number): void {} focus(): void {} setPlaceHolder(title: string): void {} setReadOnly(isReadOnly: boolean): void {} selectAll(): void {} replaceUndoManager(): void {} }