Css grids have been released in firefox and chrome and it would be a huge benefit if we could use them in Prince.
Forum › Feature requests
Css grids
+1 — I can’t think of a better use case for grid than for generating PDF/print layouts! Adding grid support to Prince would be a game changer.
I think there's a lot of work to be done on how grids fragment, and how to have content flow from one grid cell to another.
Not being familiar with CSS Grid yet, it seems to be an amazingly powerful layout tool.
For us producing print PDF's + Web + ePub out of a single source HTML files, having it available on Prince would be of great help.
Thank you!
+1
For us producing print PDF's + Web + ePub out of a single source HTML files, having it available on Prince would be of great help.
Thank you!
+1
Edited by pablonolla
We've done a lot with flexbox, but we can't claim it's finished yet. See this thread for an idea of what we do support.
Would love grid support. My use case is formatting an image thumbnail gallery. Please consider adding a roadmap or an unsupported css section to the documentation at: <https://www.princexml.com/doc-refs/>
Another +1 from the DocRaptor team. A number of our users have requested CSS Grid support. Thanks!
Try DocRaptor - PrinceXML web service and official PrinceXML partner
We know. It will enable us implement and solve big jobs too, and praise Prince for helping us do so.
+1 100% this. CSS grid has been supported by all browsers for a while now and it's quickly replacing flex.
Yes please! +1.
(The CSS grid spec isn't designed to replace flexbox, they solve two different problems.)
(The CSS grid spec isn't designed to replace flexbox, they solve two different problems.)
Yes we are working on it, but it's a really big job.
We will have more to say when it is ready.
We will have more to say when it is ready.
+1. Just tried to use this today and was bummed to discover it's not supported yet. Thanks for the effort you're putting into this!
+1 – Absolutely want (need) grid support! Would make some forms we're working on --super-- easy to code and layout. Was a little disappointed when a "simple" grid layout like this resulted in "unsupported properties".
What I wanted (in Safari):
What I got (in Preview):
Keep going, mikeday and the team – PrinceXML is still my go-to PDF generator after all these years…
…even if you don't have grid support. Yet. 😊
What I wanted (in Safari):
What I got (in Preview):
Keep going, mikeday and the team – PrinceXML is still my go-to PDF generator after all these years…
…even if you don't have grid support. Yet. 😊
Edited by abitgone
+1 After adding Prince to a project with extensive CSS Grid usage in layouts, this is a real pain point. Hoping to see support in a release soon.
We have now released a latest build that includes our first support for CSS grid layout!
Currently grids will not be fragmented across multiple pages and some other features remain to be implemented, such as baseline alignment. Thank you for your patience; grid layout is a significant undertaking that has required considerable effort and this release is still a work in progress with more to come.
We would be interested to hear feedback from anyone using CSS grid layout with Prince.
Currently grids will not be fragmented across multiple pages and some other features remain to be implemented, such as baseline alignment. Thank you for your patience; grid layout is a significant undertaking that has required considerable effort and this release is still a work in progress with more to come.
We would be interested to hear feedback from anyone using CSS grid layout with Prince.
I can't tell you how excited I am for this! Will get back into my book project to try it out. Bravo!
Thank you very much, Mikeday,
this is a major shift that really opens new possibilities.
I'm looking forward to use it very soon.
All the best.
this is a major shift that really opens new possibilities.
I'm looking forward to use it very soon.
All the best.