Issue #1339Opened August 5, 2018by ryzraz1 reactions

how to load styles in editor ?

Question

hi @artf , I am using grapesjs editor with wordpress. Is there any way to load the wordpress styles in that grapesjs editor ? because am loading wocommerce products in the grapesjs editor and not getting the styles of that wordpress used in the editor for the products. please suggest some way to do it ?

Answers (2)

HakuTheWolfSpiritAugust 7, 20181 reactions
grapesjs.init({
  container: '#gjs',
  plugins: [],
  canvas: {
    scripts: [
    ],
    styles: [
    'http://example.com/wp-content/style.css'
    ]
  }
})

Is this what you were looking for?

lock[bot]September 17, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.