From 983b56a5f2b066be17ee2fc2ab0d117fc710803c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 5 Mar 2021 10:18:44 +0100 Subject: [PATCH] add NodeViewWrapper and NodeViewContent to vue-2 --- docs/src/demos/Examples/Drawing/Component.vue | 5 + .../Guide/NodeViews/DragHandle/Component.vue | 11 ++ .../NodeViews/TableOfContents/Component.vue | 6 ++ docs/src/docPages/guide/node-views.md | 20 +++- packages/vue-2/src/NodeViewContent.ts | 27 +++++ packages/vue-2/src/NodeViewWrapper.ts | 30 ++++++ packages/vue-2/src/VueNodeViewRenderer.ts | 100 +++++------------- packages/vue-2/src/index.ts | 2 + packages/vue-3/src/NodeViewContent.ts | 4 +- packages/vue-3/src/VueNodeViewRenderer.ts | 2 +- 10 files changed, 127 insertions(+), 80 deletions(-) create mode 100644 packages/vue-2/src/NodeViewContent.ts create mode 100644 packages/vue-2/src/NodeViewWrapper.ts diff --git a/docs/src/demos/Examples/Drawing/Component.vue b/docs/src/demos/Examples/Drawing/Component.vue index 387e80ed3..47c3768ea 100644 --- a/docs/src/demos/Examples/Drawing/Component.vue +++ b/docs/src/demos/Examples/Drawing/Component.vue @@ -26,6 +26,7 @@ +