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