UNPKG

@ckeditor/ckeditor5-vue

Version:

Official Vue.js 3+ component for CKEditor 5 – the best browser-based rich text editor.

12 lines (11 loc) 545 B
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ import type { Editor } from 'ckeditor5'; /** * Removes all DOM elements injected by a specific CKEditor instance. * Call this before assigning a new instance (e.g. in the 'restart' watchdog handler), * because the watchdog does not clean up the previous editor's DOM on its own. */ export declare function cleanupOrphanEditorElements(editor: Editor): void;