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
{{ message }}
Repository navigation
[EuiCodeEditor & EuiCodeBlock] Recommendations and migration guidance #3807
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.
changed the title [-]Update EuiCodeEditor & EuiCodeBlock documentation with some more recommendations/guidance[/-][+][EuiCodeEditor & EuiCodeBlock] Update documentation with some more recommendations/guidance[/+]on Sep 20, 2020
changed the title [-][EuiCodeEditor & EuiCodeBlock] Update documentation with some more recommendations/guidance[/-][+][EuiCodeEditor & EuiCodeBlock] Recommendations and migration guidance[/+]on Jul 27, 2021
Activity
[-]Update EuiCodeEditor & EuiCodeBlock documentation with some more recommendations/guidance[/-][+][EuiCodeEditor & EuiCodeBlock] Update documentation with some more recommendations/guidance[/+][-][EuiCodeEditor & EuiCodeBlock] Update documentation with some more recommendations/guidance[/-][+][EuiCodeEditor & EuiCodeBlock] Recommendations and migration guidance[/+]thompsongl commentedon Nov 15, 2021
#5323 removed EuiCodeEditor and the docs have recommendations in place