GrapesJS Issues

3,464 parsed GitHub issues β€” 370 solved Β· 90 open. Search, filter and explore battle-tested answers.

1,399 issues found

πŸ” outdated
#439Oct 20, 2017by ateshuseyin3 answers
1 reactions

Unstable

In my machine grapesjs is unstable. Generally at first request throws below error. After refreshing one or two times, it works. Bug exists in all versions I used.Uncaught TypeError: Cannot read property 'componentTypes' of undefined at F.i.renderChildren (grapes.min.js:2) at F.i.render (grapes.min.js:2) at F.i.addToCo...

ateshuseyin

I found the problem. One of my chrome extension (I think it is Backbone Inspector) causes the problem. Issue can be closed

ateshuseyin

Another error is;components.js:169 Uncaught TypeError: Cannot read property 'defaultTypes' of undefined at child.renderChildren (components.js:169) at child.render (components.js:212) at child.addToCollection (ComponentsView.js:65) at Comp...

artf

Weird, never got those issues, but if you see defaultTypes in components.js you're definitely working with an old version of grapesjs

#438Oct 19, 2017by Geczy3 answers
0 reactions

Imported HTML, I can move components but not edit them

All I did was import HTML, except I can't modify the text in the HTML I can't type anything or remove any text

Geczy

This is the HTML that I am using https://pastebin.com/wNseLeqh is it because text is not wrapped in <p> ?

artf

This happens because td component is not editable, so the easiest solution would be, as you already get it, to wrap it inside some other component. Otherwise, you should extend the TableCell

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.

#436Oct 19, 2017by santiph3 answers
0 reactions

RemoteStorage - Load Template uses POST

I'm using a custom module to save/load a template with a service like this: Save is a different module and works just fine. The problem is with the Load() call. For some reason, Grapes performs a POST action to localhost:8000/templates/5 getting a 405 - Method not allowed from the backend. Fetch call in RemoteStorage...

santiph

Solved

suresh5

hi can you share me the json when u are sending to load template ?

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.

#434Oct 19, 2017by vandanaqburst2 answers
0 reactions

Vendor prefixes

Vendor prefixes getting truncated on calling setComponents.

artf

This is due to the browser's parser, I've already added the possibility to set a custom one to the Roadmap

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.

#433Oct 18, 2017by cindygao933 answers
0 reactions

Unminified grapjes.js file?

I downloaded the git repo but was only able to find grapes.min.js. I really want to dig into the code some more and get a better understanding of how all the files are related to each other but I'm not seeing the unminified version anywhere. Could someone point me to where it is in the repo or if not, could the unmini...

ateshuseyin

There is no unminified version of grapesjs. I think this is a necessity. Until @artf add unminified version checkout the project then link grapesjs into your project. See: https://docs.npmjs.com/cli/link

artf

Hi @cindygao93 if you want to dig into the code you just have to check /src folder

z-vr

@artf /src is a good start, but does not allow to do

#431Oct 17, 2017by bobblkabb3 answers
0 reactions

Not compatible with your operating system or architecture

Hi, couldn't install grapesjs on Ubuntu 16.04:

bobblkabb

npm-debug.log

artf

just follow these instructions (the issue is with node-sass not grapesjs itself)

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.

#430Oct 17, 2017by mediaboost2 answers
0 reactions

StorageManager remote + autosave + gjs-get-inlined-html

Hello it's possible to send autosave data with gjs-get-inlined-html command ??

artf

No, there is no option to do so, but you can try to override the editor.DomComponets.store method and implement there your logic (try to understand how the current method works)

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.

#429Oct 17, 2017by sonnylloyd3 answers
0 reactions

Custom component save

hi @artf sorry to be a pain i really didn't want to open a issue ticket but i have been stuck for days trying to achieve my end goal i have made a simple plugin that adds icon support (font awsom) so i have a components.js a block.js and a main.js with some configs i have managed to get the onchange working, however i...

artf

Hi @sonnylloyd I think the problem is that you're not reflecting correctly the icon property. Try with this

sonnylloyd

Thanks @artf i have been playing with your suggestion but with no luck. again sorry for being a pain heres the updated component.js

artf

@sonnylloyd check better my code, you've changed init() inside the model which was ok in your previous code. As you see, under the ...model, you only have to change the updateIcons()

#428Oct 17, 2017by asvine-p3 answers
0 reactions

Change the background of the body

Hello, First of all, I want to thank you for this amazing project! I have few a questions regarding the editor, and more precisely the newsletter preset:I want to add a button in the block manager which can give a quick access to change the background of the body (without going to the component tree).Furthermore, how...

Geczy

Here's how I remove buttons

asvine-p

@Geczy, thanks but the set("active", boolean) method only switches the highlight mode of the button. Actually It doesn't remove it.

artf

Hi @asvine-pI want to add a button in the block manager which can give a quick access to change the background of the body (without going to the component tree). Once the editor is loaded you can add/remove stuff with JS (your button will...

#427Oct 16, 2017by Geczy3 answers
0 reactions

Rte toolbar is missing

I am using this custom CSS: Even without my CSS, the RTE toolbar is missing from TEXT The toolbar seems to keep adding to the top left as if it has no styling, instead of being added to where my cursor is

artf

Can you try with the latest version? (your RTE code is the old one)

Geczy

Thanks sorry

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.

Browse all topics