Skip to content

Implement shouldPreventDefaultPaste function #45

Implement shouldPreventDefaultPaste function

Implement shouldPreventDefaultPaste function #45

Triggered via push November 7, 2024 06:57
Status Failure
Total duration 3m 26s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 12 warnings
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1397
Conversion of type '{ items: null; }' to type 'ClipboardData' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1401
Argument of type 'IEditor' is not assignable to parameter of type 'DataTransfer'.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1402
Argument of type 'IEditor' is not assignable to parameter of type 'DataTransfer'.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1406
Conversion of type '{ items: { type: string; kind: string; }[]; }' to type 'ClipboardData' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1412
Argument of type 'IEditor' is not assignable to parameter of type 'DataTransfer'.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1416
Conversion of type '{ items: { type: string; kind: string; }[]; }' to type 'ClipboardData' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1419
Conversion of type '{ items: { type: string; kind: string; }[]; }' to type 'ClipboardData' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1425
Argument of type 'IEditor' is not assignable to parameter of type 'DataTransfer'.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1426
Argument of type 'IEditor' is not assignable to parameter of type 'DataTransfer'.
build: packages/roosterjs-content-model-core/test/corePlugin/copyPaste/CopyPastePluginTest.ts#L1430
Conversion of type '{ items: { type: string; kind: string; }[]; }' to type 'ClipboardData' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
test-on-firefox
The process '/usr/bin/xvfb-run' failed with exit code 1
test-on-chrome
The process '/usr/bin/xvfb-run' failed with exit code 1
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-on-firefox
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-on-firefox
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-on-firefox
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-on-firefox
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-on-chrome
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-on-chrome
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/setup-node@v2, GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test-on-chrome
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-on-chrome
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/