@codemirror/search
Advanced tools
Comparing version 6.2.2 to 6.2.3
@@ -0,1 +1,7 @@ | ||
## 6.2.3 (2022-11-14) | ||
### Bug fixes | ||
Fix a bug that hid the search dialog's close button when the editor was read-only. | ||
## 6.2.2 (2022-10-18) | ||
@@ -2,0 +8,0 @@ |
@@ -1092,10 +1092,10 @@ import { showPanel, EditorView, getPanel, Decoration, ViewPlugin, runScopeHandlers } from '@codemirror/view'; | ||
button("replace", () => replaceNext(view), [phrase(view, "replace")]), | ||
button("replaceAll", () => replaceAll(view), [phrase(view, "replace all")]), | ||
elt("button", { | ||
name: "close", | ||
onclick: () => closeSearchPanel(view), | ||
"aria-label": phrase(view, "close"), | ||
type: "button" | ||
}, ["×"]) | ||
] | ||
button("replaceAll", () => replaceAll(view), [phrase(view, "replace all")]) | ||
], | ||
elt("button", { | ||
name: "close", | ||
onclick: () => closeSearchPanel(view), | ||
"aria-label": phrase(view, "close"), | ||
type: "button" | ||
}, ["×"]) | ||
]); | ||
@@ -1102,0 +1102,0 @@ } |
{ | ||
"name": "@codemirror/search", | ||
"version": "6.2.2", | ||
"version": "6.2.3", | ||
"description": "Search functionality for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
116686