@modusoperandi/licit 1.1.1 → 1.1.3
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.
- package/LinkTooltipPlugin.js +0 -4
- package/LinkTooltipPlugin.js.flow +0 -5
- package/bom.xml +1422 -1768
- package/client/Reporter.js +0 -1
- package/client/Reporter.js.flow +0 -2
- package/client/http.js +2 -3
- package/client/http.js.flow +5 -7
- package/convertFromJSON.js +1 -1
- package/convertFromJSON.js.flow +3 -7
- package/package.json +20 -30
- package/ui/CommandMenu.js +1 -1
- package/ui/CommandMenu.js.flow +1 -1
- package/ui/CommandMenuButton.js +1 -1
- package/ui/CommandMenuButton.js.flow +1 -1
- package/ui/LinkTooltip.js +3 -2
- package/ui/LinkTooltip.js.flow +11 -2
- package/ui/ListTypeButton.js +1 -1
- package/ui/ListTypeButton.js.flow +3 -9
- package/ui/czi-editor.css +3 -0
- package/ui/toCSSColor.js +1 -1
- package/ui/toCSSColor.js.flow +1 -1
- package/ui/toHexColor.js +1 -1
- package/ui/toHexColor.js.flow +1 -1
package/LinkTooltipPlugin.js
CHANGED
|
@@ -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];
|