GrapesJS Issues

3,464 parsed GitHub issues โ€” 370 solved ยท 90 open. Search, filter and explore battle-tested answers.

231 issues found

๐Ÿ” general
#4501Aug 5, 2022by udayan462 answers
0 reactions

[X] I confirm to use the latest version of GrapesJS

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link no demo link Describe the bug Hello @artf , can you please check these two 1.Cannot add color code manually in grapesjs editorImport modal is not having any save optionCode of Conduct [X] I ag...

artf

Please don't open BUG issues if you're not able to provide a reproducible demo.

GJSBlock

Thanks for reporting this, @udayan46. The issue with * appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creating an inconsistent state....

#4498Aug 4, 2022by ajjuyadav02092 answers
0 reactions

Seeing Multiple pages on scroll

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? brave Reproducible demo link https://codepen.io/etamity/pen/NWpKYPp Describe the bug how to See multiple pages in onscroll using pageManager ? Code of Conduct [X] I agree to follow this project's Code of Conduct

artf

Please use Discussions for questions

GJSBlock

Thanks for reporting this, @ajjuyadav0209. Great question about Seeing Multiple pages on scroll. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module L...

#4370Jun 9, 2022by Vac19113 answers
0 reactions

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 ๆ€ŽไนˆๅŠžๅ‘ข

GJSBlock

Thanks for reporting this, @Vac1911. Great question about LayerManager becomes unresponsive after StorageManager.load(). The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation fo...

#4357May 31, 2022by adiux2 answers
0 reactions

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.

GJSBlock

Thanks for reporting this, @adiux. Great question about A border on the mj-column is shown twice in the editor. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your sp...

#4352May 27, 2022by rubjo3 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)

GJSBlock

Thanks for reporting this, @rubjo. The issue with Add Norwegian language appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creating an i...

#4289Apr 27, 2022by candidodmv2 answers
1 reactions

"storage:start:load" event is not being trigged

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome latest Reproducible demo link Bind "storage:start:load" to an editor instance and see the console.log output Describe the bug How to reproduce the bug?...... What is the expected behavior? ... The event has been fir...

artf

Yeah with the current version you should bind the event in a plugin otherwise the first start:load is not captured. This should be fixed in the next release.

GJSBlock

Thanks for reporting this, @candidodmv. Great question about "storage:start:load" event is not being trigged. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your spec...

#4275Apr 20, 2022by boomshakar1 answer
0 reactions

Change text of cell names/title in innerText names/title

Looking at the screenshot uploaded, i circled Table Cell, Classes, Selected: NOTE: I'm currently using the newsletter preset plugin. I'd like to change the intext/title of 'Table cell', or 'Table' to something else like 'Custome Table Name' and also I want to change the innertext/title of 'Classes' & 'Selected' to som...

GJSBlock

Thanks for reporting this, @boomshakar. Great question about Change text of cell names/title in innerText names/title. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation f...

#4273Apr 20, 2022by boomshakar4 answers
1 reactions

How to trigger the 'Import Template (modal)' on page load

Hello, Please i'm in need of the logic on how to the import template modal on initialization of the page... I'm using the newsletter preset plugin What i'm trying to achieve?: Make the user upload their code once the page has been loaded. Below are the logics I've tried, editor.on('load',(model, argument )=> { //open...

boomshakar

@boomshakar please don't convert discussions to issues Noted. Thanks

boomshakar

Hi @artf, I was able to get what I want by triggering click() on the button itself, const modal = edit.Modal; const query = new URLSearchParams(location.search); const uploadQuery = query.get('key'); if (uploadQuery === 'upload-code') { co...

artf

@boomshakar please don't convert discussions to issues

#4242Apr 6, 2022by miladmeidanshahi2 answers
0 reactions

Set name for page doesn't work

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v100 Reproducible demo link https://jsfiddle.net/9rt1xm6p/ Describe the bug How to reproduce the bug? Add page in pageManager and set name. What is the expected behavior? editor.Pages.getAll()[0].name should return...

artf

Properties are not placed directly on the instances. You can use page.getName() to get the name property.

GJSBlock

Thanks for reporting this, @miladmeidanshahi. Great question about Set name for page doesn't work. The recommended approach with GrapesJS is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module...

#4213Mar 25, 2022by confettidc2 answers
0 reactions

Super large RTE buttons

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 98.0.2 (64 bit) Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug? Just go to demo site using Firefox What is the expected behavior? Normal sized rte buttons show appea...

artf

This was already fixed here https://github.com/artf/grapesjs/issues/4176 and will be available in the next release.

GJSBlock

Thanks for reporting this, @confettidc. Great question about Super large RTE buttons. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for...

Browse all topics