#1926March 27, 2019by fmr4112 answers
How so that Placeholders can change when typing a word in the trait directly, current placeholders can change only when mouseover I have a trait like this, is there anything that isn't right? Thank you :
artf
I think you might need to create a new trait type for a custom behavior
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.
#1925March 26, 2019by alemenciones2 answers
We have this error: "Cannot read property 'getAlpha' of null" when i set the property allowEmpty in true. Can you check this? I'm trying this: colorPicker: { allowEmpty: true }
artf
Follow the template of the issue
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.
#1924March 26, 2019by Aleksandrov913 answers
I'm trying to create dropdown menu (like the device selection menu) inside options panel. In the documentation is described how can create panels and buttons only. How to do that?
artf
It was created by its own view so nothing special, there is no API to create select inputs, do them as you wish with your framework of choice then on change just bind your actions
Soharab-Shaikh
@artf Could you please help me to add select input(dropdown) inside the device panel?
alimurad52
@artf can you provide an example of this?
#1922March 26, 2019by sakshigarg92 answers
I'm using model.view.el.innerText to capture the innerText of the component in use when I update/change the text using an event, but it returns an empty string (ideally it should return the updated text), although if i use model.view.el.tagName or model.view.el.id it gives the desirable output(h2 and trial respectivel...
sakshigarg9
Used a setTimeout function, worked with mdel.getEl().innerText realised there's a delay
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.
#1921March 25, 2019by Nagavijay-kolla2 answers
Hi @artf , I am trying to resize the image/Video, When I drag in/out from the right side it is working fine but when I drag it using left side buttons it is resizing from the right side. What I suppose to say is the video/ image is sticking to the left side and it is not shrinking from the left side. I have used the o...
artf
This is how the default static positioning works in 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.
#1920March 25, 2019by sakshigarg91 answer
I using the event component:update:content to get the change in text, but for every component it triggers only the first time a change is made, not otherwise in the future
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.
#1919March 25, 2019by sharmilasivakumar2 answers
Hi, In on select component, automatically grape editor will generate some dynamic id for giving css. In my case, that id is changing randomly once applied styles also... Even tab structure id also changing as 1-2- If div having some id grape editor will use the same id for styling but now it's generating existing id w...
artf
Update to the latest version. In case you still face the issue, create a new issue and with a reproducible demo
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.
#1917March 24, 2019by trafalmejo2 answers
Hi, I want to change the icon of a Block in the Block Manager: I know it is part of the attributes in the manner: attributes: { class:'gjs-fonts gjs-f-b1' } and the class defines the icon to be used. Where is the list of icons? I didn't find it in the documentation: Block Manager. Thanks!
artf
There is no list of icons, we used fontawesome and some custom one but we're planning to remove them from the core
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.
#1916March 24, 2019by sunhillbd2 answers
Hi, We have been working with GrapesJs for sometime. I know you have already been asked about the designer mode (Free drag) and you said it was on the roadmap. What I want to ask is, do you have any rough guideline on how we can achieve the free drag? Should we go for integrating any 3rd party library or plugin? thank...
artf
Take a look here please https://github.com/artf/grapesjs/issues/1890 for now I can't add more about this topic
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.
#1915March 22, 2019by arachnosoft3 answers
Hi @artf , We have just noticed that, if you import this code into grapesjs: <label class="c3100 c3152 c3212" style="box-sizing: border-box;">My label field 1</label> <label class="c3111 c3163 c3223" style="box-sizing: border-box;">My label field 2</label> With an between the two label tags, the is...
artf
I think the issue might be here https://github.com/artf/grapesjs/blob/0a122cd7b558bcf391cfd7e4608dffad3ba9de53/src/parser/model/ParserHtml.js#L169-L172 unfortunately nodeValue returns already processed string, without Try to use thi...
arachnosoft
Thank you very much for the tip @artf , this (undocumented?) Parser config option seems to solve my issue! Of course, I had to set it to true, not 0, as I wanted to keep those empty spaces ;) And had to set it on the editor.Parser.getConfi...
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.