Using dev@HEAD (https://github.com/artf/grapesjs/commit/9a71368f43d690405d3c60682c7dfee83fd87a4e) you can see that the Test block has it's label clipped, as shown in both Firefox and Chrome below. NB this doesn't happen on release v0.14.5
artf
I'm not facing it on my side (Mac), probably due to the font size differences the whole content exceeds block's height: 90px;. We need overflow:hidden to avoid the text overflow with big strings. Probably just by setting min-height: 90px;...
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 check the sources but it didn't seems to have a centralized language file (one per plugins per example) but multiple places where wording must be translated. Am I wrong ? I would like to be able to use english and french interfaces. So I would like to know how to translate grapejs (and it's plugins) to other lan...
artf
Hi @FoxXav you can check #26 about i18n and why currently I have no plans for it
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, There is some bug related to "Drag and drop functionality is not working in IE Browser ", i have tried to find out the solution regarding this but as per documentation there is no finite solution of this issue Also there is no method to reinitialize the grapes editor. i think it has few browser compatibility issue...
artf
Follow the issue template please
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 html attributes are true or false, the should either exist or not exist. For example, required. This don't have a value in HTML5. Valid (not required): Valid (required): Invalid (not required): Invalid (required): When the HTML grapes is then rendered outside Grapes and the input is checked if it's required, this...
nojacko
@artf Thanks for the quick solution but it doesn't appear to work. Both inspecting the Grapes source and calling getHtml() return required="true" and required="false". I'm guessing because the attribute is a boolean value represented as a...
artf
probably the same as https://github.com/artf/grapesjs/issues/912#issuecomment-373208517
mikereem
I think commit 9a71368 is not enough. It writes boolean attributes without their values to the html output fine. But when the output is read again by the editor, then the boolean attributes are not initialized. If the boolean attribute was...
Guys when I click the link it does nothing even when I supplied the href in component setting. PS: No idea if this is a bug or the problem is on my end. I downloaded the latest grapejs-dev and basic-blocks.
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 have some script tag in my html code (includes js file and internal javascript tag) But GrapeJS doesn't load any script and apply this. Can I have any way load javascript to grapejs and export html include javascript code?
vishal5033
Hi You can allow script when you init grapesJS instance. const editor = grapesjs.init({ ... allowScripts: 1, }); Hope that helps you.
phucphanJaneto
@vishal5033 : many thanks for your helps. it works for me. The script file and internal js will show when export html. But I see the error message: and can you help me?
josefph
@phucphanJaneto try to post your code? maybe something is missing or you got the wrong syntax.
Hi, How i can integrate handlebars or other template engine with GrapeJS? I mean to create eg. dynamic component with product details: And show parsed data in GrapeJS editor eg. But on export user must get raw data, i mean code with handlebars content. Someone can help?
ondrejpolach
Hi andre2, do you complete this solution for handlebars integration? can you share some code please?
artf
You should create a custom Component which implements the template engine inside its view (eg. compile the template inside the render method)
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 looking to create a trait called colours. This trait has a dropdown of colours that can be selected. When a colour is selected, I'd like to modified the class of the element to include the selected colour and remove other colours. The modifying of the class should be simple enough but I'm looking to extend the def...
artf
Unfortunately, the current implementation of traits doesn't allow extending its types
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 want to make a link that will let the user enter the url for it or to let him choose a link to another page which he already created.
artf
Check Traits
josefph
@artf thanks! got it working! When I was looking at the wiki I totally missed the Traits section. sorry for that artf. but now I do have a problem. When I click my link it does not trigger. The html composition is correct. can you help me...
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.