editor: add scroll margin & threshold props #1909
Annotations
9 errors and 1 warning
Build
Type '(this: { name: string; options: AttachmentOptions; storage: any; editor: Editor; type: NodeType; parent: ((this: ...) => NodeViewRenderer) | null | undefined; }) => ({ node, getPos, editor }: NodeViewRendererProps) => ReactNodeView<...>' is not assignable to type '(this: { name: string; options: AttachmentOptions; storage: any; editor: Editor; type: NodeType; parent: ... | null | undefined; }) => NodeViewRenderer'.
|
Build
Type '(this: { name: string; options: CodeBlockOptions; storage: any; editor: Editor; type: NodeType; parent: ((this: ...) => NodeViewRenderer) | null | undefined; }) => ({ node, getPos, editor }: NodeViewRendererProps) => ReactNodeView<...>' is not assignable to type '(this: { name: string; options: CodeBlockOptions; storage: any; editor: Editor; type: NodeType; parent: ... | null | undefined; }) => NodeViewRenderer'.
|
Build
Type '(this: { name: string; options: EmbedOptions; storage: any; editor: Editor; type: NodeType; parent: ((this: ...) => NodeViewRenderer) | null | undefined; }) => ({ node, getPos, editor }: NodeViewRendererProps) => ReactNodeView<...>' is not assignable to type '(this: { name: string; options: EmbedOptions; storage: any; editor: Editor; type: NodeType; parent: ... | null | undefined; }) => NodeViewRenderer'.
|
Build
Type '(this: { name: string; options: ImageOptions; storage: any; editor: Editor; type: NodeType; parent: ((this: ...) => NodeViewRenderer) | null | undefined; }) => ({ node, getPos, editor }: NodeViewRendererProps) => ReactNodeView<...>' is not assignable to type '(this: { name: string; options: ImageOptions; storage: any; editor: Editor; type: NodeType; parent: ... | null | undefined; }) => NodeViewRenderer'.
|
Build
Property 'ignoreMutation' in type 'ReactNodeView<P>' is not assignable to the same property in base type 'NodeView'.
|
Build
Class 'TableNode' incorrectly implements interface 'NodeView'.
|
Build
Type '(this: { name: string; options: TaskItemOptions; storage: any; editor: Editor; type: NodeType; parent: ((this: ...) => NodeViewRenderer) | null | undefined; }) => ({ node, getPos, editor }: NodeViewRendererProps) => ReactNodeView<...>' is not assignable to type '(this: { name: string; options: TaskItemOptions; storage: any; editor: Editor; type: NodeType; parent: ... | null | undefined; }) => NodeViewRenderer'.
|
Build
Type '(this: { name: string; options: TaskListOptions; storage: any; editor: Editor; type: NodeType; parent: ((this: ...) => NodeViewRenderer) | null | undefined; }) => ({ node, getPos, editor }: NodeViewRendererProps) => ReactNodeView<...>' is not assignable to type '(this: { name: string; options: TaskListOptions; storage: any; editor: Editor; type: NodeType; parent: ... | null | undefined; }) => NodeViewRenderer'.
|
Build
Type '(this: { name: string; options: WebClipOptions; storage: any; editor: Editor; type: NodeType; parent: ((this: ...) => NodeViewRenderer) | null | undefined; }) => ({ node, getPos, editor }: NodeViewRendererProps) => ReactNodeView<...>' is not assignable to type '(this: { name: string; options: WebClipOptions; storage: any; editor: Editor; type: NodeType; parent: ... | null | undefined; }) => NodeViewRenderer'.
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|