#2748April 30, 2020by jsychova3 answers
Default StyleManager property "slider" doesn't work with a non-integer step value. GrapesJS version: 0.16.1 In many cases, it’s convenient to use a slider with a non-integer step value: seems that Grapesjs supports only integer and rounds non-integer values. Steps to reproduce: Add a property with type 'slider'
adamwpe
Ah, you mean the arrows - sorry, thought you meant in general that the slider doesn't work. Never noticed that - always use the slider order the mouse dragging over the arrows. I'll have a look at the view - not too sure where to start hah...
adamwpe
Oddly enough - this works for me (I know I'm creating the sector at the same time): Can you make a demo?
jsychova
Yes of course. I've created a sample with your snippet, but seems that it doesn't want to work with me. https://codepen.io/sjul66/pen/VwvMwNY Thanks!
#2740April 27, 2020by Gangkaroo1 answer
Are you using the latest release (older versions are NOT supported)? Yes Are you facing the bug with your local copy of GrapesJS or with the current demo? Local and current demo I'm using editor.getSelected().append() to add Text to the currently selected component in the editor. This seems to consistently work when l...
artf
The Text component is composed of components container and content (printed after components), so when you use append it actually appends the node but you see it above as the content is printed below. We need the components container for a...
#2731April 22, 2020by tiptronic851 answer
I had set up grapesjs with newsletter presets and i have the latest version 0.16.3. When i click on fullscreen icon with Firefox 75.0 nothing happen. It works correctly with Chrome. Have you already encountered this problem? Any quick fix? Thank you in advance
tiptronic85
The problem was the attribute allowfullscreen, probably Firefox need it.
#2727April 22, 2020by adamwpe3 answers
I think this is a bug, Basically, I have a custom component that has an attribute of a class ('gjs-button'), but that class only appears to get rendered/applied when a trait is changed.Drag and drop the component: Amend the component Trait.The component is rendered again, but now you can see the class 'gjs-button' has...
pouyamiralayi
Hi @adamwpe please use `classes attribute instead of attributes`: Cheers!
adamwpe
Oh Thanks, @pouyamiralayi, Seen someone used attributes and assume that was the correct method - worked like a charm!
adamwpe
Appears a similar thing happens on save and reload. With this custom component, you are allowed to amend the size, but when you save and reload, the renderer doesn't draw it to the correct size, even though it has saved the correct width:...
#2722April 17, 2020by tomaskallup3 answers
Are you using the latest release (older versions are NOT supported)? Yes Are you facing the bug with your local copy of GrapesJS or with the current demo? LocalOS: ArchlinuxBrowser: Firefox 74.0 and Firefox developer edition 75.0b11Grapes: v0.16.3 What is the expected behavior?Highlight should update its position when...
artf
Yeah really weird, my first guess was that canvas toolbars weren't updating on the window scroll, so I've tried to create a non-fullscreen example with a long page but I've realized that there is no scroll listener (on the main window) bec...
tomaskallup
Hi, thanks for the reply! Firefox doesn't seem to be the issue here (same behaviour in Chrome) Also the replication repo works in both browsers without the bug. I'm not loading anything in iframe (this is inspector layout from the actual p...
tomaskallup
@artf I think I found the cause, our root element <div id="❤"> has this style: Adding that to the reproduction repo caused the issue to appear! (Removing the flex seems to fix the issue, I'll investigate if we really need it in our case, b...
#2721April 17, 2020by alex19893 answers
Hi I run into an error when I'm trying to import any locale file from 'grapejs/locale' by using es6 import I followed by the documentation: https://grapesjs.com/docs/modules/I18n.html#configuration but I always get this: I can import it only in next way Could you explain why I can't import it directly from grapesjs/lo...
padcom
With the change provided by PR #6459 it is now possible to do the following: Make sure you also load the styles correctly:
artf
Should be fixed in https://github.com/artf/grapesjs/releases/tag/v0.16.12
willGabrielPereira
It still don't works, only works from "src/i18n/locale/...." Using v0.20.3
#2717April 16, 2020by tranthanhhoa1 answer
Version: 0.16.40 Bug: Error: Cannot read property 'style' of null https://prnt.sc/s0bqer How to reproduce it: Goto https://grapedrop.com Drag a Typed component and observe into canvas Expect:No error
artf
Related to https://github.com/artf/grapesjs/issues/2656#issuecomment-610333308. Should be fixed in the next release
#2707April 8, 2020by h3llomoto3 answers
Hello, @artf , I've catch a bug at built-in RTE:added standart email text element with a red styled tag a inside:enable rte by doubleclick on span elementdisable rte by deselecting elementthe link is blue now It adds "-2" to link's id after every time I deselect it. I think the problem starts at dom_components/view/Co...
h3llomoto
Hey, is there anybody?
artf
@h3llomoto PRs are welcome buddy
artf
Fixed and ready for the next release #3069
#2701April 5, 2020by lewishealeyNo answers
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...
#2700April 3, 2020by noogen3 answers
Are you using the latest release (older versions are NOT supported)? Yes, using latest v0.16.3 version. What happen? Upgraded from WORKING v0.15.3 to v0.16.3. Also, went back and verify that this is WORKING in v0.15.10 Demo to reproduce the problem https://niiknow.github.io/grapesjs-components-farmer/ in latest Firefo...
artf
@noogen can you please create a reproducible demo on something like jsfiddle? (without your preset/plugin, so I know the issue comes from the core)
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...
HassanElZarkawy
I'm also having this issue. With me it happens whenever i try to canvas option in init. When i remove the canvas config part in the options everything seems to work fine.