UNPKG

@ckeditor/ckeditor5-paste-from-office

Version:

Paste from Office feature for CKEditor 5.

32 lines (31 loc) 945 B
/** * @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/normalizers/googlesheetsnormalizer */ import { type ViewDocument } from 'ckeditor5/src/engine.js'; import type { PasteFromOfficeNormalizer, PasteFromOfficeNormalizerData } from '../normalizer.js'; /** * Normalizer for the content pasted from Google Sheets. * * @internal */ export declare class GoogleSheetsNormalizer implements PasteFromOfficeNormalizer { readonly document: ViewDocument; /** * Creates a new `GoogleSheetsNormalizer` instance. * * @param document View document. */ constructor(document: ViewDocument); /** * @inheritDoc */ isActive(htmlString: string): boolean; /** * @inheritDoc */ execute(data: PasteFromOfficeNormalizerData): void; }