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
There is one font issue when i click on any element it not show the current font of the element, i added custom code for add my custom fonts. code work perfectly but it not show the selected font by default when i select an paragraph or any text. Originally posted by @hgphpdev in https://github.com/artf/grapesjs/issue...
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
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...
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
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...
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
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)
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...