#4475July 23, 2022by zithasdev1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 103.0.5060.134Reproducible demo link https://www.w3schools.com/html/tryit.asp?filename=tryhtmllinksw3schoolsDescribe the bug How to reproduce the bug?.when i work my project related link ... What is the expected behav...
artf
Sorry but you have to open the bug issue properly by following all steps and providing a reproducible demo.
#4474July 22, 2022by bimsina2 answers
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 103.0.5060.134Reproducible demo link https://stackblitz.com/edit/node-zrdtg4?file=index.jsDescribe the bug How to reproduce the bug?Initialize Editor in headless modeLoad the project data with just a basic text node <...
artf
Fixed here https://github.com/artf/grapesjs/commit/f61222ec904ed56794f7b97e362ea2006dfceaf6
#4473July 22, 2022by skru1 answer
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 102.0.5005.115 (Official Build) (64-bit) Reproducible demo link Describe the bug How to reproduce the bug? I'm unable to reproduce this on JSFiddle, but that sort of makes sense. #4373 has introduced a bug in editor...
artf
Thanks @skru I'll take care of it
#4466July 20, 2022by capoia2 answers
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfiddle.net/weellingtonc/t8hs9f67/2/ Describe the bug How to reproduce the bug?add 'button-cube' component to workspaceclick on the created buttongo to the settings component and chan...
skru
first, you're code needs to go in a plugin https://grapesjs.com/docs/modules/Components.html#define-custom-component-type and you're not updating the model of the component, just the html in the canvas... https://jsfiddle.net/jmweg8u1/4/
artf
Yeah correct, thanks @skru You can also connect the content directly to the trait to read also the initial value.
#4455July 18, 2022by mickeyDominic2 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 103.0.5060.114 Reproducible demo link https://codepen.io/Dominic_M/pen/eYMgqyw Describe the bug How to reproduce the bug?Follow GrapesJS "Getting Started" >> https://grapesjs.com/docs/getting-started.htmlCon...
artf
@mickeyDominic you're placing all the default panels under the same object Where it should be one object per panel
mickeyDominic
Thank you @artf. Silly me :)
#4449July 14, 2022by skru3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 102.0.5005.115 (Official Build) (64-bit) Reproducible demo link https://jsfiddle.net/6Ldn124x/3/ Describe the bug How to reproduce the bug?Click on text block to open RTETry and add a list What is the expect...
skru
I've tried to find a fix for this but failing. Problem occurs with: onKeydown(event) { if (event.key === 'Enter') { this.doc.execCommand('insertLineBreak'); event.preventDefault(); } } Which, when creating a list is not the desired behavio...
artf
I'm not sure yet about the best long-term solution but as a workaround, we can prevent that condition but checking the active state of insertOrderedList/insertUnorderedList. I'll take care of it for the next release.
jack2ky
Where to find other commands like "insertUnorderedList"?
#4448July 14, 2022by ronaldohoch3 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Brave Browser Last version Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Opens the demo page.Puts an image.Double click to select image.Set width to 100%.Set height to auto...
artf
Hi Ronaldo, I'm not sure if there is a simple way to fix this behavior globally for all use cases as you're resizing the image for both sizes and not only the width (in that case the height wouldn't change). What I can suggest trying is to...
gustavohleal
Hi @artf. One way we thought to fix this for our use case based on our users is to change the units for width and height always together. That means when the user changes the width from pixels to %, for example, the height will also be cha...
ronaldohoch
Let me know if that works for you Hi Arthur, these configuration didn't make any changes to the image, it keeps setting the height with px instead of auto, as property keepAutoHeight suggest
#4447July 13, 2022by barryross2 answers
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? 103.0.5060.114 Reproducible demo link https://grapesjs.com/demo.html Describe the bug How to reproduce the bug?Click a parent container, such as the first component with the .container-width class in the demoIn typography,...
artf
Hi Barry, yeah currently this is the expected behavior (check also this discussion) but I hope one day to add proper support for inherited properties.
barryross
okay, thank you for letting me know On Mon, Jul 18, 2022 at 9:29 AM Artur Arseniev @.> wrote: Hi Barry, yeah currently this is the expected behavior (check also this discussion <https://github.com/artf/grapesjs/discussions/4245>) but I hop...
#4440July 11, 2022by skru1 answer
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Version 102.0.5005.115 (Official Build) (64-bit)Reproducible demo link https://jsfiddle.net/trh1sbmk/17/Describe the bug How to reproduce the bug?GoTo supplied fiddle.Drag "Extended text component" block into editor.Try to d...
artf
Thanks @skru yes, there is an internal issue I have to fix to properly handle extended text components but once it's fixed another thing to keep in mind when you extend text components, it's to use components property instead of content.
#4435July 10, 2022by bovealexandre3 answers
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? chrome latest versionReproducible demo link none for the momentDescribe the bug How to reproduce the bug?create a Page Manager with functions from Pages APItest the select function (if you have something in your head it will...
bovealexandre
so the add function is fixed there was an error with the data I sent but I still can't understand why Tailwind css doesn't apply despite the fact that it is in the head tags
artf
Are you using config.canvas.styles option? https://github.com/artf/grapesjs/blob/b657428b3efc343513f6c92eb6b418935d2a8ac9/src/canvas/config/config.js#L14-L22 Can you create a reproducible demo of your use case?
bovealexandre
Hi @artf unfortunately I can't create a reproducible demo on CodePen or JSFiddle because there are way too many things on it and I'm using technologies like nextJS but I can give you access to the repository if you need it is a private rep...