Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code blocks in Text Dashboard blocks break editing the block #26285

Open
darkopia opened this issue Nov 19, 2024 · 0 comments · May be fixed by #26413
Open

Code blocks in Text Dashboard blocks break editing the block #26285

darkopia opened this issue Nov 19, 2024 · 0 comments · May be fixed by #26413
Labels
bug Something isn't working right feature/dashboards Feature Tag: Dashboards

Comments

@darkopia
Copy link

Bug Description

Bug description

Please describe.
If text appears as a code block in the text element on a dashboard the lemon code block copy is on top of the 3 dot menu so that element can no longer be edited or deleted.
Example dashboard: https://us.posthog.com/project/35787/dashboard/265770

image

How to reproduce

  1. Add text block with code block formatting
  2. Try and edit text block after creation
  3. See copy button blocks menu

Additional context

Debug info

- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables or https://eu.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
@darkopia darkopia added bug Something isn't working right feature/dashboards Feature Tag: Dashboards labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right feature/dashboards Feature Tag: Dashboards
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant