GrapesJS Issues

Search parsed GitHub issues, see highlighted answers, and open the original discussion when needed.

1180 issues found

#2109July 1, 2019by inventorbit3 answers
1 reactions

[BUG] Tailwind flex classes are not working

Thanks for providing the amazing framework and making it opensource. I'm looking to use Tailwind with GrapesJS, unfortunately grapesjs replaces "/" with "-" in the selector. Is it possible to override this? When I try to drag and drop responsive columns in canvas It replaces them to: How can I fix this issue? Please h...

artf

#1703 waiting for a help 😬

gavinhewitt

Thanks for providing the amazing framework and making it opensource. I'm looking to use Tailwind with GrapesJS, unfortunately grapesjs replaces "/" with "-" in the selector. Is it possible to override this?When I try to drag and drop respo...

chrisreedtech

What's your progress on making grapes work with Tailwind @inventorbit? Would love to see! @artf , I'm also curious if there is any progress on this or an available work around? Thanks for your time developing grapes!

#2107June 29, 2019by alikabeer321 answer
0 reactions

[BUG] Background image and gradient not working together

Since I started using the gradient plugin, the background image are in the following form: background-image: -webkit-linear-gradient(path/to/image.png); What should I do?

artf

There is already an issue opened regarding the gradient plugin #2068

#2105June 28, 2019by wldyslw1 answer
0 reactions

[BUG] Incorrect border radius controls

Changing border-bottom-left-radius prop changes bottom right radius, and vise versa. Reproducing: Go to https://jsfiddle.net/szLp8h4nAdd, for instance, any imageTry to change border-bottom-left-radius prop in Decorations section Playing around config didn't help much, the best one fixes naming problem but reorder cont...

artf

Correct, the current default order is wrong but as the composite type follows the CSS order of the border-radius property the result will be exactly like the one achieved by you. In case you need to change the ordering of composite propert...

#2092June 22, 2019by paulwright752 answers
0 reactions

Is it me or is this a bug

Hi, so I am using version 0.14.62 and I have a problem with the TraitManager. I have defined two custom traits like so: The problem is that when I change the value for bindingSrc an event is fired for both bindingSrc and ctrlLabel. The end result is that the label is set to empty. I am completely new to gitHub. Please...

artf

Hi @paulwright75 can you create a reproducible 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...

#2075June 12, 2019by webdeveloper04293 answers
1 reactions

[bug] style manager slider min value bug

when I set slider to 0 (min value) the slider return -1 value and this style property is ingored completely since it is not valid css. for example I found the code why this happens only min value. in the style manager slider view code when slider value not min value, this works well. but if value is set to minimum(for...

arthuralmeidap

@starcraft0429, could you provide us a code example? I have tried to simulate it but without success.

storyofyours

@artf Be our hero ;)

artf

Guys, it's really important to follow the ISSUE template, I don't even know which version do you use! Can you create a reproducible demo because I don't understand how to reproduce it

#2069June 6, 2019by Sparragus3 answers
0 reactions

[BUG] `allowScripts: true` still deletes <script> tags

Hi all. Thanks for creating and maintaining this amazing project. 🙏 Bug Description I have a block that inserts a script as specified here: https://grapesjs.com/docs/modules/Components-js.html#basic-scripts When I drag the block to the canvas, the component will indeed have the script attached to itself. However, whe...

dosponsor

Can you please provide the solution for this issue.

artf

Thanks for the report @Sparragus The problem here is when you use a function for the script inside Blocks. When the editor tries to store the JSON the structure is serialized but the function is not serializable so for that component an em...

Sparragus

@artf Thank you for the clarification. Cheers.

#2054May 31, 2019by zhangyanweiNo answers
0 reactions

[BUG]: Two command names (new and old) cause the command division.

For some predefined commands, has a new name and old name. It tells the user to use the new one as preferred. If choosing the new command name to extend, will not works, that because of old names in the internal. The reason is: In commands/index.js, the added or extended commands are the newly created views (extends f...

#2053May 31, 2019by megarg2 answers
1 reactions

[BUG] Not able to use plugin: grapesjs-custom-code

I am trying to add "custom code plugin" but getting an error in console that "Plugin grapesjs-custom-code not found"I have created an react app and this is part of a reach component. Note that this is working fine when I add the plugin from a html page rather than react component.This issue is only with "grapesjs-cust...

artf

Hi @megarg actually new plugins (presets are not yet updated) use a new export format which makes this import import 'grapesjs-custom-code'; not usable. You can see the example of usage of new plugins here

megarg

Let me provide some more details: -----Configuration----- $ node -v v10.15.3 $ npx node-sass -v node-sass 4.12.0 (Wrapper) [JavaScript] libsass 3.5.4 (Sass Compiler) [C/C++] OS is: Windows 10 Will really appreciate any pointers on why this...

#2037May 25, 2019by fmr4111 answer
0 reactions

[QUESTIONS] Toolbar error position when adding elements

I made canvas in modal, but there were a few bugs, when I added a new component, the position of the toolbar went down, the top canvas value that was initially 0 changed (console.log (r.canvasTop) in grapesjs.min.js), but when I resized the browser, everything was normal again (the bug only happens every time the page...

artf

If you encounter an error, open the issue as a bug, please. So follow the template for the bug.