Skip to content
Snippets Groups Projects
Commit d4da35d9 authored by chris's avatar chris
Browse files

abstract node view

parent 04c6ce5f
No related branches found
No related tags found
1 merge request!289Pm node views portals
......@@ -3,14 +3,7 @@ import { v4 as uuidv4 } from 'uuid';
export default class AbstractNodeView {
constructor(node, view, getPos, decorations, createPortal, Component) {
this.dom = document.createElement('div');
// this.dom.setAttribute('contenteditable', true);
<<<<<<< HEAD
const testDiv = document.createElement('div');
testDiv.setAttribute('id', 'test');
this.dom.append(testDiv);
=======
>>>>>>> fix
this.dom.id = uuidv4();
this.dom.classList.add('portal');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment