@ckeditor/ckeditor5-paste-from-office 48.2.0 → 48.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module paste-from-office/filters/table
7
- */
8
- import { type ViewUpcastWriter, type ViewDocumentFragment } from '@ckeditor/ckeditor5-engine';
6
+ * @module paste-from-office/filters/table
7
+ */
8
+ import { type ViewUpcastWriter, type ViewDocumentFragment } from "@ckeditor/ckeditor5-engine";
9
9
  /**
10
- * Applies border none for table and cells without a border specified.
11
- * Normalizes style length units to px.
12
- * Handles left block table alignment.
13
- *
14
- * @internal
15
- */
10
+ * Applies border none for table and cells without a border specified.
11
+ * Normalizes style length units to px.
12
+ * Handles left block table alignment.
13
+ *
14
+ * @internal
15
+ */
16
16
  export declare function transformTables(documentFragment: ViewDocumentFragment, writer: ViewUpcastWriter, hasTablePropertiesPlugin?: boolean): void;
@@ -1,25 +1,25 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module paste-from-office/filters/utils
7
- */
6
+ * @module paste-from-office/filters/utils
7
+ */
8
8
  /**
9
- * Normalizes CSS length value to 'px'.
10
- *
11
- * @internal
12
- */
9
+ * Normalizes CSS length value to 'px'.
10
+ *
11
+ * @internal
12
+ */
13
13
  export declare function convertCssLengthToPx(value: string): string;
14
14
  /**
15
- * Returns true for value with 'px' unit.
16
- *
17
- * @internal
18
- */
15
+ * Returns true for value with 'px' unit.
16
+ *
17
+ * @internal
18
+ */
19
19
  export declare function isPx(value?: string): value is string;
20
20
  /**
21
- * Returns a rounded 'px' value.
22
- *
23
- * @internal
24
- */
21
+ * Returns a rounded 'px' value.
22
+ *
23
+ * @internal
24
+ */
25
25
  export declare function toPx(value: number): string;
@@ -2,3 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+
@@ -2,3 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+
package/dist/index.css CHANGED
@@ -3,5 +3,3 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
6
-
7
- /*# sourceMappingURL=index.css.map */
package/dist/index.d.ts CHANGED
@@ -1,27 +1,27 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
5
  /**
6
- * @module paste-from-office
7
- */
8
- export { PasteFromOffice } from './pastefromoffice.js';
9
- export type { PasteFromOfficeNormalizer } from './normalizer.js';
10
- export { PasteFromOfficeMSWordNormalizer } from './normalizers/mswordnormalizer.js';
11
- export { parsePasteOfficeHtml, type PasteOfficeHtmlParseResult } from './filters/parse.js';
12
- export { transformBookmarks as _transformPasteOfficeBookmarks } from './filters/bookmark.js';
13
- export { transformBlockBrsToParagraphs as _transformPasteOfficeBlockBrsToParagraphs } from './filters/br.js';
14
- export { replaceImagesSourceWithBase64 as _replacePasteOfficeImagesSourceWithBase64, _convertHexToBase64 } from './filters/image.js';
15
- export { transformListItemLikeElementsIntoLists as _transformPasteOfficeListItemLikeElementsIntoLists, unwrapParagraphInListItem as _unwrapPasteOfficeParagraphInListItem } from './filters/list.js';
16
- export { removeBoldWrapper as _removePasteOfficeBoldWrapper } from './filters/removeboldwrapper.js';
17
- export { removeGoogleSheetsTag as _removePasteGoogleOfficeSheetsTag } from './filters/removegooglesheetstag.js';
18
- export { removeInvalidTableWidth as _removePasteOfficeInvalidTableWidths } from './filters/removeinvalidtablewidth.js';
19
- export { removeMSAttributes as _removePasteMSOfficeAttributes } from './filters/removemsattributes.js';
20
- export { removeStyleBlock as _removePasteOfficeStyleBlock } from './filters/removestyleblock.js';
21
- export { removeXmlns as _removePasteOfficeXmlnsAttributes } from './filters/removexmlns.js';
22
- export { normalizeSpacing as _normalizePasteOfficeSpacing, normalizeSpacerunSpans as _normalizePasteOfficeSpaceRunSpans } from './filters/space.js';
23
- export { transformTables as _transformPasteOfficeTables } from './filters/table.js';
24
- export { convertCssLengthToPx as _convertPasteOfficeCssLengthToPx, isPx as _isPasteOfficePxValue, toPx as _toPasteOfficePxValue } from './filters/utils.js';
25
- export { GoogleDocsNormalizer as PasteFromOfficeGoogleDocsNormalizer } from './normalizers/googledocsnormalizer.js';
26
- export { GoogleSheetsNormalizer as PasteFromOfficeGoogleSheetsNormalizer } from './normalizers/googlesheetsnormalizer.js';
27
- import './augmentation.js';
6
+ * @module paste-from-office
7
+ */
8
+ export { PasteFromOffice } from "./pastefromoffice.js";
9
+ export type { PasteFromOfficeNormalizer } from "./normalizer.js";
10
+ export { PasteFromOfficeMSWordNormalizer } from "./normalizers/mswordnormalizer.js";
11
+ export { parsePasteOfficeHtml, type PasteOfficeHtmlParseResult } from "./filters/parse.js";
12
+ export { transformBookmarks as _transformPasteOfficeBookmarks } from "./filters/bookmark.js";
13
+ export { transformBlockBrsToParagraphs as _transformPasteOfficeBlockBrsToParagraphs } from "./filters/br.js";
14
+ export { replaceImagesSourceWithBase64 as _replacePasteOfficeImagesSourceWithBase64, _convertHexToBase64 } from "./filters/image.js";
15
+ export { transformListItemLikeElementsIntoLists as _transformPasteOfficeListItemLikeElementsIntoLists, unwrapParagraphInListItem as _unwrapPasteOfficeParagraphInListItem } from "./filters/list.js";
16
+ export { removeBoldWrapper as _removePasteOfficeBoldWrapper } from "./filters/removeboldwrapper.js";
17
+ export { removeGoogleSheetsTag as _removePasteGoogleOfficeSheetsTag } from "./filters/removegooglesheetstag.js";
18
+ export { removeInvalidTableWidth as _removePasteOfficeInvalidTableWidths } from "./filters/removeinvalidtablewidth.js";
19
+ export { removeMSAttributes as _removePasteMSOfficeAttributes } from "./filters/removemsattributes.js";
20
+ export { removeStyleBlock as _removePasteOfficeStyleBlock } from "./filters/removestyleblock.js";
21
+ export { removeXmlns as _removePasteOfficeXmlnsAttributes } from "./filters/removexmlns.js";
22
+ export { normalizeSpacing as _normalizePasteOfficeSpacing, normalizeSpacerunSpans as _normalizePasteOfficeSpaceRunSpans } from "./filters/space.js";
23
+ export { transformTables as _transformPasteOfficeTables } from "./filters/table.js";
24
+ export { convertCssLengthToPx as _convertPasteOfficeCssLengthToPx, isPx as _isPasteOfficePxValue, toPx as _toPasteOfficePxValue } from "./filters/utils.js";
25
+ export { GoogleDocsNormalizer as PasteFromOfficeGoogleDocsNormalizer } from "./normalizers/googledocsnormalizer.js";
26
+ export { GoogleSheetsNormalizer as PasteFromOfficeGoogleSheetsNormalizer } from "./normalizers/googlesheetsnormalizer.js";
27
+ import "./augmentation.js";