Skip to content
Discussion options

You must be logged in to vote

The layout plugin in the Playground is just an example, not production-ready. You can base your implementation off it. You can set the CSS applied to the layout item to have a fixed height, for the jump over logic, you will need to change the plugin doing some kind of a tracking varible keeping track of if you've reached the paragraph end and move the selection to the next box. An example would be to keep track of the box height from the DOM, the moment the height is > 300px to move selection. Overly simplistic example, but that's the premise. Worth looking into Node Transforms as well in the docs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@luudv
Comment options

Answer selected by luudv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants