mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 19:29:02 +08:00
Added node components props to readme
This commit is contained in:
parent
fb147d45f3
commit
bbc70f7db6
@ -419,7 +419,10 @@ export default class IframeNode extends Node {
|
|||||||
// `updateAttrs` is a function to update attributes defined in `schema`
|
// `updateAttrs` is a function to update attributes defined in `schema`
|
||||||
// `view` is the ProseMirror view instance
|
// `view` is the ProseMirror view instance
|
||||||
// `options` is an array of your extension options
|
// `options` is an array of your extension options
|
||||||
// `selected`
|
// `selected` is a boolean which is true when selected
|
||||||
|
// `editor` is a reference to the TipTap editor instance
|
||||||
|
// `getPos` is a function to retrieve the start position of the node
|
||||||
|
// `decorations` is an array of decorations around the node
|
||||||
props: ['node', 'updateAttrs', 'view'],
|
props: ['node', 'updateAttrs', 'view'],
|
||||||
computed: {
|
computed: {
|
||||||
src: {
|
src: {
|
||||||
|
Loading…
Reference in New Issue
Block a user