Skip to content

♻️ Rich Text - Table Plugin - Add mermaid button to unsupported table type#5205

Merged
Jord-Gui merged 2 commits intomainfrom
remove-mermaid-toolbar-button-in-table
Oct 15, 2024
Merged

♻️ Rich Text - Table Plugin - Add mermaid button to unsupported table type#5205
Jord-Gui merged 2 commits intomainfrom
remove-mermaid-toolbar-button-in-table

Conversation

@Jord-Gui
Copy link
Copy Markdown
Contributor

Ensure that the mermaid button doesn't show up in the fixed-toolbar when a user is inside a table.

image
Figure: Mermaid button not shown when user is inside a table

image
Figure: Mermaid button shows up when user is outside a table

@Jord-Gui Jord-Gui requested a review from a team as a code owner October 15, 2024 05:14
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Oct 15, 2024

🦋 Changeset detected

Latest commit: 859c5b7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 15 packages
Name Type
tinacms Patch
next-tinacms-cloudinary Patch
next-tinacms-dos Patch
next-tinacms-s3 Patch
tinacms-authjs Patch
tinacms-clerk Patch
@tinacms/app Patch
@tinacms/cli Patch
@tinacms/vercel-previews Patch
starter-empty Patch
e2e-next Patch
next-2024 Patch
@tinacms/self-hosted-starter Patch
@tinacms/starter Patch
playwright-testing Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Jord-Gui Jord-Gui enabled auto-merge (squash) October 15, 2024 05:18
@@ -59,6 +59,7 @@ export const unsupportedItemsInTable = new Set([
'Unordered List',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should change this at a later stage, I feel its going to be forgotten and someones going to change the label/tooltip of one of the buttons and this will break.

@Jord-Gui Jord-Gui merged commit eb519f2 into main Oct 15, 2024
@Jord-Gui Jord-Gui deleted the remove-mermaid-toolbar-button-in-table branch October 15, 2024 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants