Usage from source failed
Question
I tried to use grapesjs from source by using require('grapesjs/src') to debug both my source and grapesjs. But could not success because of below issues;
- There is some requires like
require('plugin_manager'). These can be passed by webpack config but it is not a nice solution. - '<# VERSION #>' preprocessing should be done by git hooks, not compile time.
- There is no guide about usage from source.
I think this issue is very imported to identify the bugs of grapesjs.
Answers (3)
At DevicesView.js:5 there is underscore usage w/o require: `template: _.template(``
I just notice that you are using ProvidePlugin. That is a solution but these kind of configurative solutions are a limitation to grapesjs users which are using from source.
correct @ateshuseyin I just never configured it to work properly from source, indeed have to move few configurations from webpack to npm. Appreciate your help 👍
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1226
Specifying tooltips
Hi, I've tried finding information about it in both the code as well as existing issues but either I looked for the wrong information or it...
Issue #923
[Question]: Add a select-option to toolbar
I have read the code and only I could find out that there is only a list of ToolbarButton associated with the toolbar. I have a special tra...
Issue #426
After image Upload immediately show in the asset Manager
@ artf I tried my best, but still it doesn't seem to work Can you please help me in this. Once I upload a image I don't want to refresh the...
Issue #1914
[Bug] Change default font size unit to EM instead of REM.
Now in GrapesJS editor, we have some of font sizes in REM. I think they should be in EM unit because if we want to embed editor in the exis...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.