GrapesJS Issues

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

3464 issues found

#2576February 17, 2020by ajaykr0891 answer
0 reactions

Uncaught DOMException: Failed to execute 'matches' on 'Element': The provided selector is empty.

Hi there, I m getting below error while dropping components on the canvas. This only occurs if i have already some disabled components on the canvas. Uncaught DOMException: Failed to execute 'matches' on 'Element': The provided selector is empty. at r.matches (webpack-internal:///./nodemodules/grapesjs/dist/grapes.min...

artf

Follow the issue template if you're submitting a BUG

#2575February 17, 2020by MCiocioNo answers
0 reactions

[QUESTION] Set HTML content

Hi @artf I've imported your plugin and all the 'get content' functions works correctly. Before this, on my web application I had the functionality to save different templates and to load them in evert moment. But my question is: there's a way to SET CONTENT of gjs newsletter editor? On the commands there's only the re...

#2574February 17, 2020by MCiocio1 answer
1 reactions

Thanks @artf for this work!

WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdUse the GitHub Issues EXCLUSIVELY for BUGS, FEATURE REQUESTS or QUESTIONS. Prefix the title of the issue with its context, eg. [Bug]: ....Do a quick...

pouyamiralayi

@MicheleBowl this is how you can support the project!

#2573February 17, 2020by rastaprime202 answers
0 reactions

[QUESTION] Get all related CSS Rules from mulit-level CSS Selectors

Hi @artf Hope you are doing well. I've been cracking on this matter for the past few days now, I've been searching whether I got the same scenario with the others, but unfortunately, I can't find any solutions that can solve my problem, so I decided to raise an issue ticket. I hope I will make sense. So I have a 'Save...

artf

This is the command I use in Grapedrop to get all the CSS from a component

rastaprime20

Hi @artf Thank you so much for your response! I will try this out, and let you know if I run into any problems. I really appreciate this.

#2572February 17, 2020by ahmeds632 answers
2 reactions

[QUESTION] Can we start from a default template rather than blank canvas?

Hi, Thank you for this great library! Very handy to use. I have implemented this on a project as per the clients' requirement. But they are wondering if they can start building from a default template like the one you have here in demo: https://grapesjs.com/demo.html is there a plugin for this or some boolean option t...

pouyamiralayi

2195 comment

ahmeds63

thanks that helped!

#2571February 17, 2020by h3llomoto3 answers
0 reactions

[BUG] Layer visibility btn

If I change the state of the visibility btn - gjs will remove display style and then when I click "show layer" - it won't restore display style. I think it's a bug. Gjs should save current display's options on layer visibility button click to restore it.

artf

I agree πŸ‘

h3llomoto

OK guys I found a hotfix for this problem if you need:

artf

Thanks @h3llomoto the logic is totally correct, I'll make the same change but a bit more idiomatic

#2570February 17, 2020by h3llomoto3 answers
3 reactions

[QUESTION] 3rd party RTE integration

Hi there! Great work at grapesjs! Is there any list of external RTE's to integrate in grapesjs? I've spent a few days trying to integrate any, but still no results. If anyone already has a solution for integration other RTE's, please share them.

pouyamiralayi

#1697 comment for tinyMce and ckeditor plugin as a good example.

h3llomoto

@pouyamiralayi thank you. but earlier I checked tinyMCE thread and it seems that TMCE still doesn't work properly. and I've seen ckeditor. I'm looking for anything small and simply as quill, pell and so one.

h3llomoto

hmm, this is what i get after installing ckeditor4 and grapesjs-plugin-ckeditor and you can't say "ckeditor is small and simple' after I mentioned pell. it is really small and simple.

#2569February 14, 2020by jdillon0011 answer
1 reactions

[QUESTION] Show all block categories

Hi all, I am using the following bit of code to collapse all the block categories, what would the code be to expand them all?

pouyamiralayi

#318 comment

#2567February 13, 2020by tranthanhhoa1 answer
0 reactions

[BUGS] Can't change background-color a component on FireFox

Version: 0.15.10 Bug: Can't change the background color of a component on FireFox (v73.0) How to reproduce it: Goto https://grapesjs.com/demo.html on Firefox Select a component then open Decorations group and change Background Color Result: https://prnt.sc/r1oxhg The selected component doesn't apply new background col...

artf

Increase the alpha channel