@ckeditor/ckeditor5-paste-from-office
Version:
Paste from Office feature for CKEditor 5.
16 lines (15 loc) • 629 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/br
*/
import { type ViewUpcastWriter, type ViewDocumentFragment } from 'ckeditor5/src/engine.js';
/**
* Transforms `<br>` elements that are siblings to some block element into a paragraphs.
*
* @param documentFragment The view structure to be transformed.
* @internal
*/
export declare function transformBlockBrsToParagraphs(documentFragment: ViewDocumentFragment, writer: ViewUpcastWriter): void;