mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
chore(code/find): reimplement replace all
This commit is contained in:
@@ -198,6 +198,10 @@ export default class CodeMirror extends EditorView {
|
||||
this.searchPlugin?.replaceActiveMatch(replaceText);
|
||||
}
|
||||
|
||||
async replaceAll(replaceText: string) {
|
||||
this.searchPlugin?.replaceAll(replaceText);
|
||||
}
|
||||
|
||||
cleanSearch() {
|
||||
if (this.searchPlugin) {
|
||||
this.dispatch({
|
||||
|
||||
Reference in New Issue
Block a user