From 4a2abc28fdae6e84881d2385838a00460141dd83 Mon Sep 17 00:00:00 2001 From: Gustavo Arnosti Neves Date: Tue, 10 Mar 2020 15:49:24 -0300 Subject: Fix for Searchbox (CTRL + F) Fix for Searchbox (CTRL + F), adds brace require call for enabling the search box. Signed-off-by: Gustavo Arnosti Neves --- js/editor.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js') diff --git a/js/editor.js b/js/editor.js index 59b6073..7d1a430 100644 --- a/js/editor.js +++ b/js/editor.js @@ -190,6 +190,7 @@ export const Texteditor = { this.file.dir = context.dir; this.fileList = context.fileList; importAce().then((_ace) => { + require('brace/ext/searchbox'); ace = _ace; this.loadEditor( Texteditor.$container, -- cgit v1.2.3