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
@lalitkumawat1m In general, you don't need to worry about getting issues assigned to you before working on them. Unless there's a bounty, the chances of multiple people working on them at the same time are quite slim.
Feshchenko
changed the title
Bad ToolbarButton typeing
Bad ToolbarButton typing
Nov 29, 2023
Description
Hey @zbeyens thanks for you hard work.
The generated ToolbarButton has bad typing.
After toolbar generation, you will have a dustructured
value
in thehttps://github.com/udecode/plate/blob/main/templates/plate-playground-template/src/components/plate-ui/toolbar.tsx#L91
If your eslint rule
no-unused-vars
is set toerror
you will get an error.If you delete this value then you will get the type
string | number | string[]
herehttps://github.com/udecode/plate/blob/main/templates/plate-playground-template/src/components/plate-ui/toolbar.tsx#L120
But, ToolbarToggleItem expects
string
🤷♂️Steps to Reproduce
Environment
Bounty
Click here to add a bounty via Algora.
Funding
The text was updated successfully, but these errors were encountered: