Issue #2412Opened November 14, 2019by Ramkumar-Murugesan0 reactions

[bug]: grapesjs-preset-webpage form css is not working in chrome

Question

I installed the grapesjs-preset-webpage using its npm. when I drag and drop the form its CSS is not working.

Selection_022

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)

artfNovember 17, 20190 reactions

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.

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.