Grapesjs-preset-webpage form css is not working in chrome
CSS is not included in this case, if you want you can copy the one you see in the demo here
Read full answer below ↓Question
I installed the grapesjs-preset-webpage using its npm. when I drag and drop the form its CSS is not working.

In the above screenshot. the css is not working exactly that what we have in grapesjs webpage.
my grapesjs code
editor = grapesjs.init({
container: '#gjs',
plugins: ['gjs-preset-webpage'],
pluginsOpts: {
'gjs-preset-webpage': {
// options
}
},
components: '<div class="txt-red">Hello world!</div>',
style: '.txt-red{color: red}',
styleManager: {
clearProperties: 1
}
});
Answers (1)
CSS is not included in this case, if you want you can copy the one you see in the demo here
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2547
Unable to drag an element if style has bottom or right values
Hi @artf , If any component CSS has bottom or right values , not able to drag them. Values are generating as NaN. Attached the screenshot f...
Issue #3333
npm start not working
Hi, I want to develop the source code but I cannot get started. I got errors when start the project. Can anybody help me? Thank you very mu...
Issue #3947
selection box not clickable in editor
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Firefox 94.0.1Reproducible demo link https:/...
Issue #1384
newsletter preset button only view text
hiii, i use latest grapesjs with newsletter preset plugins, but when i drag & drop button control only view text this my code: <script type...
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 →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.