From bbc70f7db62fef1662537154963f65fcc61b3abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malcolm=20Nihl=C3=A9n?= Date: Thu, 13 Feb 2020 09:34:33 +0100 Subject: [PATCH] Added node components props to readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 06abf4a09..a088d2fbc 100644 --- a/README.md +++ b/README.md @@ -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: {