lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Feature: how to use named slot for pagination header and footer

Open subbuweb opened this issue 5 months ago • 1 comments

Is Named Slots the recommended approach for building a paginated editor?

I'm building a page-based editor where each page has an editable header, body, and footer. The body content automatically flows to the next page when it overflows.

Would modeling each page as:

PageNode ├── header ├── body └── footer

using Named Slots be the recommended architecture, or is there a better pattern for this use case?

subbuweb avatar Jul 01 '26 20:07 subbuweb

Probably, there is an example of paged editing in the playground, but has not been updated for named slots which are a bleeding edge experimental feature. Issues aren’t for questions though, you’re better off asking in discord or discussions.

etrepum avatar Jul 01 '26 20:07 etrepum