"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.StyleView = void 0;
var _prosemirrorView = require("prosemirror-view");
var _prosemirrorState = require("prosemirror-state");
// temp view for custom style have to check this view is needed?

class StyleView {
  constructor(editorView) {
    this.update(editorView, null);
  }
  update(view, lastState) {
    if (view.readOnly) {
      this.destroy();
      return;
    }
  }
  destroy() {}
}
exports.StyleView = StyleView;