GrapesJS Issues

3,464 parsed GitHub issues โ€” 370 solved ยท 90 open. Search, filter and explore battle-tested answers.

829 issues found

๐Ÿ” question
#1655December 12, 2018by alfaalex812 answers
1 reactions

[Question] isComponent() is not invoked

I'm trying to make a plugin, but I have a problem with isComponent. My component does not call it whene the editor loading the code, this is the script. Where I'm wrong? index component block

artf

isComponent is used, inside the parser, when you add an HTML string and you don't declare explicitly its type (eg. <div data-gjs-type="my-custom-type">.. tells already the type so isComponent is not necessary). If you pass an object conten...

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.

#1654December 12, 2018by suresh52 answers
0 reactions

In React if we define as component, grapesjs component is not taking that component? Is there a way to achive this ?

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...

artf

@suresh5 open the issue in a proper way, 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.

#1653December 12, 2018by suresh51 answer
0 reactions

Is there any way to store edited template from grapesjs as .html in local folder ?

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.

#1650December 11, 2018by SeongwoonHong2 answers
0 reactions

[Question] How to remove a link from text(remove a link)

using built-in RTE and trying to add a rte custom button that when clicking, it removes current link. Could you provide me with the code please? something like this... rte.add('custom-remove-all', { icon: 'remove', attributes: {title: 'Link', class: 'gjs-rte-action'}, result: rte => rte.insertHTML(${rte.selection()})...

artf

You can use rte.exec('unlink')

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.

#1646December 11, 2018by anandaitwadekar2 answers
0 reactions

[Question] Integrating Grapesjs in the Salesforce Lightning Platform

Hi, We are trying to integrate GrapesJS in the Salesforce Lightning Platform. But it seems we are getting loads of errors. Does anyone have tried adding in the Lightning Platform? Issues are mostly related to Locker Service guidelines. https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security...

artf

For integration questions SO is more valuable

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.

#1645December 11, 2018by afdallah3 answers
1 reactions

[QUESTIONS] Move panel to the left

Hi grapesjs team, I am trying to move BlockManager, StyleManager, TraitManager etc to the left. I have tried to use appendTo but I don't know why the default panel still shows up. Is it to possible to move all things within the right sidebar to the left?. Or append them to the new html element and remove the default o...

artf

Correct, as you see I'm doing the same here: https://grapesjs.com/docs/getting-started.html#start-from-the-canvas

afdallah

Thank you for confirming

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.

#1639December 7, 2018by SeongwoonHong3 answers
0 reactions

[Question]: Would it be possible to have change settings under style manager in a way that it has href when a link is created?

I'm using preset newsletter with built-in RTE (do not want to use ck editor like the demo) In order to make any text to link, i need to click the link button in the RTE and lose the focus and re-click the text again in order to see Settings that has href in it. Is there any way to do it in a way that the moment i clic...

artf

@SeongwoonHong you can do whatever you want by adding your custom action to RTE https://grapesjs.com/docs/api/richtexteditor.html#add

SeongwoonHong

@SeongwoonHong you can do whatever you want by adding your custom action to RTEhttps://grapesjs.com/docs/api/richtexteditor.html#add @artf I can't figure it out.. could you give me a sample code if you don't mind...? Can't figure out how t...

artf

Settings/Traits are for components. When you select the text there are no component, just a text, so probably you have to create your own panel (or Modal) with all the fields

#1637December 7, 2018by suresh51 answer
0 reactions

Need example JSON Response from remote to render template

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.

#1632December 5, 2018by cnaa973 answers
5 reactions

[QUESTION] control table cell (add row, column..)

Hello. I want to dev some of feature to control the table. There are many feature for table the other editor like add columns, rows, set color, reset column width for each cell... I just have a dev plan to implementation on below..add a button on block manager this is a dummy table 3x3. each cell have a text component...

shubhd47

Hey, @cnaa97 No worries I have added the default commands in the toolbar. I got what I wanted. Thanks for helping. Below is the code

artf

The content inside the component definition is for static text (eg. the content is used for editing with Rich Text Editor) so you can't select its element once added, instead you should use components: '<tr data-gjs-type="row" ...'You can...

cnaa97

Thanks for your kindness answer.

#1629December 4, 2018by Brandonwaichunyu3 answers
1 reactions

Grapesjs- When i drag and drop the video into the canvas, i want it to be selected on Component Setting right away

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...

abhi-161994

hi @Brandonwaichunyu Visit this https://github.com/artf/grapesjs/issues/174

Brandonwaichunyu

Grapesjs- When i drag and drop the video into the canvas, i want it to be selected on Component Setting right away? Any codes for it?

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.