#2392November 8, 2019by asieraduriz3 answers
It seems that the index.html structure needs to be the following: I am not able to nest this div within another div like so: Since my custom styles require the presence of the first div and the main, and I've tried updating the container property for the grapesjs.init to no success, I'm asking if this is possible
asieraduriz
What I have done is to just clone this repo, and nest the <div id="gjs" style="height:0px; overflow:hidden;"> within another <div>, so it would be like When I run npm start, I am getting a blank page
pouyamiralayi
@fasaas did you specify this in your html? BTW, make sure that your parent div has `height:100%` cheers!
asieraduriz
If this is not possible, is there a way to explicitly indicate that when I add a new Block into the BlockManager, the container should be a specific container that I can have previously define in index.html and leave the original div at th...
#2374November 4, 2019by MartinPutz3 answers
In the new dragmode the component's style is not updated after dragging the component. Expected behaviour:Drag element by clicking on the component(or the toolbar icon)After the components is 'dropped' the style should be updated with the new position Current behaviour:You drag the component somewhere elseThe x and y...
artf
Have a set x and y values(for example 0px and 0px) For x/y you mean left/top?
MartinPutz
Yes, left and top should change and should be updated but they remain the same.
artf
I see them changing only after reselecting the component, can you confirm?
#2373November 4, 2019by FedericoPalma923 answers
[Bug]: Hello, I integrated grapes js into an asp.net core / angular project I have two problems:Randomly after adding blocks the toolbar and the highlighter are displayed in wrong positions.When I click on the datapicker it is displayed in a wrong position outside my window.
artf
To the color position issue refer to this one https://github.com/artf/grapesjs/issues/1533#issuecomment-432146597
artf
@picozzo92 Are you able to create a minimal reproducible demo of this issue? I'm working on a big canvas refactoring that will probably fix all related issues, having a reproducible demo will help to understand that
SaleDrache
I had same issue for colorpicker positioning and concluded that it's position is given related to screen / html tag (position: absolute , left: x px) , but if any parent element containing gjs-editor has position: relative , it will affect...
#2367November 1, 2019by pouyamiralayiNo answers
Describe the bug (this is not happening in the latest version, this issue is not valid.) assume that we have a property in our component model which is an object. then try to interpolate this property in script: what you will get is a [object Object] string. Steps to reproduce the behaviorcreate a custom component typ...
#2357October 30, 2019by giorgiosjames1 answer
Explanation Using https://grapesjs.com/demo.html v0.15.8 on Chrome 77.0.3~ Windows 10 Pro Build 18362 Importing a Video component with any Boolean attribute (controls, loop, autoplay) using the import modal will break all boolean attributes on the component until the component is deleted. Reproduction StepsNavigate to...
artf
At first look the issue might be here: https://github.com/artf/grapesjs/blob/a850a305b80b8f86c0e7e4fb92b6492c2e5a1957/src/dom_components/model/ComponentVideo.js#L115-L117 indeed in the export/import I'd expect just ... controls> and not .....
#2353October 24, 2019by logeshkrishna03 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...
logeshkrishna0
@pouyamiralayi, Are you saying that you wont form the new div when eneter is clicked, but when you try to save it, it would consider that space or next line as new div
logeshkrishna0
@pouyamiralayi It also happen in the new version have check using the inspect element it add a div each time when click enter in text block
logeshkrishna0
Is there a reason why when inserting text a new div is created for every break instead of a standard <div class="c4840">Insert your text here. I hit enter <div data-highlightable="1">a new div is created </div> <div data-highlightable="1">...
#2348October 22, 2019by ney11No 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...
#2340October 18, 2019by senchdenNo answers
Function getCheckedEl() in PropertyRadioView.js causes Syntax error in IE11. Observable in web page demo v0.15.8 as Steps to reproduce:Make an action that will call this method, like selecting any nested element in layers manager in a web page demo
#2339October 18, 2019by senchdenNo answers
Steps to reproduce:Uncollapse body in Layers Manager.Select any element.Press 'delete' key. Expected result: Element is removed. Actual result: Script crashes with: Reproducible in an web page demo v0.15.8
#2338October 18, 2019by senchdenNo answers
Steps to reproduce:Drop an image block onto the canvas.In the opened modal, click on the drop zone or drop an image Expected results: New image is added to the list and user is able to select it Actual results: Editor crashes with Reproducible in a web page demo v0.15.8