Code editor Support
And an option we can disable the style manager, since in the real world end user if not a technical guy , he will not understand css style and the style is too complicated, and for the frontend developer, without a code editor, it is too hard to work, if you want a real and good designed responsive page, these inline...
Read full answer below ↓Question
I am wondering is it possible to have a code editor in GrapesJs, if will be much better for frontend developer. And if it support sysn scroll will be better, e.g. when you right click the element, the code will auto scroll and hightlight the code block related to the element.
Answers (3)
And an option we can disable the style manager, since in the real world end user if not a technical guy , he will not understand css style and the style is too complicated, and for the frontend developer, without a code editor, it is too hard to work, if you want a real and good designed responsive page, these inline style will cause a lot of problems. There are a lot of good enough frame to avoid using any inline style e.g. tailwindcss.
Further more, I just want to set some rule in particular level of tag it will be selectable and visually editable, but beyond the rule the visual won't change it, alternately we can just select it in the code editor and directly edit by row code. E.g. only the root .page under body can be drag to sort and droppable.
This might be a good candidate for a plugin https://grapesjs.com/docs/modules/Plugins.html
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 #3558
FEAT: Support Content-Security-Policy
To reduce the possible attack surface if the editor is used in "hostile" environments (e.g. in SaaS platforms) support for CSP is required....
Issue #3604
editor.on('component:update:content', model => { }}) not work in some cause
if the user remove all text from a element and click some where else . then again try to select empty element he is not able to select it a...
Issue #3364
FEAT: @How to fix container size when we are drag element inside the container,Container will be expended according to the child dragged element. How we can auto size child element according to the parent container. Container should not be expend according to the child element. It's should be show scroll.
WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
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
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.
Tutorial
GrapesJS Inline RTE Plugins Update: CKEditor 5 v0.1.4 and Froala Inline Text Editor
CKEditor 5 Inline for GrapesJS v0.1.4 fixes Studio SDK toolbar clipping, iframe injection and link balloon bugs. Compare with Froala Inline — both $69.
Tutorial
Embed GrapesJS in Your SaaS: A Weekend Guide
Embed GrapesJS in your SaaS and ship a white-label page builder over a weekend. Honest tradeoffs, real code, and the plugins that close the UX gap.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.