@modusoperandi/licit 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,10 +205,6 @@ var LinkTooltipView = /*#__PURE__*/function () {
205
205
  }, {
206
206
  key: "update",
207
207
  value: function update(view, lastState) {
208
- if (view.readOnly) {
209
- this.destroy();
210
- return;
211
- }
212
208
  var state = view.state;
213
209
  var doc = state.doc,
214
210
  selection = state.selection,
@@ -59,11 +59,6 @@ class LinkTooltipView {
59
59
  }
60
60
 
61
61
  update(view: EditorView, lastState: EditorState): void {
62
- if (view.readOnly) {
63
- this.destroy();
64
- return;
65
- }
66
-
67
62
  const { state } = view;
68
63
  const { doc, selection, schema } = state;
69
64
  const markType = schema.marks[MARK_LINK];