Issue #2776Opened May 14, 2020by math-artist3 reactions

[QUESTION] Is it possible to use grapejs for printable documents?

Question

Hello, I have a requirement to create a drag and drop template editor for a desktop application, to generate beautiful reports, and found almost nothing to do that easily. Then I found grapejs, and I am considering using the Qt WebEngine and have grapejs embedded in my application.

I may have a web-based version of my application in 1-2 years, so that could be a better long-term solution.

But I will also need to properly print the documents with headers and footers, and manage height and width more like a "paper" document editor.

Is my idea a bad idea? Is there a better framework for what I am trying to do? I searched and found nothing without having to build everything from scratch.

Answers (3)

Ju99ernautMay 14, 20202 reactions

I think grapesjs would be perfect for your use case. Here #2724 it's probably being used in the same context.

Ju99ernautMay 14, 20201 reactions

For pages that's a matter of creating a page block with height defined. As for variable tags, those can be included in the block as well.

math-artistMay 14, 20200 reactions

Ok, that seems like the right solution to manage a long list or table.

Is there a way to lock the height of the web page and see the layout limit while editing? My plan is to create 3 or 4 pages with the same footer and insert variable tags in the layout to fill those pages dynamically.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.