Skip to content

Commit

Permalink
Add search (crtl+F) in ACE editors (#2140)
Browse files Browse the repository at this point in the history
Crtl+F will now trigger a searchbox to appear.
  • Loading branch information
antgamdia committed Nov 4, 2020
1 parent 532ddf8 commit 7de5c64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dashboard/src/components/AppView/AppValues/AppValues.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import * as React from "react";
import AceEditor from "react-ace";

import "ace-builds/src-noconflict/ext-searchbox";
import "ace-builds/src-noconflict/mode-yaml";
import "ace-builds/src-noconflict/theme-xcode";
import "./AppValues.css";

interface IAppValuesProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from "react";
import AceEditor from "react-ace";

import "ace-builds/src-noconflict/ext-searchbox";
import "ace-builds/src-noconflict/mode-yaml";
import "ace-builds/src-noconflict/theme-xcode";

Expand Down

0 comments on commit 7de5c64

Please sign in to comment.