Hello, I want to prevent CssComposer to generate style for the displa property. I tried unstylable config on my components without success. Any solutions ? Thanks for your time
artf
You can't prevent the style to be generated, unstylable might be used to prevent showing display property in style manager
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi, I developed some components and all works fine in Firefox, Opera browser. In Google chrome also working fine in fullscreen editor mode only. But, when resizing the editor screen size(custom width & height), drag and drop is not working for all components. The green bar to point the target drop location is also not...
muzniousx
Hi, Thanks for your reply. editor.refresh() also didn't work. But, finally the issue was fixed when updating the google chrome and grapesjs-preset-newsletter.
artf
Can you explain how do you resize the editor?
muzniousx
This is the function i use for resize the window. function resizeEditor() { if ($('.detailview-header').length > 0) { $('#MyTemplateEditor').height(($(window).height() - 150 - $('.detailview-header').outerHeight(true) - 70) + 'px'); } else...
Hi Artur, I have this checkbox underneath the editor. If you click it, it will load extra custom components. and if you un-click it, those extra custom components should be disappeared. Is it possible? and if so, could you give me an example code of how to do it? I really appreciate it Thank you.
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hello. I'm working on Table feature with this awesome project grapesjs. ProblemI added table component on canvas. In ComponentTableBody.js, change default rows and columns options.In ComponentTableCell.js, add a resizable options on cell component.then In order to make resizing cell feature, but It doesn't work. Descr...
artf
The real problem here is the class actually, so I'm ok with removing them from the core (they are actually useless here), but I'd avoid other table-related components.
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
@artf Hi pal, how are you? Currently, when the user resizes components (Image and SVG basically), it's possible to make them larger than Canvas and the user is not able to see more the toolbar for the component. I have created a fix to limit the width to the Canvas width if the user tries to resize larger than Canvas....
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi, it would be nice to have vue components builder like mjml.. This user started project: https://github.com/Patrick-Spiegel/vue-grapesjs But how create component like VBtn in this project, but to accept drop element.. So like VContainer and you can drop VBtn inside. Thanks, Ivan
artf
This is very close to how I made the mjml editor, he created a custom component with its own renderer https://github.com/Patrick-Spiegel/vue-grapesjs/blob/master/src/components/grapes-components/v-btn/index.js Unfortunately, it's a not gen...
bajki
But how push new component to rendered Vue.. This would be great stuff for vue if can be managed.
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Like title says if the component has script attribute ,redo&&undo doesn't work ,I'm sorry I misunderstood.
artf
Hi @thinkanymore we have already an issue regarding the UndoManager #1512 (I close this so reply there if you need) To be honest, I didn't get one thing, you're telling me the issue is with that model.set('attributes', attr)?! Can you tell...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi, can you please tell me what is the best way to manage dynamic templates. I want to describe you what's my case.Have e-commerce store and use GrapesJS.We have PAGES and in this pages want to add product collections or collection with brands (logo). I want to create few components like product collection, brand coll...
artf
You can make use of a custom component and variables to replace on server-side. Take a look at the example I made for you: https://jsfiddle.net/fcsa6z75/7/
abozhinov
Can you give me advice how to make mapping with dynamic data. Something like Webflow. They have product collection and you can edit template select TEXT component and choose this is ProductName. Their editor looks like GrapesJS. My concern...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
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...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hello there! Awesome project and thanks for your contribution. I would like to know if it is possible to change the styling of a child component through it's parent's style manager. For example, I have a block of components. The parent component contains all the other components. By clicking the parent component and g...
artf
It might be a bit tricky but yeah, you can do it. For sure you have to create a custom Component and inside its init method (model) you would place listeners to traits/styles. Then, inside the callback method, of the listener, you'd use fi...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.