Setting draggable in the schema seem to make no difference. Node is still draggable. Any idea why ? The schema looks like this.
https://prosemirror.net/docs/ref/#model.NodeSpec
paragraph: {
draggable: false,
content: "inline*",
group: "block",
attrs: {
className: {
default: ''
}
},
parseDOM: [{
tag: "p",
getAttrs: dom => {
let attrs = {};
// class
if(dom.className){
attrs.className = dom.className;
}
return attrs;
}
}],
toDOM(node) {
let attrs = {};
if(node.attrs.className !== ''){
attrs.class = node.attrs.className;
}
return ["p", attrs, 0];
}
},
The problem can be seen if you install the code from here.