How to use grapesjs to Ruby on Rails 6 app?
GrapesJS has nothing to do with your back-end stack and seems like you just didn't use the CSS in examples, eg:
Read full answer below βQuestion
I am going to use this in Rails 6 app.
https://grapesjs.com/docs/getting-started.html#import-the-library
I developed under this guide.
But, It is not like a guide.
I think CSS is not working well.
My result
Guide result.

I will appreciate it if you kindly teach me how to use this on Rails 6.
Answers (1)
GrapesJS has nothing to do with your back-end stack and seems like you just didn't use the CSS in examples, eg:
#gjs {
border: 3px solid #444;
}
/* Reset some default styling */
.gjs-cv-canvas {
top: 0;
width: 100%;
height: 100%;
}
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3205
with buttons
https://grapesjs.com/demo.html when i edit the button text to 'test' after reload the result:
Issue #1990
[QUESTIONS] need to call method before remove the html component
Hi, I need to call the method before remove the HTML component. how can I do that calling method like editor.on('block:drag:stop', function...
Issue #2365
Unable load predefined template.
I want to show a predefined template when users open grapesJs something like this: Storage manager. HTML: <div id="gjs" style="height:0px;...
Issue #1837
How to change the label of traits?
I'd like change the labels of triats which are going to be french. Could you give a piece of example code? Thank you Artur
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 βRelated tutorials
In-depth guides on the same topic.
Tutorial
Building an AI-Assisted Document Engine with Next.js, GrapesJS, and the AI SDK
Transform your static template editor into an intelligent, generative design workspace with Vercel AI SDK, AI Elements and Next.js.
Tutorial
Ship to Production Faster: Whatβs New in GrapesJS Shadcn
Supercharge your page builder! GrapesJS Shadcn adds live drag previews, rich text / commands, dynamic data, and canvas presets to ship to prod faster.
Tutorial
How to Build a Production GrapesJS Editor: The Complete Walkthrough of Brief, Preset, Plugins, and Services
A complete walkthrough of building a production GrapesJS editor: how to choose a preset, pick plugins, and scope setup services without burning a sprint.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.