Hi artf , i have created custom component and add traits for it , when dragging this component to editor and select it the setting traits work correctly . the proplem is when draged the same component behind the old component to editor and select setting traits the default traits will appear ( id , title) only , this...
artf
Please create a live demo of this issue
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...
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 add a new trait for existing VIDEO '' component. I follow the docs and I didn't find what I want. Now I got the new trait added to the VIDEO component, but the existing traits are gone, I need some help, Thank you so much Here is what I've tried so far: https://js.do/code/273166
artf
Extend the video type not the default one and be careful with your isComponent method, you're returning return {type: 'input'};
ahmedeldeeb25-zz
@artf thank you for your response, I've tried what you mentioned but didn't work,now my new trait is not even added https://js.do/code/274228 could you provide a demo for the solution, please?
ahmedeldeeb25-zz
@artf I do the same thing as you mentioned with MAP and LINK components and it worked, but it didn't work with VIDEO component
above code is not working but the below is working All i need is to apply the css rule in two class .class1 .class2{ ... color: red; ... }
artf
This is not how setClassRule is supposed to work. The first argument is only for 1 class name. Currently, there is no specific API method for your case, probably the best one, for now, is editor.CssComposer.getAll().add('.class1 .class2{.....
mailtopaul8
I need to have a new CSS rule with the combination of both ID & class but currently there is no way to do that (tried using setIdRule by adding .class after ID but didn't worked). Can you add a method like setRule which would simply accept...
artf
@mailtopaul8 I'll try to bring it in the next release
BUGAre you using the latest release (older versions are NOT supported)?0.14.50Are you facing the bug with your local copy of GrapesJS or with the current demo? It's a local copy. The used verions (including plugins) are: I'm working on MacOS and tested with latest Chrome: 70.0.3538.110 (Offizieller Build) (64-Bit)What...
artf
All elements were deleted but there is still an empty div-container in the viewport You don't explain steps to reproduce this issue, but please check in Layers first. I'm pretty much sure you don't delete some kind of wrapper, which has no...
renepardon
Hi @artf even with the provided link https://gist.github.com/renepardon/91db8b10a1dea1f8d0d855af945c89a8 you were not able to reproduce it?
artf
I can't reproduce it due to missing resources (and as I said, it's probably a problem with your files...)
Is it possible to create predefined content blocks with data you put in from your backend and which the user cannot change and only place or move in it's "webpage" ? I'm trying to find a way to have a user creating pages based on content that is made available by what I provide him and be able to use.
arthuralmeidap
Yes, it is. I can see, at least, one way to achieve this. You could create a new non-editable component and use it to create your own custom blocks. PS: I don't remember if you can add non-editable blocks. If it's possible to do that, you...
artf
@arthuralmeidap correct, @Yamakasi you can set editable as false on any text Component. BTW that wiki is outdated, you can find all the documentation here: https://grapesjs.com/docsComponent: https://grapesjs.com/docs/modules/Components.ht...
Yamakasi
Hi Guys! Sorry for the late response! I can work with that, clearly, thanks! Have a good 2019!
Hello @artf , How can i access the variable as well functions which is outside of the script. My code is like, I am using angular.js(Angular1). And the above code is for the controller file. Can you please assist me how can i use this global variable as well function in my script?
artf
You can't, they're not in the same context, read carefully this page https://grapesjs.com/docs/modules/Components-js.html You need to copy your global variables inside the script property or you can inject them in the canvas as a dependecy
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, It appears that the icons / images for the flexbox properties are missing (row, column, etc). These icons are present on the demo page of grapesJS: although it appears that these are hosted directly within the demo, rather than grapesJS itself. This issue might have more of a home in the grapesjs-blocks-flexbox re...
artf
I've just made use of them for the demo page, you copy the code from here: https://github.com/artf/grapesjs/blob/gh-pages/demo.html
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.