add selected prop for nodeviews

This commit is contained in:
Philipp Kühn
2019-01-01 20:15:13 +01:00
parent f8b1bd5df7
commit cd1bcc2f08
2 changed files with 30 additions and 4 deletions

View File

@@ -406,6 +406,7 @@ export default class IframeNode extends Node {
// `node` is a Prosemirror Node Object
// `updateAttrs` is a function to update attributes defined in `schema`
// `editable` is the global editor prop whether the content can be edited
// `selected`
props: ['node', 'updateAttrs', 'editable'],
computed: {
src: {