GrapesJS Issues

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

3464 issues found

#1796February 14, 2019by sharma-mohit-eca2 answers
0 reactions

UnLoad Device Manager from gjs-preset-newsletter

I want to use gjs-inlined-html command and for using this I'm adding plugin gjs-preset-newletter. So when I'm adding this plugin, a device Manager automatically gets added to screen, So how to remove it?

artf

editor.Panels.removePanel('devices-c')

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.

#1795February 14, 2019by MisterFK2 answers
0 reactions

Execute a javascript function after adding a block

Hi, I try to create a canvas block and run a javascript which generate ChartJS graph inside. I don't understand how to execute a javascript extern function on a canvas. And how to retrieve the canvas id when is it add? Thanks !

artf

https://grapesjs.com/docs/modules/Components-js.html

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.

#1794February 14, 2019by sharma-mohit-eca1 answer
0 reactions

CSS for Mobile View

css of this code doesn't get applied on mobile view css.txt

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.

#1793February 14, 2019by tranthanhhoa2 answers
0 reactions

[Bug]: Duplicate CKEditor Toolbar

hi @artf , Grapejs version: 0.14.52 Steps reproduce:Access the link: https://grapedrop.comLogin and go to template site.Edit one template.Drag and drop text component first.Continues to drag and drop the 2 columns component under the text component.Click and hold the mouse to move text component to inside the 2 column...

artf

Seems like it happens with the upgrade of CKEditor (4.6.2 -> 4.9.2), BTW @tranthanhhoa I kindly ask you to move this issue to the appropriate repository as it's not related to the core one

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.

#1792February 14, 2019by abozhinov2 answers
0 reactions

[Question] Exclude some components from final html (Multi-level)

Hi, I have a question about how to exclude HTML from editor->getHtml(). My structure is something like that. ParentChild -- Child --- Child I want to save the HTML from the last Child. How to do that?

abozhinov

This is my solution: domc.addType('layout', { model: defaultModel.extend( { defaults: Object.assign( {}, defaultModel.prototype.defaults, { removable: false, draggable: false, droppable: false, badgable: false, stylable: false, highlightab...

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.

#1789February 13, 2019by sunhillbd2 answers
0 reactions

[Question] How to append a plus icon in the column and element section?

Hi @artf . First of all, great work. I have been trying to use grapesjs for a month now. So, I stumbled upon a situation where I need to let the user show the block sidebar when they click on a + icon. This would have given the users a bit more simplicity. Any guideline on how I can achieve this? See the attachment pl...

artf

Hi @sunhillbd I think this is a perfect case when you should use the view in components. The "plus button" is part of the component but only inside the canvas/editor and it shouldn't be exported in the final code https://jsfiddle.net/xcv07...

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.

#1788February 12, 2019by ovesyan191 answer
0 reactions

[QUESTION] How to dynamically add assets from the server after editor initialization?

Hi! Thanks for the work you've done building this cool library! I am using latest angular and stuck with issue when I open image library in editor and there is no collection. Collection will go from the server. When I add some image then I see whole images set that were saved before, but at first time collection is em...

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.

#1787February 11, 2019by ateebahmed3 answers
1 reactions

[Question] Change HTML of Panel buttons from span to button

I have created some Panels and would like to change the element of panel buttons from span to button as its more appropriate and looks better with CSS, how would I configure it?

artf

Right now it's not possible, but I'll add this possibility in the next release, so it'll be something like this:

ateebahmed

That'd be great!

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.

#1786February 11, 2019by Saurabh-Devade1 answer
0 reactions

Not able to add the random id to the custom blocks i am adding

WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...

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.