Searched refs:canReplaceWith (Results 1 – 4 of 4) sorted by relevance
53 if (!$from.parent.canReplaceWith(index, index, schema.nodes.diagrams)) {
186 if ($from.parent.canReplaceWith(index, index, pluginNode.type)) {
218 if ($from.parent.canReplaceWith(index, index, pluginNode.type)) {
1 …canReplaceWith=function(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;var o=this.contentMatchA… method in T