Comments (2)
@milapshah15 @artf
I have same issues:
by modifing the script in index.html
var editor = grapesjs.init({
height: '100%',
showOffsets: 1,
noticeOnUnload: 0,
storageManager: { autoload: 0 },
container: '#gjs',
fromElement: true,
plugins: ['gjs-preset-webpage'],
pluginsOpts: {
'gjs-preset-webpage': {}
}
});
editor.Commands.add('testCommand', {
run: function (editor, sender) {
alert("hi");
}
})
editor.Panels.addButton('options', {
id: 'test',
className: 'fa fa-trash',
command: 'testCommand'
})
it will alert twice, could u show me how you fix it? thx.
from preset-webpage.
Closing this as it is invalid issue
Warm regards
Milap
from preset-webpage.
Related Issues (20)
- [Question] Adding Inlined CSS command for grapesjs-preset-webpage HOT 1
- Style Manager- double list of style menu HOT 5
- Color box opens outside the visible page HOT 4
- How to install extensions/plugins? [help]
- Saving Issue HOT 3
- grapesjs-preset-webpage HOT 1
- How to render content
- Unable to choose background colour at demo site HOT 1
- auto select stylemanager causes some problems HOT 1
- This repository can't be built due to core-js HOT 2
- DragMode absolute now working after update to v0.19.5 HOT 2
- Headers are not being added to AssetManager GET requests HOT 1
- Most icons way too big HOT 2
- Cant build the preset HOT 1
- i am not find this source dist/grapesjs-preset-webpage.min.css also js. Can anyone help me please
- How add more blocks HOT 2
- Got Typescript errors when building HOT 3
- Classes on the body get removed by grapesjs HOT 1
- Styles are deleted for all pages when import content
- index.html
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from preset-webpage.