lexical
lexical copied to clipboard
Feature: how to use named slot for pagination header and footer
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?
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.