Sakshi Garg

Results comments of Sakshi Garg

> i think this is the code you are looking for > > ``` > const domc = editor.DomComponents; > const defaultType = domc.getType('default'); > const defaultModel = defaultType.model; >...

> so this is how you can start, > > the blue panel menu is the component toolbar > > it is being initialized in the `src/grapesjs/dom_components/model/Component.js:189` > > the...

> `enableEditing` is attached to to the view and you can get its instance from the model, so select the component and run this in console `editor.getSelected().view.enableEditing()` How do i...

> Hi @HarshOB, > > It is simple as image does https://github.com/artf/grapesjs/blob/dev/src/dom_components/model/ComponentImage.js#L32 Can you please guide me on how this can be incorporated in a grapesjs-preset-webpage, I am unable to...

@thecodefish How do you change initial state of the Resizer properties? Where does this config go if I'm using the grapesjs-preset-webpage, simply under grapesjs.init{...}? I want to fix a minimum...

@artf where do i change the css? I'm using the grapesjs-preset-webpage

> Sure, you can make use of `data-gjs-*` attributes (eg. `data-gjs-draggable="ul"`) > Check the last example code here https://github.com/artf/grapesjs/wiki/Blocks Is it possible to specify a div class name or id...

> If you're using webpack to build your React app, you can include it as a plugin. It'll pull it from node_modules. > `plugins: [ new webpack.ProvidePlugin({ grapesjs: "grapesjs" })...

@YashPrince how did you get the id of the dragged component and where it was dropped

@YashPrince Hi, were you able to solve this? I need a similar implementation