GrapesJS Issues

3,464 parsed GitHub issues — 370 solved · 90 open. Search, filter and explore battle-tested answers.

569 issues found

🔍 canvas
#1737January 21, 2019by arthuralmeidap1 answer
0 reactions

[BUG] - Resize components off the Canvas

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

#1728January 14, 2019by arthuralmeidap3 answers
0 reactions

[FEATURE REQUESTS] - block's toolbar at bottom option.

hi @artf How are you? I'm facing a small issue on GrapesJS and I would like to hear your thoughts about the best approach here. My issue is: When I have a small block, like a Link, placed at the top left corner of the Canvas, the toolbar totally covers the block and I can't see it. I would have to unselect that block...

artf

Hi @arthuralmeidap I think the #1434 talks about the same problem. Honestly, I've already solved, basically the same issue, with the RTE toolbar, so I guess, if you have time, you could copy/share the same functionality for the Component's...

arthuralmeidap

@artf I created the PR #1730 for this. Take a look when possible! Thanks for your help as always!

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.

#1727January 14, 2019by alfaalex812 answers
0 reactions

[QUESTION] Event to get children view

I have a problem with a component. When I drop a component into the canvas I create a simple object. Before appending this object I need to check if some attribute is already populated but children are not yet available.

artf

Reproduce the issue in a live demo, if you're able to do so, open an issue as a BUG (follow the template)

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.

#1723January 10, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTION] replacing particular text in dropped component

Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and render into the canvas my screenshot what I really want is to replace the regular text value to which I have entered in custom traits u can see in my screenshot my custom traits is he...

artf

Please check the Component API

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.

#1722January 10, 2019by Ramkumar-Murugesan2 answers
0 reactions

[QUESTION] how to make my custom tag as selectable and editable inside of canvas ?

Hi, I try to change my custom tag of ion-item has div in view properties but It doesn't work for me as I expected. my custom Blocks is my custom view is comps.addType('form-type', { model: defaultType.model.extend({ tagName: ion-item }, { isComponent(el) { if(el.tagName == 'ion-item') return {type: 'form-type'} }, }),...

artf

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.

#1721January 9, 2019by ThunderDev12 answers
1 reactions

[QUESTION] Resize image before adding it as base64

I'm currently adding images to the canvas as base64 (embedAsBase64: true). I don't want to upload the image for the moment, to keep things simple. But, I want to be able to resize or crop the image before adding it through the asset manager as base64, to avoid oversized images added by the user. Basically I would need...

artf

Well, obviously you can't resize and crop without having all the image data at first. So, on asset:add event propose your "crop and resize" solution and then update the asset with the new data

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.

#1711January 5, 2019by fulus063 answers
0 reactions

Error in prompt position after moving canvas

1、移动画布 2、点击layerManager(如果不点击layerManager 不会出错) 3、画布里的提示框位置出错 1、 moving canvas 2、 click layerManager (If you don't click layerManager, it won't go wrong.) 3、 The position of the tip box of the picture is wrong.

artf

Thanks for the report @fulus06 can you provide a reproducible demo on https://jsfiddle.net/, please?

fulus06

@artf https://jsfiddle.net/fulus06/kqsezd0c/5/

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.

#1701January 2, 2019by B-Esmaili2 answers
0 reactions

Provide a way to filter toolbox items AKA(blocks).

with minimal set of blocks involved it doesn't make much sense to have a toolbox filter, but as the number of toolbox items grow it makes a lot of sense to have a filter on top of toolbox. other thing annoying me is lack of auto-scroll when dragging elements up or down on the canvas.i would appreciate any commitment a...

artf

Hi @B-Esmaili for the filter you can create your UI (panel, input for the search, etc.) and use the block's API to filter them (example https://github.com/artf/grapesjs/issues/499#issuecomment-343482511)other thing annoying me is lack of a...

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.

#1688December 27, 2018by vitanshu2 answers
0 reactions

on set model content property image and text written in content is not editable in grapejs canvas.

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

vitanshu

this issue is valid.

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.

#1680December 24, 2018by froderf2 answers
0 reactions

Missing Attributes

When I drag a block into the canvas, some attributes of that block is missing from the above example the "data-gjs-test" was removed after dragging the block into the canvas. I want it to remain . Thank you

artf

Those attributes were made to be removed, if you need them, probably you're doing something wrong...

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.