eui icon indicating copy to clipboard operation
eui copied to clipboard

[EuiMarkdownEditor] add a classname to a toolbar

Open mbondyra opened this issue 1 month ago • 3 comments

Problem Statement

In dashboard, we need to sometimes display very small markdown editor. In this case, we want to not display a toolbar. For now we're targetting this element via data-test-subj, but it'd be better to target it via classname. Related PR: https://github.com/elastic/kibana/pull/240806

Image

mbondyra avatar Oct 27 '25 21:10 mbondyra

💭 Instead of hiding the toolbar on consumer side, we could also consider a toggle as part of the component API instead.

@mbondyra Is it relevant for the toolbar to be present in the DOM (hiding via display: none) or could it as well be not rendered instead?

mgadewoll avatar Nov 02 '25 13:11 mgadewoll

Thank you for adding this issue. We've triaged it to determine priority and next steps:

  • New status: Backlog
  • Priority: We are not prioritizing this work.
  • Next steps: We are unlikely to complete this work, but we’d happily review a pull request if you’d like to contribute a PR.

If you believe this should be prioritized differently, please feel free to add more context here (e.g., how it impacts your work, or how broadly it might affect other users). That helps us re-evaluate priorities.

Notes from Triage: We would accept either the addition of a className, or a new prop for this, or both. However, we're unlikely to find the time to prioritize this, though it should be a small change.

JasonStoltz avatar Nov 10 '25 20:11 JasonStoltz

👋 Thank you for your suggestion or request! While the EUI team agrees that it's valid, it's unlikely that we will prioritize this issue on our roadmap. We'll leave the issue open if you or anyone else in the community wants to implement it by contributing to EUI. If not, this issue will auto close in one year.

github-actions[bot] avatar Nov 10 '25 20:11 github-actions[bot]