[QUESTION] Page Limit
Question
I'm currently using GrapesJS as a Letter/Form Composer, and it's been working wonderfully so far. However I'm just finishing up the last few requirements
-
I'm scaling the canvas to the size of an A4 piece of paper so that when it prints, everything is consistent with the form they've built. However, I'm unsure whether or not there's a way of limiting my user from creating new lines once they've reached the "end" of the page. I have a height on both my editor, and my canvas. Yet this still does not prevent the user from hitting "enter" repeatedly to make the paper grow.
-
^ If there is no way to limit a user from expanding the document, would it be possible replicate a behavior similar to a word document, meaning instead of expanding the document past its set height, the editor would create a new "page" or "paper"
Answers (3)
@tsuwunrut-carecloud - did you find a solution for your problem? I am facing something similar.
@tsuwunrut-carecloud @bloigge @sagarneo11 did any of you find a solution to this?
@tsuwunrut-carecloud, Can you please let us know if you find solution on above mentioned function?, would love to have same function in my app it would be really helpful if you could suggest.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3247
Question : Traits
Hi @artf - what you've built is magnificent. It's been a gentle struggle as I'm far from being a JS wizard. However, I've got just about ev...
Issue #1966
[QUESTION] Loop over all components
Hi all, I want to create a socket for every button that I add to the canvas. This is working just fine. However, when I reload (using stora...
Issue #2017
QUESTION: Pressing Backspace or Delete key in traits panel removes element from canvas
I'm using grapesJS within a Polymer 3.x Element and everything is working beautifully, awesome project. However, I'm experiencing an issue:...
Issue #3337
Question: Use arrow keys to move blocks in canvas configured in absolute positioning mode
Hi, I am building a solution for students to tell their high school experiences as slides built from grapejs editor (similar to canva), and...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.