mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-14 22:32:24 +08:00
fix: update missing node view props to match NodeViewProps
type (#6006)
Some checks are pending
build / lint (20) (push) Waiting to run
build / test (20, map[name:Demos/Examples spec:./demos/src/Examples/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Experiments spec:./demos/src/Experiments/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Extensions spec:./demos/src/Extensions/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideContent spec:./demos/src/GuideContent/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideGettingStarted spec:./demos/src/GuideGettingStarted/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Marks spec:./demos/src/Marks/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Nodes spec:./demos/src/Nodes/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Integration spec:./tests/cypress/integration/**/*.spec.{js,ts}]) (push) Waiting to run
build / build (20) (push) Blocked by required conditions
Publish / Release (20) (push) Waiting to run
Some checks are pending
build / lint (20) (push) Waiting to run
build / test (20, map[name:Demos/Examples spec:./demos/src/Examples/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Experiments spec:./demos/src/Experiments/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Extensions spec:./demos/src/Extensions/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideContent spec:./demos/src/GuideContent/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/GuideGettingStarted spec:./demos/src/GuideGettingStarted/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Marks spec:./demos/src/Marks/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Demos/Nodes spec:./demos/src/Nodes/**/*.spec.{js,ts}]) (push) Waiting to run
build / test (20, map[name:Integration spec:./tests/cypress/integration/**/*.spec.{js,ts}]) (push) Waiting to run
build / build (20) (push) Blocked by required conditions
Publish / Release (20) (push) Waiting to run
This commit is contained in:
parent
dac7fd2a0c
commit
9787f8b2a9
5
.changeset/silly-wolves-attack.md
Normal file
5
.changeset/silly-wolves-attack.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tiptap/vue-3": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
update node view props to match `NodeViewProps` type
|
@ -48,6 +48,18 @@ export const nodeViewProps = {
|
|||||||
type: Function as PropType<NodeViewProps['deleteNode']>,
|
type: Function as PropType<NodeViewProps['deleteNode']>,
|
||||||
required: true as const,
|
required: true as const,
|
||||||
},
|
},
|
||||||
|
view: {
|
||||||
|
type: Object as PropType<NodeViewProps['view']>,
|
||||||
|
required: true as const,
|
||||||
|
},
|
||||||
|
innerDecorations: {
|
||||||
|
type: Object as PropType<NodeViewProps['innerDecorations']>,
|
||||||
|
required: true as const,
|
||||||
|
},
|
||||||
|
HTMLAttributes: {
|
||||||
|
type: Object as PropType<NodeViewProps['HTMLAttributes']>,
|
||||||
|
required: true as const,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface VueNodeViewRendererOptions extends NodeViewRendererOptions {
|
export interface VueNodeViewRendererOptions extends NodeViewRendererOptions {
|
||||||
|
Loading…
Reference in New Issue
Block a user