#1264July 7, 2018by JPPreusDev2 answers
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?
artf
https://github.com/artf/grapesjs/wiki/Assets#uploading-assets
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.
#1263July 6, 2018by zimnerd1 answer
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.
#1262July 5, 2018by algodata443 answers
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
#1261July 5, 2018by ionic6662 answers
hi ,in your demo,i can scale the width for cell. but In the downloaded code, I can't do it
artf
try to drag also the other cell, it's just about the initial width
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.
#1260July 5, 2018by artrepubliq1 answer
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.
#1259July 4, 2018by YashPrince2 answers
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.
#1258July 4, 2018by YashPrince2 answers
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.
#1257July 4, 2018by Shah-ali2 answers
td Tags are not editable Ex: is that possible with grapesjs?
artf
td Tags are not editable Correct, you have to wrap the text inside some other tag
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.
#1256July 4, 2018by tomichal2 answers
Links are not clickable in a preview mode. Should they be - so that the user can fully utilise the preview mode?
artf
IMHO its ok, but if you don't like this behavior you can create your own preview command
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.
#1255July 3, 2018by jdodsoncollins3 answers
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...