You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EuiCodeEditor is now deprecated and will be removed in a future version of EUI
If you just want to represent a more or less static code snippet (max length around 15 lines) use EuiCodeBlock.
If you need capabilities to edit, or want to print longer code (or potentially don't know how long, because you're printing JSON from APIs), use CodeEditor (within Kibana).
Don't use EuiCodeEditor for new places more, and instead favor implementing a Monaco editor like CodeEditor.
cchaos
changed the title
Update EuiCodeEditor & EuiCodeBlock documentation with some more recommendations/guidance
[EuiCodeEditor & EuiCodeBlock] Update documentation with some more recommendations/guidance
Sep 20, 2020
thompsongl
changed the title
[EuiCodeEditor & EuiCodeBlock] Update documentation with some more recommendations/guidance
[EuiCodeEditor & EuiCodeBlock] Recommendations and migration guidance
Jul 27, 2021
EuiCodeEditor is now deprecated and will be removed in a future version of EUI
Originally posted by @timroes in elastic/kibana#71425
The text was updated successfully, but these errors were encountered: