#2900July 17, 2020by krishnaeverestengineering1 answer
We have a requirement of both writing articles, landing pages and writing articles more like landing page as well. So we thought GrapesJS would best suit for us but we want to know that, Is this framework would good for Content Editing as well like TinyMCE / CKEditor experience? Because CKEditor / TinyMCE is text area...
artf
Using GrapesJS only as a WYSIWYG editor probably is an overhead as it would require more time on configuration, but for sure it's possible as internally there is already an RTE module (the default one is probably too much simple but you ca...
#2899July 16, 2020by TOM90ek1 answer
Version: ^0.16.17 Are you able to reproduce the bug from the demo? [ ] Yes [X] No According to tutorial i want to override styles for my editor. https://grapesjs.com/docs/getting-started.html#theming But I cannot compile my project due to an error in main.scss: Are these imports correct? grapesjs/src/styles/scss/main....
artf
Yeah there is an attempt to solve it here https://github.com/artf/grapesjs/pull/2859
#2897July 15, 2020by DRoet3 answers
Hi @artf I'm sure you are very busy these days, but I have been trying to reach out about helping move the grapesjs-mjml project forward. I know this is not the right repository to ask but I have higher hopes of reaching you here. I have several PRs open, see https://github.com/artf/grapesjs-mjml/pulls and I've contri...
artf
Yeah sure man, unfortunately, I can't focus on that plugin right now so your help is really appreciated
DRoet
No problem, I appreciate all the effort you put in so far, thanks for the invite
artf
DM me on twitter if you need my direct contact
#2896July 15, 2020by fedulovivanNo answers
Steps:Open fiddle https://jsfiddle.net/x2g03d58/ with simple markup <a id="ic72">Link</a><a target="_blank" id="is3u">Link</a>Select first link (which doesn't have target attribute) on canvas.Open Component Settings panelCheck the value of "Target" attribute Expected result:Value "This window" is shown Actual result:E...
#2894July 14, 2020by HeyWrecker3 answers
Hello, I've been reviewing the documentation and this link, trying to find the right configuration setting to disable the dropzone in the Asset Manager Modal. In my config, I have set the upload attribute to 0, and yet the dropzone still appears, is clickable, displays the system file browser, and allows me to select...
mcottret
Hi @HeyWrecker ! As far as I know this is only possible by overriding the AM Modal's style like so: You can also see this issue regarding completely disabling image upload. Cheers !
HeyWrecker
@mcottret Hi Mathieu! Thanks for the advice! I'll try those steps out. I genuinely appreciate such a quick reply!
mcottret
I see, sorry for the misunderstanding :) I didn't know about this specific behaviour, but the assets from the loaded configuration might override the initial set value. You could try updating the assets list after loading the configuration...
#2893July 14, 2020by Hsin903211 answer
Hi,I'm beginner in grapesjs. I want to make a question number by for loop when I dropped components, ↓I want final like this image. the div can show for loop number. ↓my component's code In render, I divided the my default html questionCom from {{i}} into front and back. then,put them in render. {{i}} can perfect to s...
artf
Use the questionCom you're passing to the model (use model to update model related logic) and I'd suggest using API from the Components documentation (eg. textType.view.extend is the old one)
#2892July 14, 2020by metatick2 answers
v0.16.18 (also tested v0.16.22) Are you able to reproduce the bug from the demo? [X] Yes [ ] No What is the expected behavior? grapesjs should behave correctly inside a scrolling element Describe the bug detailed When grapesjs run within a scrolling parent element (except for window), the canvas does not clear it's of...
artf
Thanks for the report @metatick are you able to confirm if it's the same issue as #2722? In that case, this should be closed (but might worth reporting the same codesandbox).
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...
#2891July 13, 2020by Davidvlv1 answer
Hi, we upgraded from 0.15.3 to 0.16.18 and now the saved JSON coming out of grapesjs doesn't include some things that we were using before, namely styles and tagName. Before Upgrade (0.15.3): After Upgrade (0.16.18): As we don't use the HTML, only the JSON, we need those properties to be in the schema. Is there some c...
longdoan7421
Yes, there is. When init grapesjs, you could set the config avoidDefaults to false.
#2889July 10, 2020by rathodrupesha1 answer
Hello sir, I want to create a dropdown button in the panel. Dropdown show category & on category select one other drop down its showing for different block. panel btn |cat A |Cat B |-block A (that can draggable & on drag in layout area its showing HTML code or output) How it's possible? could you pls provide code or d...
artf
https://grapesjs.com/docs/api/block_manager.html
#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