#3036September 22, 2020by AlinaKontarero1 answer
What are you trying to add to GrapesJS? GrapesJS blocks responsiveness for email clients. Describe your feature request detailed The GrapesJS blocks like columns are responsive on app or demo. Hovewer, the email template created with GrapesJS blocks is not responsive to the email client (like gmail app or outlook app)...
artf
Hi Alina, this feature is kind of unrelated to the core implementation. You can create your custom components/blocks for email templates and wrap them in a plugin
#2982August 28, 2020by mitcht3 answers
Version: 0.16.18 Are you able to reproduce the bug from the demo? [X ] Yes [ ] No What is the expected behavior? I would expect that assets, components, css, html, and styles would be repopulated. Describe the bug detailed I am working on an existing system that has a database schema preventing me from using the Stora...
mitcht
Yes, I see that .load takes a callback function. I'll admit, I'm probably doing this wrong. I only started using grapesJS a few days ago. If my bug report is not truly a bug, how would one store the current state of the editor (possibly as...
mitcht
I'm investigating https://grapesjs.com/docs/modules/Storage.html#storage-api but I still would like to just be able to 'set and forget' :)
artf
There is an example which illustrates exactly what you're looking for https://grapesjs.com/docs/modules/Storage.html#define-new-storage
#2972August 25, 2020by kuhelbeher3 answers
Hello, first of all thanks for a great tool. On my project i hit the problem where I need to disable scripts inside the editor. I found 2 similar issues with this problem - https://github.com/artf/grapesjs/issues/2046 https://github.com/artf/grapesjs/issues/2814. So the problem is quite common and maybe it's better to...
RJCAM
Hi @kuhelbeher I'm still trying to achieve that too, but here's a tip that can help us to achieve it. I'll post here if I figure out a way. See this issue #2772
kuhelbeher
@RJCAM thanks for tip, I tried that, but problem with this approach is that it disables script for component, not the whole template.
artf
Once the editor and its components are loaded it's hard to think about disabling JS, think about a component with custom scripts that binds events all around the DOM (maybe even using some external plugin). The only way it could be possibl...
#2942August 7, 2020by mofengwyh1 answer
Hi! I want to achieve such a feature: when the mouse moves over a block, the floating window displays its next level blocks. As shown below: I made a floating window div, but I don’t know how to display the blocks in the floating window. I read about BlockManager.render() in the documentation, but it can only control...
artf
By using the BlockManager API you have to build your own UI for such a case
#2909July 21, 2020by tvvignesh2 answers
Hi. First of all, awesome work with grapesjs. Had a feature request which may greatly improve usability for users. While grapesjs does allow to categorize components like these: It will be great if there is support for searching components to import and import them (a normal filter from the sidebar would also do). Thi...
artf
Hi @tvvignesh for sure it makes sense but as you know UIs related stuff are highly arguable so it requires a lot of code to make it as much customizable as possible. So far, I've stopped adding UI stuff in the core and started making it mo...
tvvignesh
@artf Thanks for your inputs on this. Will try implementing using Blocks API. Just one question though. Since I would like to add blocks in the location where the cursor is by searching for the block as in the screenshot, may I know the re...
#2888July 10, 2020by acxvgalanov1 answer
Hi, is there a way to find out the exact changes that happened to the document on the 'undo' (redo) event? It'd be a useful feature to know which elements have been affected (moved, changed, etc) by undo/redo.
artf
You can use the UndoManager API like getStack to check last changes
#2884July 9, 2020by Drishya12345No answers
WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/blob/master/CONTRIBUTING.mdDo a quick SEARCH first, to see if someone else didn't open the same issueAll relative statements/questions have to be filled/answered, otherwise, th...
#2877July 5, 2020by robsonsobral2 answers
Hi! The strikethrough command on RTE uses the obsolete tag <strike>:This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. For no longer relevant or no longer accurate text, the recommended tag is <s>.This element is d...
artf
Would you like to create a PR? :)
robsonsobral
I'll send one later today!
#2867July 1, 2020by Lostpixelr1 answer
Hi, We are using some Twig template features in our grapesjs implementation. like: {% if variable == "value" %}<b>text</b>{% endif %} But due to the toHtml() function in src/dom_components/model/ComponentTextNode.js this gets converted into {% if variable == "e;value"e; %}<b>text</b>{% endif %} Is there an eas...
artf
Yeah sure, you can extend the textnode component and use your toHTML function
#2856June 25, 2020by mcottret2 answers
Hello again ! Our team has recently been trying to update GrapesJS' canvas programmatically without accidentally triggering an update event. If our understanding is correct, this would mean allowing a call to setStyle or setComponents not to trigger an update event, regardless of the current stepsBeforeSave & changesC...
artf
Yeah, it actually might make sense having options in these methods, so a PR would be welcome.
mcottret
Great ! #2872 opened.