Hi @artf, On the previous issue #1132 about export <body my="attributes"> code, I think it's done using exportWrapper: true. But now experiencing constraints when it will import attributes from <body>, I try to set attributes does not work. I used importWrapper: true. Any solutions? Please help and thank you :) Figure...
shareefhiasat
Hi @agungaja , can you please point the documentation of exportWrapper: true, for some reason i cant find it , i think it may solve me the problem but curious to read its wiki ! Thanks
agungjanuar
yes it is true, I also can not find it. I was only given info by @artf in issue #1132. Or maybe I have a less exploratory documentation π. The point is, why when the content set uses var initcontent = $('#import_html').val(); editor.setCo...
artf
@agungaja there is no importWrapper option and you can't import tag <body>. GrapesJS expect the user to pass the CONTENT... not the WRAPPER (which in most cases is body), the wrapper should be defined by its configuration;
Hi, I've been using grapes for about a couple of days now. Thanks for the awesome work on this project. I've read through the API docs (hopefully didn't miss this piece) and I've also tried some stuff out. Basically, I'm using grapes to load existing .hbs (handlebars) files in that the user will then be able to edit....
kaloyankostov
Just to clarify further as I now feel that my post was longer than it needed to be. I did some more digging and found #978. The issue described there is identical to mine. I basically have a custom component which has several child element...
artf
I see there are some conflicts in few points:Keep the source code of the handlebars templateHave the individual elements of the rendered handlebars template be editable in the grapes editor If you edit stuff you'd expect to get those edits...
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...
I have enable dropzone on assetManager and i think it works correctly. But I also notice that the hovering effect when the image is being dragNdrop is not working. I just see the text on the upper left corner. here is my initiation of the grapesjs. as you can see there is no hovering effect just like what is shown her...
artf
@besingasj the styling of the dropzone is up to you
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.
Similar to #1140 but it is in Firefox 60.0.1 (64-bit) and the Console spits out the following: On Webpage Demo: On Newsletter Demo:Are you using the latest release (older versions are NOT supported)? Don't knowIf you're not sure, type grapesjs.version in console and press ENTERAre you facing the bug with your local co...
blaasvaer
So, there are demos on the frontpage of the site that simply doesn't work without us having to go through hoops and loops. Why don't you simply fix the pages on the website!?
ADTC
Hmmmmmm the problem appears to have gone away after I posted this. I had refreshed several times before and it was still there before. If you think there's nothing to fix, please feel free to close.
babak-karimi-asl
i had the same issue . just install this chrome extension called HTTPS Everywhere . the blank page is because of some security risk of mixture of http and https requests and browsers will load the page but showing nothing . the error is re...
I want to add a div where the user can add his own code to grape.js. So he can edit his pre-made code with grape.js. Any help will be greatly appreciated.
artf
Check this #324
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 have custom component and on trait change wanted to updated html but randomly it returned span/textnode in trait change function insted of html element. Below is html generated by component and on title change want to updated h4 element.linkModel.get("components").at(0) returns "div.programme-description" correctlyl...
artf
Well from what you've posted I can't tell what is happening but definitely, there is nothing generated randomly, just go deeper with the debug. BTW you can solve this easier by using find(query) method:
krunal039
@artf I tried to debug but no luck as it is happening on some pages and not on all pages. also this.find is undefined
Hi @artf, I am getting this issue in gradient plugin "Plugin gjs-style-gradient not found".Used below code to include in our file: editor = grapesjs.init({ plugins: [ 'gjs-style-gradient'], pluginsOpts: { 'gjs-style-gradient': { colorPicker: 'default', grapickOpts: { min: 1, max: 99, } }, Also, i have reference this i...
ssabrewolf
you need to inlude the plugin js , here is working live version https://jsfiddle.net/ssabrewolf/7ur0cwq3/32/
Deepak813
Hi @ssabrewolf, Thanks for the message. I have used the same code but some time i get the same error "Plugin gjs-style-gradient not found" .See the code below: editor.StyleManager.addProperty('Page Settings', { name: 'Gradient', property:...
ssabrewolf
to discard problems in your enviroment simply create a fork ,is one cilck from the above link and use the same code your using to init
I've extended the default image component Then I've got a block where I'm going to use the extended image. The following works fine. However, this block will contain nested HTML (kind of a card) and one of the childs needs to be this custom image component. Using the following the img element is not recognized as my c...
artf
el.tagName === 'IMG'
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 found a problem with droppable propagation. I do an example. I drop "3 columns" inside my template (yellow zone in jsfiddle), now, if i want add an image inside one of the columns, the green selector not appear. If I remove all data-gjs the system works correctly https://jsfiddle.net/7tdkjj6a/
artf
This happens because in the inner box you propagate droppable and when you drop the table its droppable goes to columns BTW use always the latest version
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.