GrapesJS Issues

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

1180 issues found

#4383June 14, 2022by Singwai1 answer
1 reactions

BUG: A "." character is injected when inserting two whitespaces when editing any text component in grapesjs

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grapesjs.com/demo.html Describe the bug Double click any text component Put the cursor between a word Insert 2 whitespaces Expected Behavior: 2 whitespaces are inserted Current Behavio...

Singwai

This is a behavior introduced by macOS, not a bug from Grapesjs https://howchoo.com/macos/disable-double-space-bar-period-dot-macos

#4376June 13, 2022by iamqinglong1 answer
0 reactions

BUG: Unselected custom component will also listen to event 'styleable:change'

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome 100 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Drop two or more custom component <img width="1230" alt="Screen Shot 2022-06-10 at 3 11 54 PM" src="https://user-im...

artf

Hi @iamqinglong this is the expected behavior as you're creating a listener on the editor model, but you can check the selected component in this way

#4371June 10, 2022by clonefunnels3 answers
3 reactions

BUG: All editors broken after last update that broke storage manager.

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://www.teamfunnels.net/login.php demo demo Describe the bug Please help me understand how to fix everything that this update broke. I don't understand why you wouldn't make it compatible...

Vac1911

@clonefunnels I made a quick function to load data with backwards compatibility:

Vac1911

@artf Quick sidenote: editor.loadProjectData should be added to the type declarations

artf

Please, read the release notes carefully https://github.com/artf/grapesjs/releases/tag/v0.19.4 https://github.com/artf/grapesjs/pull/4223#issuecomment-1152331298

#4370June 9, 2022by Vac19112 answers
0 reactions

BUG: LayerManager becomes unresponsive after StorageManager.load()

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 102Reproducible demo link https://codesandbox.io/s/grapesjs-4370-niizlcDescribe the bug How to reproduce the bug?Enable remote storageCall editor.StorageManager.load (doesn't matter what this actually returns) Then ca...

artf

Good catch, thanks @Vac1911

zhangdongxu-web

我也遇到同样的问题,重新加载储存的数据后 LayerManager 变得无响应 只有一个 body box 怎么办呢

#4362June 2, 2022by tuongnguyendev1 answer
1 reactions

BUG: Background image preview show error link

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 102.0.5005.61 Reproducible demo link https://jsfiddle.net/tuongnguyendev/25kcypuj/ Describe the bug How to reproduce the bug?Thow a column in canvas.Select component test backgroundDecoration => Background =...

tuongnguyendev

Hi @artf Updated new bug from #4350 Thank you.

#4357May 31, 2022by adiux1 answer
0 reactions

BUG: A border on the mj-column is shown twice in the editor

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 102.0.5005.61 Reproducible demo link https://codepen.io/adiux/pen/BaYrEXR?editors=1111 Describe the bug How to reproduce the bug?Add grapesjs-mjml to the project with any version newer than 0.5.6Add a border to a se...

adiux

sorry, I just realized I posted this to the wrong repo. Created another issue at grapesjs-mjml.

#4356May 31, 2022by Justin83031 answer
0 reactions

BUG: selector:remove event does not exist

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 101 Reproducible demo link https://jsfiddle.net/sdrf72wx/1/ Describe the bug How to reproduce the bug?execute the code below on the initialization of the editoradd and remove a selector of a componentLook at the con...

artf

Hi @Justin8303 selector:remove refers to the global container of selectors so it's only triggered when the selector is actually removed from the global collection and not from the component. When you remove the selector from the component,...

#4352May 27, 2022by rubjo2 answers
1 reactions

Add Norwegian language

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v101 Reproducible demo link NA Describe the bug Not a bug, just an issue for upcoming PR for Norwegian support Code of Conduct [X] I agree to follow this project's Code of Conduct

rubjo

Someone beat me to it - so recently that it seems that it isn't released yet. :)

ZaheerNiazi007

@rubjo i18n: { locale: "en", detectLocale: false, messagesAdd: { en: en, }, }, try this use norweigen lang file (https://github.com/GrapesJS/grapesjs/blob/master/src/i18n/locale/en.js)

#4350May 26, 2022by ronaldohoch2 answers
1 reactions

BUG: Style Manager don't update background when component is selected

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Browser V1.39.111 Reproducible demo link https://jsfiddle.net/e7oau8v6/ Describe the bug How to reproduce the bug?Thow a column in canvas.Select the text componentGo to style tab and find background on decorationsSet...

artf

Hi @ronaldohoch the issue here is with your custom type background and the way you're adding it is not correct (proper usage of the API). The addType is mainly for adding new UI inputs, if you don't need a new type of UI (like in your case...

tuongnguyendev

Hi @artf , I have a problem quite similar to @ronaldohoch when use the latest version of GrapesJS Background image preview show error link Details are in the image below:

#4341May 20, 2022by senthil177cse3 answers
0 reactions

while adding border style for Html component css json only fetching for border selector not fetching selector of border-width, border-style, border-colorBUG:

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? chrome v101.0.4951.54 Reproducible demo link https://jsfiddle.net/7sn5h91r/7/ Describe the bug my issue is for style border property width, style and color not updating in json even i have checked in https://grapesjs.com/d...

aharishsundhar

@artf how to resolve this problem i'm face the same issues in my side latest version v0.18.4 padding: 0 0 0 0, padding-top: "", padding-bottom: "", padding-right: "", padding-left: "",

senthil177cse

Hi @aharishsundhar .. As per my knowledge instead of using padding: 0 0 0 0; you can add only pading-top, padding-bottom,padding-left,padding-right...

aharishsundhar

@senthil177cse im getting the same issues on padding : 0 0 0 0; created also the padding-top create but empty properties coming how to fix the problem is its issues with grapesjs v0.18.4?