#2276September 18, 2019by iamriel2 answers
Are you using the latest release (older versions are NOT supported)? version 0.15.8What is the expected behavior? change:style listener should be triggered when changing/updating styleWhat happens instead? nothing happensIf you're able to reproduce the bug indicate all the necessary stepsDrag the text block to the can...
iamriel
Nevermind, I just disabled avoidInlineStyle: 0 :)
VanShane
Hi, is there any way to listen to component style updates (in model or view) without using avoidInlineStyle: 0.
#2275September 18, 2019by adriangroch3 answers
It seems that when the default panels is altered in the config, the basic styles are stripped from the panels. For example the font and scrollbars.Are you using the latest release (older versions are NOT supported)? YesAre you facing the bug with your local copy of GrapesJS or with the current demo? BothWhat is the ex...
artf
Sorry @adriangroch but I don't really understand what do you expect. I see the panel and its styles correctly applied. Are you talking about the scroll outside the editor?? That has nothing to do with the editor and its styles...
adriangroch
@artf, when you have enough components on the canvas and then select the layer manager, the styles are not applied as they are in the default example - the font is different and the scrollbar has changed. It's all still within the editor
artf
That scrollbar is not from the editor but from the body and about the font, being a custom UI (when you use appendTo) the font is taken from the parent
#2274September 17, 2019by tom-sherman3 answers
I'm trying to mount a readonly component (draggable, droppable etc all set to false) and allow the user to edit child components inside. For example if I have the following content I want to load all of this content inside of the component, and allow the user to drag new blocks where it would say "EDIT ME"
pouyamiralayi
hi there! you can set draggable property of the target component this way: this way, it will only be draggable inside the Slot. the same can be done for readonly type. if you need further help for your specific case, i would appreciate a f...
pouyamiralayi
Hi there! if you mean injecting the component into the editor without user interactions, you can use: more on this hereallow the user to drag new blocks where it would say "EDIT ME" if you mean making the readonly component editable again,...
tom-sherman
@pouyamiralayi Thanks! I've implemented a Slot component and overriding the attributes inside of the init method The issue I'm having now is that the use is able to drag an item above the readonly header for example. Is there a way to prev...
#2273September 17, 2019by slellampati2 answers
I created 3 custom button(edit, preview, save) and all those have run and stop methods. When i click on any button, it triggers the run command of that button but before that stop function of other buttons are executed. When i click on Edit, below is the console output When Edit button closed (stop command) What is ca...
mcottret
Hi @slellampati, I'm sorry this answer might be a little late to the party, but I've just stumbled upon the same behaviour & discovered this issue. To answer the question: GrapesJS's buttons have an active event listener, which deactivates...
artf
You can add a different context: 'eg. save-button' to your buttons to detach them from this default behavior (by default buttons share the same context) There is actually a tiny reference in getting started guide about this: https://grapes...
#2272September 17, 2019by adriangroch1 answer
Are you using the latest release (older versions are NOT supported)? YesAre you facing the bug with your local copy of GrapesJS or with the current demo? Current demo & local, also using the CKEditor pluginWhat is the expected behavior? When a textable component, e.g. #481 Merge field is dragged into a text area (i.e....
artf
Hi @adriangroch thanks for the report but unfortunately it's not a bug, it's just not possible, currently, having components (textable in this case) inside a custom RTE. Each RTE has its own implementation and we can't ensure correct usage...
#2271September 16, 2019by fadaeian1 answer
hi i defined dev extreme pie chart as new component every thing seems ok except when i drag my componenet to cell or every time i use preview button ,my chart and cell container size change . is there any setting to prevent from cell size change? thanks
fadaeian
it was devexpress issue
#2270September 15, 2019by ghostNo answers
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...
#2269September 15, 2019by parmando1 answer
Does anyone know how to translate tools as "crop" "flip" in the image editor?
parmando
I just found out how to do ... var localeptBR = { 'Crop': 'Cortar', 'Delete-all': 'Apagar tudo', 'Bold':'Negrito', 'Apply':'Aplicar', 'Arrow':'Seta', 'Arrow-2':'Seta 2', 'Arrow-3':'Seta 3', 'Blend':'Mistura', 'Blur':'Névoa', 'Brightness':'...
#2268September 13, 2019by tom-sherman1 answer
It would be great if this exists as to write a renderer for the content of the editor I currently need to scour through the source to work out the exact format. It would also be helpful when defining types. Could it be generated from the Backbone models maybe?
artf
There is an open issue about Typescript declarations #1759
#2267September 12, 2019by Sparke21 answer
The question I like grapesjs and I think that it is the best GUI builder solution but I can't find any built-in component libraries. I know there are official extensions but there are few elements. Are there any additional plugins/ libraries/ templates? May be developed by some 3d party devs. I'm looking for[ ] progre...
artf
Try this one: https://github.com/kaoz70/grapesjs-blocks-bootstrap4