GrapesJS Issues

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

114 issues found

πŸ” invalid issue
#2785May 18, 2020by amitbhoj7772 answers
0 reactions

Adding multiple text type traits.

Whenever i am trying to add multiple traits of type text with all different conditions and on different tags but it will take only last one at every traits conditions. Please help me out with the solution.

artf

Read the issue template then provide code and demo

amitbhoj777

editor.DomComponents.addType('text', { isComponent: el =>( (el.attributes&&el.attributes.paraJustify&&el.attributes.paraJustify.value) ), model: { defaults: { traits: [ { type: 'select', options: [ { value: 'text-align:center', name: 'Cent...

#2668Mar 19, 2020by dilancastillo1 answer
0 reactions

Using grapesjs in different Razor Pages views - ASP.NET CORE

I am using grapesjs in an asp.net core project and I need to put the grapesjs editor in multiple views. How can I put the editor in several views with different templates? I am using grapesjs-preset-webpage preset

artf

Sorry but this is the wrong place to ask questions not strictly related to the core library. Try with Stack Overflow

#2667Mar 19, 2020by sampathrajs3 answers
0 reactions

Link element not append in head element in ediot.canvas #firefox #grapesjs

am trying to add google fonts in web-builder to change the font style for that to import am adding cdn in editor the code works in chrome and safari but firefox not working createLinkElement(fontFamily) { let link = document.createElement("LINK"); link.setAttribute("rel", "stylesheet"); link.setAttribute("href", https...

artf

I've made the issue template for a reason

sampathrajs

I've made the issue template for a reason i want to add custom fonts in web builder could you please help me out

RutujaBadbe

Hi! might be very late to comment but have you tried this? - const link1 = document.createElement('link'); link1.rel = 'stylesheet'; link1.href = '/page-builder-assets/css/style.css'; canvas.getDocument().head.appendChild(link1); it worked...

#2622Mar 4, 2020by light-effect1 answer
0 reactions

Asset manager addType function not working after reload page

am.addType('svg-icon', { view: { // getPreview() and getInfo() are just few helpers, you can // override the entire template with template() // Check the base template() here: // https://github.com/artf/grapesjs/blob/dev/src/asset_manager/view/AssetView.js getPreview() { return <div style="text-align: center">${this.m...

artf

Follow the issue template if you're submitting a bug, you have to create, at least, a reproducible demo

#2603Feb 26, 2020by CharlesBilbo1 answer
0 reactions

Storage Manager type:remote breaks containment

It seems that whenever the parameter type: 'remote' is added to the storageManager it causes the container to break thus putting elements in visual editor that should not be selectable such as the iframe ( https://imgur.com/a/dytYIV7 ). var editor = grapesjs.init({ allowScripts: 1, avoidInlineStyle: 0, container: '#gj...

artf

@CharlesBilbo if this is a BUG, you have to open the issue correctly by following the template and provide a reproducible demo. From what I see now it might be something wrong on your side, you have the gjs-* class applied on the body?! De...

#2576Feb 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

#2517Jan 21, 2020by denish-kanabar1 answer
0 reactions

Screen flickers on mouse hover on container

Tried multiple plugin i.e. webpage, newsletter and basic block but all three cases it starts flickering as soon as I take move over container (div: gjs). Due to this, its not allowing to format text bold, italic, underline and all. Attached is code sample without npms studio-fabric-grapesjs-app.zip

artf

If you think there is a problem with GrapesJS please open an issue correctly (follow the BUG template): specify the version, browser, live demo, and all the details necessary to give your issue a context (it starts flickering means nothing)

#2488Jan 3, 2020by logeshkrishna03 answers
0 reactions

How to restict the adding of css property for the gjs-hovered class

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...

logeshkrishna0

logeshkrishna0

logeshkrishna0

@artf could you please help me out

Browse all topics