UI: Add searchbox support for all ace editors.
This commit is contained in:
parent
c434383b72
commit
080b0663ca
@ -14,6 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/json';
|
import 'brace/mode/json';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
import beautify from 'js-beautify';
|
import beautify from 'js-beautify';
|
||||||
|
|||||||
@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/java';
|
import 'brace/mode/java';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
|
|
||||||
|
|||||||
@ -17,6 +17,7 @@ import './js-func.scss';
|
|||||||
|
|
||||||
import ace from 'brace';
|
import ace from 'brace';
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import thingsboardToast from '../services/toast';
|
import thingsboardToast from '../services/toast';
|
||||||
import thingsboardUtils from '../common/utils.service';
|
import thingsboardUtils from '../common/utils.service';
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
import './json-content.scss';
|
import './json-content.scss';
|
||||||
|
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/json';
|
import 'brace/mode/json';
|
||||||
import 'brace/mode/text';
|
import 'brace/mode/text';
|
||||||
import 'brace/snippets/json';
|
import 'brace/snippets/json';
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
import './json-object-edit.scss';
|
import './json-object-edit.scss';
|
||||||
|
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/json';
|
import 'brace/mode/json';
|
||||||
import 'brace/snippets/json';
|
import 'brace/snippets/json';
|
||||||
|
|
||||||
|
|||||||
@ -21,6 +21,7 @@ import reactCSS from 'reactcss';
|
|||||||
import AceEditor from 'react-ace';
|
import AceEditor from 'react-ace';
|
||||||
import FlatButton from 'material-ui/FlatButton';
|
import FlatButton from 'material-ui/FlatButton';
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
|
|
||||||
import fixAceEditor from './../ace-editor-fix';
|
import fixAceEditor from './../ace-editor-fix';
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/json';
|
import 'brace/mode/json';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
import beautify from 'js-beautify';
|
import beautify from 'js-beautify';
|
||||||
|
|||||||
@ -15,6 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/java';
|
import 'brace/mode/java';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
import beautify from 'js-beautify';
|
import beautify from 'js-beautify';
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/json';
|
import 'brace/mode/json';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/json';
|
import 'brace/mode/json';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/json';
|
import 'brace/mode/json';
|
||||||
import 'brace/theme/github';
|
import 'brace/theme/github';
|
||||||
|
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
import ace from 'brace';
|
import ace from 'brace';
|
||||||
import 'brace/ext/language_tools';
|
import 'brace/ext/language_tools';
|
||||||
|
import 'brace/ext/searchbox';
|
||||||
import 'brace/mode/javascript';
|
import 'brace/mode/javascript';
|
||||||
import 'brace/mode/html';
|
import 'brace/mode/html';
|
||||||
import 'brace/mode/css';
|
import 'brace/mode/css';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user