Is it possible to use grapejs for printable documents?
I think grapesjs would be perfect for your use case. Here #2724 it's probably being used in the same context.
Read full answer below ↓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)
I think grapesjs would be perfect for your use case. Here #2724 it's probably being used in the same context.
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.
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.
Issue #1472
[QUESTIONS] Custom Code block and JS
Wondering if there is a limitation or is it actually possible to create a block that allows the user of the editor to write custom javascri...
Issue #909
[Question] [Possible issue] events are not fire on canvas drag and drop.
Hello to everybody. The issue is: Events, just are not fire, after dragging on (into) canvas. editor.on('canvas:dragover') editor.on('canva...
Issue #2744
[QUESTION] Disable a block drag&drop
Hello everyone, I would like to make forbidden the drop of one block before another specific one. Context : i've create a new trait for som...
Issue #1960
[QUESTION] Dynamic class generation with a template
Hi there ! I am wondering if there is a way to force the dynamic class generation (of the form cXXXXX which happens when I drag'n'drop a co...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.