Added node components props to readme

This commit is contained in:
Malcolm Nihlén 2020-02-13 09:34:33 +01:00
parent fb147d45f3
commit bbc70f7db6

View File

@ -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: {