GrapesJS Issues

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

3464 issues found

#3034September 21, 2020by makbariNo answers
0 reactions

BUG: parse single nodetext as component

Version: current Are you able to reproduce the bug from the demo? [X ] Yes [ ] No What is the expected behavior? The single textnode in any component (e.g. text, cell, ...) should be parsed as a textnode component. What is the current behavior? Currently, a single textnode in a component is parsed as only a content in...

#3033September 20, 2020by krishnaeverestengineering1 answer
0 reactions

While Dragging component to top, removed event is not triggered for another component

<img width="949" alt="Screenshot 2020-09-20 at 10 12 52 AM" src="https://user-images.githubusercontent.com/55732888/93694492-ee644100-fb29-11ea-8854-be8d6c7198e3.png"> I moved selected component to top (see in image). So removed/onrender callback triggered for the moved component. But callback is not triggered for bel...

artf

This is correct behavior, the event is triggered only on updated/moved component otherwise all children would emit events (which is definitely not what we want). You can also try to see if setting the listener on the parent might help you...

#3032September 18, 2020by lebonsavane1 answer
0 reactions

Pages manager

Hi, I use GrapesJS newsletter version and i need to create a new device as a text editor with a page size and when i arrive at the end of the page there is a footer and a next page with the same dimension is generated automaticly Can someone help me ? @artf can be the more efficient on it i think.

artf

We have something in progress for creating multiple frames inside the canvas but, at the moment, it's far from being complete

#3030September 17, 2020by arptg1 answer
0 reactions

Question: How to sync the order of sub children across all child elements ?

I have a <ul> in which I want to show Images and image description as <li> elements. I want to be able to move the image inside the <li> for one of those and it should reflect the same in other sibling <li> elements. Is there a way to achieve this ?

artf

No, currently it's not possible, the only way is to work with classes but the HTML structure is not syncable

#3028September 16, 2020by trony20201 answer
0 reactions

translate block labels for grapesjs-preset-webpage

How tot translate labels for: https://github.com/artf/grapesjs-preset-webpage/blob/master/src/blocks/index.js for basicOpts I'm doing fine with: thanks!

artf

You should be able to update them via i18n module https://github.com/artf/grapesjs/blob/4d6319c0e4dbb2a840a3000abbcca896a8f0e560/src/i18n/locale/en.js#L12-L19

#3027September 16, 2020by gpmonch3 answers
0 reactions

BUG: Image asset manager, on remove no ability to re-upload the same image that was removed

Are you able to reproduce the bug from the demo? No, in the image asset manager in the demo there is no option to remove images. What is the expected behavior? When removing an image, if a user decides to re-upload it, before closing the asset manager dialog he should be able to. Describe the bug detailed Once a user...

artf

Hi @gpmonch, I'm not able to reproduce it, after deleting the asset I'm able to reupload it again. Are you able to provide a live example?

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

gpmonch

Dear Artur, Thank you so much for your reply, I'm sorry for only responding now, I've made a screen recording using webex of reproducing the bug in my local environment, Please let me know if this helps clear the issue, any help would be h...

#3026September 16, 2020by pucksart1 answer
0 reactions

BUG: Double Ckeditor

Version: 0.16.22 Are you able to reproduce the bug from the demo? Yes What is the current behavior? Try to select a text or drag its block, now double click on it. You will see 2 Ckeditors <img width="739" alt="Schermata 2020-09-16 alle 10 47 14" src="https://user-images.githubusercontent.com/4941395/93315251-1b9faf00...

GoodPHP

Hi, If you didn't find answer here, you can contact with Devfuture Team: https://devfuture.pro/contact/ We specialise on GrapesJS.

#3025September 15, 2020by trony20203 answers
0 reactions

make inside elements not movable with propagate

Hi, creating a component/block, we want elements inside not to be removed, edited or moved: not removed and not edited ok but how to make them non movable? Thanks! $.get( "/iscrizionePrivacy.plp?a=VGsflaU2d7D0sUcDhl7lCkkX8tE1UW9kBzLcqcUAR8-yKo74nLUmyXKrfIUstkUirvlSCA5sqeHrBsznmUg&locale=itIT&fromBE=true", function( da...

artf

You can place another custom component in the middle which propagates those properties and also the draggable or, as the droppable is false on all components you can simply update all inner components on init

trony2020

Following code prints only "........ doTheThing 3......" Seems init() it's not called: $.get( "/iscrizionePrivacy.plp?a=VGsflaU2d7D0sUcDhl7lCkkX8tE1UW9kBzLcqcUAR8-yKo74nLUmyXKrfIUstkUirvlSCA5sqeHrBsznmUg&locale=itIT&fromBE=true", function(...

artf

You have to use the component in the canvas

#3023September 15, 2020by ditschedevNo answers
0 reactions

BUG: i18n german locale wrong translations

Version: latest You can get the version by typing grapesjs.version into the console Are you able to reproduce the bug from the demo?[x] Yes[ ] No What is the expected behavior? All translations should be german and grammatically correct. Describe the bug detailed Some translations are not german and some are not real...

#3022September 15, 2020by trony20203 answers
0 reactions

Localization without using "import"

Hi, to do localization is there a way to do it without using "import" ie with <script src="myFolder/grapesjs/locale/it.js"></script>? From the docs: import grapesjs from 'grapesjs'; import it from 'grapesjs/locale/it'; import tr from 'grapesjs/locale/tr'; const editor = grapesjs.init({ ... i18n: { // locale: 'en', //...

artf

Current locale files are optimized only for importing them via import but you always build them on your own

applibs

And how? Is anywhere documentation how to setup locale in vanilla js?

Ahriman

Same problem here, how we can set the locale in JavaScript vanilla?