Issue #1803💬 AnsweredOpened February 18, 2019by ageir0 reactions

Fixed size canvas

Quick answerby artf

Have you tried the Device Manager API?This will (sometimes) add scrolling in the canvas in the webpage template of course, but I don't see that as a problem as its more important to know that the design you're working on will look the same on the tv. Probably from the next release will expose an API for zooming (from...

Read full answer below ↓

Question

We're using GrapesJS at work for building a kiosk-system into our CMS. Currently using the webpage template. We are displaying the content on displays/tvs which has a fixed resolution, for example 1920x1080 laying down, or 1080x1920 standing on the side And I've tried to find a way to limit the resolution in the canvas with no luck. We'd like to limit the size of the canvas to the resolution in both x and y to the resolution (and rotation) on the display we're editing for, so that you can see the actual content that will be displayed on the tv. This will (sometimes) add scrolling in the canva...

Answers (3)

artfFebruary 21, 2019

Have you tried the Device Manager API?This will (sometimes) add scrolling in the canvas in the webpage template of course, but I don't see that as a problem as its more important to know that the design you're working on will look the same on the tv. Probably from the next release will expose an AP...

ageirFebruary 21, 2019

Yeah I did, works great if you are editing on a screen that is larger than the intended content. But if you're for example editing for a 4k screen on a full HD screen its a bit problematic. Zooming seems great! Would be great if you can zoom at a pixel level as well as percent. The Device Manager A...

artfFebruary 21, 2019

Yeah I did, works great if you are editing on a screen that is larger than the intended content. But if your for example editing for a 4k screen on a full HD screen its a bit problematic. Zooming seems great! Would be great if you can zoom at a pixel level as well as percent. The zoom will be a val...

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

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.