import { Schema } from 'prosemirror-model';
import { EditorState } from 'prosemirror-state';
import { Plugin } from 'prosemirror-state';
import convertFromDOMElement from './convertFromDOMElement.js';
export default function convertFromHTML(html, schema, plugins) {
  var root = document.createElement('html');
  root.innerHTML = html ? html : ' ';
  return convertFromDOMElement(root, schema, plugins);
}