* added brace/mode/json import everywhere json mode is being used * added brace mocks to tests * slight refactor of imports * remove import from es ui shared * Reverse adding brace/mode/json import everywhere - different approach of just adding brace/json/mode to es_ui_shared as before with a BIG comment * updated @kbn/ace readme Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
708 B
708 B
@kbn/ace
This package contains the XJSON mode for brace. This is an extension of the brace/mode/json
mode.
This package also contains an import of the entire brace editor which is used for creating the custom XJSON worker.
Note to plugins
This code should not be eagerly loaded.
Make sure imports of this package are behind a lazy-load import()
statement.
Your plugin should already be loading application code this way in the mount
function.
Deprecated
This package is considered deprecated and will be removed in future.
New and existing editor functionality should use Monaco.
Do not add new functionality to this package. Build new functionality for Monaco and use it instead.