GrapesJS Issues

Search parsed GitHub issues, see highlighted answers, and open the original discussion when needed.

3464 issues found

#623December 8, 2017by krunal0392 answers
1 reactions

Invalid target position: Target collection not found, Target is not droppable, accepts [undefined], Component not draggable, acceptable by [undefined] move @ grapes.min.js:2 endMove @ grapes.min.js:2

I cannot drop items to editor and have below issue. Invalid target position: Target collection not found, Target is not droppable, accepts [undefined], Component not draggable, acceptable by [undefined] move @ grapes.min.js:2 endMove @ grapes.min.js:2

krunal039

was css issue and manage to resolve by width 100%

lock[bot]

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.

#622December 8, 2017by HarshOB3 answers
0 reactions

Image editor is not closed.

When I choose image component and don't choose an image for the first time then if I open image editor then It won't close after clicking on a close button.

artf

@HarshOB I can't reproduce it (with the current demo). Are you able to provide a live demo?

HarshOB

I'll provide a link to a live demo.

artf

Ok I close this for now but will reopen once you provide a demo

#621December 8, 2017by vishal50332 answers
0 reactions

Second toolbar with different button and at different position

Hello , I want to add new toolbar similar to the toolbar which is shown when any object in canvas is selected( with copy,delete, move functionality) but it needs to be displayed at different position with different set of buttons. Can you please help me? Thanks

artf

@vishal5033 Let's keep "Free Consultancy Requests" out of the issue tracker, thanks

lock[bot]

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.

#620December 7, 2017by xeux3 answers
0 reactions

Remote Storage

I'm trying to use the remote storage but no success, with the resolved issues I manage to adjust eveything as it best, but editor do not render loaded HTML. GrapesJS: JSON: {"gjs-css":"", "gjs-html":"<div>HELLO</div>", "gjs-assets":"[]", "gjs-styles":"[]", "gjs-components":"[]"} Load event: GrapesJS seems to be loadin...

DeathStapler

I had similar problems. Look at the issue I created. Issue #597. My issue related to the use of contentTypeJson: true, but you already have that in yours.

artf

GrapesJS seems to be loading okay, I put the editor.render() after the init and also inside the load event to try out. You should use editor.render() only with autorender: 0, so remove it

xeux

@DeathStapler thanks, I was able to load the urlLoad with that setting. @artf still not able to render the editor, the console shows the loaded urlLoad but nothing on editor, also in the view source button. I'm using the latest version.

#619December 7, 2017by MuTaToR082 answers
0 reactions

declaration файл для typescript

Пишу declaration файл для этой библиотеке. Можете проверить правильность api?

artf

@MuTaToR08 open issues only in English, please

lock[bot]

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.

#618December 7, 2017by mediaboost1 answer
0 reactions

2 questions on dragging elements ... please

1 - How to disable the dragging of a specific item ? OK ... data-gjs-droppable="false" 2 - How to disable the dragging ON a specific ROW for exemple, the possibility only to drag element on div container ID data-gjs-draggable="false"

lock[bot]

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.

#617December 7, 2017by michaellwatson2 answers
0 reactions

No Wrapper

Is it possible to add elements to the canvas that don't have the automatic wrapper added? There is always a parent div added to the "content" is there anyway to have only the content added to the canvas without the wrapper? When this gets dragged to the canvas, it will become Is there anyway to keep it just <div>abc</...

artf

@michaellwatson blocks shouldn't be wrapped (just tested it in the demo), indeed if you drop an image block you just get an img

lock[bot]

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.

#616December 7, 2017by ryandeba3 answers
0 reactions

Expose spectrum color picker options

Hi @artf, I'm wanting to customize some options for the spectrum color picker (specifically the palette). I've searched through the code and am not seeing how this is currently possible. This is what I'd like to do: Is something like this already possible and I missed it? If not, would you consider merging a pull requ...

artf

Is something like this already possible and I missed it? If not, would you consider merging a pull request that adds this functionality? Unfortunately, not yet possible but I'll definitely accept a PR (ok for the option colorPicker) The sp...

ryandeba

Thanks @artf! Do you have any general thoughts on how to best make this change? I've reviewed the code and am not seeing an easy way to accomplish this, and I'd like to avoid spending time going down the wrong path. Here's a summary of wha...

artf

Honestly, I was thinking about a less invasive approachNone of those objects appear to currently have any reference to the editor object Actually, PropertyColorView injectsEditorModel (which I commonly reference as em) as an option via tar...

#615December 6, 2017by ajaysofto2 answers
0 reactions

Apply style to child classes

How we can add style to child classes of editorform? var forminputClass = cssComposer.add([editorform, forminput]); Above code will apply css to div that have both of these classes like .editorform.forminput What we have to do to define space between these class to make editorform as a parent?

artf

@ajaysofto GrapesJS is a class-based style editor so if you import that kind of selector you will not be able to select it in Style Manager, so I recommend to assign specific classes to your elements

lock[bot]

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.

#614December 6, 2017by nestor91sanchez2 answers
0 reactions

how customizate assets modal?

how can add search field in assets modal?, where i can search images by keyword on a third party api and select images from results.

artf

Start with checking https://github.com/artf/grapesjs-plugin-filestack/blob/master/src/index.js#L50 there you will find how to customize assets modal. Once you got the result from a third party API make use of Assets API

lock[bot]

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.