@ckeditor/ckeditor5-paste-from-office
Version:
Paste from Office feature for CKEditor 5.
13 lines (12 loc) • 539 B
TypeScript
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module paste-from-office/filters/bookmark
*/
import { type UpcastWriter, type ViewDocumentFragment } from 'ckeditor5/src/engine.js';
/**
* Transforms `<a>` elements which are bookmarks by moving their children after the element.
*/
export default function transformBookmarks(documentFragment: ViewDocumentFragment, writer: UpcastWriter): void;