Skip to content

feat: add wysiwyg

feat: add wysiwyg #49

Triggered via pull request October 7, 2024 10:59
@Rei-xRei-x
synchronize #24
wysiwyg
Status Failure
Total duration 1m 23s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
lint
Process completed with exit code 1.
lint
Process completed with exit code 1.
lint: src/components/Editor2.tsx#L13
Type 'null' is not assignable to type 'JSONContent | undefined'.
lint: src/components/Editor2.tsx#L17
Argument of type 'JSONContent' is not assignable to parameter of type 'SetStateAction<null>'.
lint: src/components/plate-ui/draggable.tsx#L113
Property 'dropLine' does not exist on type 'DraggableState'.
lint: src/components/plate-ui/draggable.tsx#L113
Property 'isHovered' does not exist on type 'DraggableState'.
lint: src/components/plate-ui/draggable.tsx#L115
Property 'droplineProps' does not exist on type '{ previewRef: RefObject<HTMLDivElement>; handleRef: (elementOrNode: Element | ReactElement<any, string | JSXElementConstructor<any>> | RefObject<...> | null) => void; }'.
lint: src/components/plate-ui/draggable.tsx#L116
Property 'groupProps' does not exist on type '{ previewRef: RefObject<HTMLDivElement>; handleRef: (elementOrNode: Element | ReactElement<any, string | JSXElementConstructor<any>> | RefObject<...> | null) => void; }'.
lint: src/components/plate-ui/draggable.tsx#L117
Property 'gutterLeftProps' does not exist on type '{ previewRef: RefObject<HTMLDivElement>; handleRef: (elementOrNode: Element | ReactElement<any, string | JSXElementConstructor<any>> | RefObject<...> | null) => void; }'.
lint: src/components/plate-ui/media-embed-element.tsx#L59
Type 'string | undefined' is not assignable to type 'string'.
lint: src/components/plate-ui/media-embed-element.tsx#L59
'embed' is possibly 'undefined'.
lint
Process completed with exit code 2.
lint
Process completed with exit code 1.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/