mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
Merge pull request #605 from scriptcoded/master
Added node components props to readme
This commit is contained in:
commit
ba11bb93e0
@ -419,7 +419,10 @@ export default class IframeNode extends Node {
|
||||
// `updateAttrs` is a function to update attributes defined in `schema`
|
||||
// `view` is the ProseMirror view instance
|
||||
// `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'],
|
||||
computed: {
|
||||
src: {
|
||||
|
Loading…
Reference in New Issue
Block a user