This is the code that I have: assetManager: { uploadFile: (e) => { jQuery.post( ajaxurl, { ...... } ); } } But when I drop the image inside of the drop area, it does not trigger the jQuery post function. can you please help guide me with what I am doing wrong?
Good Day I am trying to add a modal into my html, I was able to add a modal in the blockmanager but i am struggling to find ways to edit the modal content inside the editor. Any help will be appreciatedWARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https:/...
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 am using GrapesJS for newsletters (with the gjs-preset-newsletter plugin) and i have a problem when I import code. I can't edit the boxes of type 'cell' (tds, trs...). I read it is a parameter and try to change it, unsuccessfully. Is there a way to do it without changing the source code?
cody1991
my solution: collect all childNodes, if all childNode is textNode or br element,I think it is not a td, back to a Text Wrapper and the user can edit the content
artf
You should wrap the text in some other tag. If you can't change the content you should probably have to extend the original component Eg. inside isComponent make some kind of change
Shah-ali
I have same issue, Waiting for the answer.... #1257
I would like to store my template data which was edited with grapesjs but am getting an error as core.js:1598 ERROR {code: "app/duplicate-app", message: "Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app).", name: "[DEFAULT]", stack: "[DEFAULT]: Firebase: Firebase App named '[DEFAULT]…iber._ne...
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 @artf. How can I update position of Toolbar and Actionbar as it override the each other and toolbar also hide the highlighter text like Menu Item. I just want to know is there any option for set top, right, left bottom postion for Toolbar and Actionbar. Thanks for help in advance
artf
Check this for the RTE toolbar https://github.com/artf/grapesjs/wiki/Replace-Rich-Text-Editor#toolbar-position For the component toolbar there are no options for the positioning
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 @artf. At the first time before saving the template, When I make one element and clone it, the style is coming in the clonned element. That is running fine. But when I save the template using Ajax and Call the below code:- and then clone the elements, their styling does not applies to the cloned elements. If I comm...
artf
Follow the issue template and provide a live demo
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 having trouble getting a custom block+component to display its template HTML inside the grapes editor. Within the exported HTML, the markup and CSS is generated as expected. Within the editor though, the block doesn't leave behind any sort of UI (though it is dragging in successfully based on the exported html/css...
artf
Well with this this.attributes.template = ... you do nothing to the view so it's just empty. You have to update the model so the view reacts to the change. Eg.
jdodsoncollins
This custom component is an adaptation of https://github.com/artf/grapesjs-blocks-flexbox
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...