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