GrapesJS Issues

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

3464 issues found

#3623July 15, 2021by simxn11 answer
7 reactions

BUG: "/" in classes changing to "-"

Version: ^0.17.19 Are you able to reproduce the bug from the demo?[x] Yes[ ] No What is the expected behavior? I would expect the class to stay exactly the same as I name it. Describe the bug detailed When you add a class that contains a slash "/" character in it , in the DOM, it changes the slash character to a dash...

notauserx

I also faced the same problem. After looing into the source, I found this is due to https://github.com/artf/grapesjs/blob/8b423fdf093865a6bf55dc8285030ce99c111d6d/src/selectormanager/model/Selector.js#L123 Based on https://github.com/artf/...

#3622July 14, 2021by ronaldohoch3 answers
0 reactions

BUG: I18n functionality

Version: latest Are you able to reproduce the bug from the demo?[] Yes[ ] No What is the expected behavior? to editor.I18n.setLocale("es") work in runtime. Describe the bug detailed I don't know if it's a bug or it's not supposed to work this way, also, i don't know backbone enough to know if it's possible, but, when...

artf

Yeah, unfortunately, at the moment the UI (once rendered) is not updating on locale changes, so you would need to rerender the editor.

ronaldohoch

Well, i don't know if backbone have template binding, so i'll close for a while..

leonardolima99

Yeah, unfortunately, at the moment the UI (once rendered) is not updating on locale changes, so you would need to rerender the editor. Has this not been solved yet? I tried to use editor.render(), it works, but it duplicates the panels...

#3620July 13, 2021by jamesshin53 answers
0 reactions

BUG: SetComponent() encodes anything in <script> tags

When loading in HTML through setComponent, quotation marks turn into "&quot" and less than signs turn into "&lt". Any help would be greatly appreciated!

artf

Thanks @jamesshin5 that will be fixed in the next release.

jamesshin5

thanks so much for this! when do you think the next release will be? I did a workaround of just adding a component with script to canvas but want to change back asap

artf

I hope really soon but can't tell the exact day. In case it might be useful, we auto-tweet new releases on our twitter account: https://twitter.com/grapesjs

#3619July 13, 2021by san-123No answers
0 reactions

BUG: how to add video upload and save to backend?

Hi artf, I have implemented image upload with multiple images and save it to remote database. Same way how to upload single video and save remote db Because everytime we need to put all videos to remote folder then configure it to src for video tag. It taking lot of time Pl guide me to implement it.

#3618July 13, 2021by san-1231 answer
0 reactions

BUG: style manager size not setting to image control

WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issue Follow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.md Do a quick SEARCH first, to see if someone else didn't open the same issue All relative statements/questions have to be filled/answered, otherwise,...

san-123

Its duplicate

#3615July 13, 2021by onmagic3 answers
0 reactions

BUG: text in text component cannot update , cannot get final result from toHTML

it is text component, if select body, the text will correct save/apply/store in component toHTML method, if just updating text, but not leave the text component, just click save then use "editor.getHTML()", the result is not updated.

v-pasha2

Did you get a solution on this ?

v-pasha2

We are facing below issue with version "0.17.19" where as on version "0.14.62" its was working fine. We were trying inline editing experience, So when we check the component.getEl() function it returns the updated text for component where...

v-pasha2

@artf could you please check on this or any-work around for this ?

#3614July 12, 2021by kuhelbeherNo answers
0 reactions

BUG: Background color can't be set to #000000

Hello! Found a bug with background-color. It cannot be set to #000000 via color-picker in styles. Here's a demo but you can check it yourself in the grapesjs demo: https://user-images.githubusercontent.com/37115006/125304571-62303e00-e336-11eb-9e5d-a5e9d3b1c7e2.mp4 Other colors work fine.

#3613July 12, 2021by anlumo1 answer
1 reactions

BUG: Inconsistent Image Selection

Version: 0.17.19 Are you able to reproduce the bug from the demo?[X] Yes[ ] No Reproducible here. What is the expected behavior? Selecting images in the asset manager interface by clicking on them. Describe the bug detailed What is the current behavior? When you change the asset associated with an image component, it'...

artf

Sounds legit, will be updated in the next release

#3612July 12, 2021by TRIGGEREDcoder3 answers
0 reactions

BUG: The grapesjs slider buttons, tabs are not working as expected

Version 0.17.19(grapesjs) Version 0.1.5(grapesjs-lory-slider) Version 1.0.6(grapesjs-tabs) Are you able to reproduce the bug from the demo? No What is the expected behavior? I should be able to traverse through different slides and tabs when clicked on previous or next buttons and tab names respectively. Describe the...

artf

Are you able to provide a reproducible demo, please?

TRIGGEREDcoder

Sorry @artf , I was facing this because of the script tag in the generated html which is of no use in angular component html. How can I use the html generated in angular files if the html contains script tag functions.

artf

@TRIGGEREDcoder if the main issue is solved I'm closing this one. Please open a new Discussion if you have questions

#3608July 9, 2021by anlumo3 answers
0 reactions

FEAT: Disable Dragging

What are you trying to add to GrapesJS? I have implemented an alternative text editing component (not based on RTE). I want people to be able to drag-select text in this component. Describe your feature request detailed The problem is that drag-selection also triggers dragging the whole component. I want to be able to...

iabhiyaan

anlumo

Wouldn't that disable all dragging, even from the toolbar and the layer manager?

anlumo

I just tested it, another issue is that the dragging operation still eats the event, it just renders the component disabled.