feat: add wysiwyg #24
Closed
Annotations
13 errors and 1 warning
Build
Process completed with exit code 1.
|
Format check
Process completed with exit code 1.
|
Type check:
src/components/Editor2.tsx#L13
Type 'null' is not assignable to type 'JSONContent | undefined'.
|
Type check:
src/components/Editor2.tsx#L17
Argument of type 'JSONContent' is not assignable to parameter of type 'SetStateAction<null>'.
|
Type check:
src/components/plate-ui/draggable.tsx#L113
Property 'dropLine' does not exist on type 'DraggableState'.
|
Type check:
src/components/plate-ui/draggable.tsx#L113
Property 'isHovered' does not exist on type 'DraggableState'.
|
Type check:
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; }'.
|
Type check:
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; }'.
|
Type check:
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; }'.
|
Type check:
src/components/plate-ui/media-embed-element.tsx#L59
Type 'string | undefined' is not assignable to type 'string'.
|
Type check:
src/components/plate-ui/media-embed-element.tsx#L59
'embed' is possibly 'undefined'.
|
Type check
Process completed with exit code 2.
|
Lint
Process completed with exit code 1.
|
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/
|
Loading