sneak peak of Puck's dedicated new plugin ui 👀
sneak peak of Puck's dedicated new plugin ui 👀
Say you have a long list of components and need to filter them. Puck doesn't come with search, but it's easy to add one using the "components" override.
Say you have a long list of components and need to filter them. Puck doesn't come with search, but it's easy to add one using the "components" override.
This enables you to customise the behaviour of resolveData based on the context, like avoiding expensive async calls.
Neat!
Docs: puckeditor.com/docs/api-ref...
This enables you to customise the behaviour of resolveData based on the context, like avoiding expensive async calls.
Neat!
Docs: puckeditor.com/docs/api-ref...
For example, specifying `delete: false` will prevent the user from deleting components.
You can do this globally, per-component, or dynamically based on current props.
Docs: puckeditor.com/docs/integra...
For example, specifying `delete: false` will prevent the user from deleting components.
You can do this globally, per-component, or dynamically based on current props.
Docs: puckeditor.com/docs/integra...
The demo "template" component combines:
- a slot field for the content
- a custom field to select/save the slot data
- the resolveData API to load the slot data
Slot docs: puckeditor.com/docs/api-ref...
The demo "template" component combines:
- a slot field for the content
- a custom field to select/save the slot data
- the resolveData API to load the slot data
Slot docs: puckeditor.com/docs/api-ref...
Combine this with the <ActionBar> component to extend the interface with custom actions and other behaviours.
Combine this with the <ActionBar> component to extend the interface with custom actions and other behaviours.
It lets you access the internal Puck API without triggering a re-render. Great for performance!
It lets you access the internal Puck API without triggering a re-render. Great for performance!
Notice how the grid fields are removed from the layout section when moving the card.
You can achieve this using the "parent" param provided to the resolveFields API.
Docs: puckeditor.com/docs/api-ref...
Notice how the grid fields are removed from the layout section when moving the card.
You can achieve this using the "parent" param provided to the resolveFields API.
Docs: puckeditor.com/docs/api-ref...
Now approaching 7k, I'm on a mission to hit 10k!
I can’t do this alone. If you love Puck please:
Upvote on HN: news.ycombinator.com/item?id=4411...
Star the repo: github.com/puckeditor/p...
Thank you! 🙏
Now approaching 7k, I'm on a mission to hit 10k!
I can’t do this alone. If you love Puck please:
Upvote on HN: news.ycombinator.com/item?id=4411...
Star the repo: github.com/puckeditor/p...
Thank you! 🙏
Selectors also coming soon to `usePuck`, so your own Puck components can remain performant, too!
Selectors also coming soon to `usePuck`, so your own Puck components can remain performant, too!
react.statuscode.com/issues/411
react.statuscode.com/issues/411
Got my in-person ticket for @nextjs.org conf!
Hit me up if you want to talk @puckeditor.com ✌️
Got my in-person ticket for @nextjs.org conf!
Hit me up if you want to talk @puckeditor.com ✌️
Red lines show possible candidates. Green lines show mostly likely candidates.
It chooses a candidate based on midpoint and direction.
This is an inline CSS grid example. All completely inline - no wrapping elements.
Red lines show possible candidates. Green lines show mostly likely candidates.
It chooses a candidate based on midpoint and direction.
This is an inline CSS grid example. All completely inline - no wrapping elements.