#1369August 16, 2018by alimajed933 answers
Hello everyone, I have added many custom blocks and gave the same css class to all the images in those blocks. Let's call it for now 'image-class'. When I drag and drop 2 of those blocks and select 1 image in 1 of the blocks, the class 'image-class' does not show at first click in the classes section in the panel on t...
artf
Can't reproduce it, just provide a live demo (as I suggest in the issue template) with that block
alimajed93
I will share with you some screen shots that will surely make this problem clearer:Step 1: Drag a drop a block in the canvas and select it by clicking on it <img width="642" alt="screen shot 2018-08-21 at 10 16 29 am" src="https://user-ima...
artf
I understand what is your problem but still, you have to post a live demo because I can't reproduce it. It might depends on many stuff, just screenshots are not enough. I'm not even sure you're using the latest version, so update it please...
#1366August 15, 2018by blairpanek3 answers
On newest version of Grapesjs. I can replicate bug on both. Linux Ubuntoo, Moxilla. I expect that the css only shows up once, otherwise it'll be to much in the window for use when exporting it. Css gets duplicated. Duplication happens with @keyframes styles. So clear canvas drag tabs block onto canvas export import an...
artf
@blairpanek I don't understand how to reproduce the issue, provide a live demo please
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...
yomeshgupta
@artf Great work on the project! However, I noticed that CSS inside media queries are repeating itself. Any idea why? Facing the same issue on my local machine too. Happening on the demo page too : https://grapesjs.com/demo.html
#1364August 14, 2018by thangab3 answers
Hello, I use Grapesjs in my reactJS application. I have a react component which is an instance of Grapesjs. So I can add this component in my application as many times as I want. Everytime I want to fire an event (delete a block) with my keyboard in the grapesjs Editor, it doesn't work. This is the error throwing: But...
artf
Can you provide a reproducible live demo of your case, please? ps. make sure to work with the latest version of grapesjs
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...
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.
#1361August 14, 2018by dsgh1 answer
I'm using the latest release. Steps to reproduce:Configure grapesjs in such a way that the wrapper is not droppable.I have created a fiddle to demonstrate this: https://jsfiddle.net/szLp8h4n/300/ (the idea here is that only the white center area is droppable) Expected behaviour:The green drag placeholder shouldn't be...
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.
#1360August 14, 2018by gregvissing2 answers
I'm trying to embed this into Blackbaud Internet Solutions using a Custom Content Part. Can someone help me figure out how to setup the storageManager so that I can Save and Load the data based on the ID? I'll be creating individual parts using this Custom Content Part so I'll need the ID, HTML, CSS, etc. stored separ...
artf
Hi Greg, for the grapesjs part I think that all you need is here https://grapesjs.com/docs/modules/Storage.html#setup-remote-storage this approach, which allows you custom parameters and headers covers 99% of cases. So, for the rest you ha...
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.
#1357August 12, 2018by ghost3 answers
Version 0.14.25 | Local copy GrapesJS Tested in: Chrome 68, Firefox 61 Add a background image in "Body (Selected #wrapper) -> Decorations -> Background -> Layer # -> Image", save to db, refresh page, load from db, blank background. Same with image or color. Adding background After refresh page and, how can add a backg...
maryia-kabash
As a workaround for body background I use the following actions:save body background to DB separately from components and styles, via editor.DomComponents.getWrapper().attributes.stylewhen template is loaded set the style via editor.DomCom...
artf
I need to know what do you store in DB and how do you load it.
ghost
Hi, this is the code. This is the php code: store for load Thanks.
#1350August 8, 2018by shlomoko2 answers
When using the code: I would expect the panel to appear without any buttons. It does not appear to do so... [update] I switched to: Which when used on 3 buttons, deleted the first and the last, but not the second. [update 2] I have finally added the next functions, as a temp workaround until bug is resolved.. What I a...
artf
editor.Panels.getPanel('options').get('buttons').reset()
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.
#1341August 6, 2018by HakuTheWolfSpirit3 answers
Hello, I have some questions and issues about and with the grapes editorProblem 1 In a component, which class is there extended? Is it really this class?Problem 2 I have created a codesandbox which shows which issues I currently have. It is oriented on the mjml-pluginSandbox Output Sandbox CodeSteps to reproduceDrag t...
artf
Problem 1 It depends (you can extend other types), but that is the base for all the componentsProblem 2 Here you should point out only issues related to the core library and not its pluginsProblem 3 Please read carefully this https://grape...
HakuTheWolfSpirit
Please read carefully this https://grapesjs.com/docs/modules/Components.html Yeah, forgot an important line defaults: { ...defaultModel.prototype.defaults, ...props } Here you should point out only issues related to the core library and no...
adelliinaa
What are the steps of importing a customised component?
#1340August 6, 2018by ashleyCheuk121 answer
Hey All, I'm receiving this bug were i click on a block it will high light it but also put some weird border around the block. After checking the border i also realise it breaks the code so i can't export it either. I expect this is not standard behaviour any suggestions on how to fix this? images below as reference....
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.
#1333August 1, 2018by kripper3 answers
To reproduce: 1) Open https://grapesjs.com/demo.html in incognito mode. 2) Import this code: 3) Clear Canvas 4) Press Import. Result: The code is not cleared. There is thrash from the previous imported code. Expected Result: Code should be clean.
artf
Only class-based selectors are tracked and therefore could be removed, others are left.
kripper
What about id-based selectors? grapesJS is adding them all the time. The problem can also be reproduced with just this code:
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.