Skip to content

[EuiMarkdownEditor] add a classname to a toolbar #9153

Description

@mbondyra

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: elastic/kibana#240806

Image

Activity

  1. mgadewoll commented on Nov 2, 2025

    @mgadewoll
    Contributor

    💭 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?

  2. added
    request
    on Nov 3, 2025
  3. JasonStoltz commented on Nov 10, 2025

    @JasonStoltz
    Contributor

    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.

  4. added
    help wanted
    on Nov 10, 2025
  5. github-actions commented on Nov 10, 2025

    @github-actions

    👋 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.

  6. ragini-pandey commented on Jan 31, 2026

    @ragini-pandey
    Contributor

    Hi @JasonStoltz,
    I've implemented this feature and opened a PR for it.
    Could you please add me as an assignee to this issue?
    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedrequest

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions