Issue #2066Opened June 5, 2019by tsuwunrut-carecloud2 reactions

[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)

bloiggeOctober 1, 20191 reactions

@tsuwunrut-carecloud - did you find a solution for your problem? I am facing something similar.

bharatnadkarniJuly 27, 20201 reactions

@tsuwunrut-carecloud @bloigge @sagarneo11 did any of you find a solution to this?

sagarneo11December 25, 20190 reactions

@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.

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.