#1593November 19, 2018by dlorenzo1 answer
Version: v0.14.44 Steps to reproduce:Drag 'Link block'Drag 'Image' within previous 'Link block'Select 'Link block'Type in console: editor.getSelected().set('editable', false); editor.getSelected().set('editable', true);Double click imageClose image popup From this point it is impossible to resize, remove, copy or even...
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.
#1591November 18, 2018by riteshdalal3 answers
When GrapesJs is initialized using "fromElement", the attributes in the HTML tags of the element are forced to lowercase. View live example (uses latest version): https://codesandbox.io/s/zr139yj3m3 Look at the index.html file and the on-Tap property of the div. But upon initializing, if you view the code using the ex...
artf
Expected behavior would be that the attribute name would remain unchanged. This is how HTML5 works
riteshdalal
Thanks @artf. If I create a trait with camelcase name then it seems to be working fine when value added through "Settings" but when element is initialized on canvas or block is dropped then the name is forced lowercase. I am trying to get...
artf
Then you just shouldn't initialize the editor by HTML, but use Component objects, then check how to store correctly your template data https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates
#1590November 18, 2018by Geeker13 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...
Geeker1
I'm new at using grape js but is there anyway of using pre made templates with css links editable in grape js canvas
artf
css links editable Well not by default but you can create a custom component for such a case (eg. with a custom trait)
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.
#1589November 16, 2018by SeongwoonHong2 answers
I'm having some issue when I load some templates and modify. and it looks like grapesjs newsletter demo is also having this issue. I have couple of templates and if i copy and paste into newsletter demo and try to modify it from there, it gives me this error message 'Cannot read property '_cash(some random numbers)' o...
artf
The export of the demo is not intended to be importable... In your case, #wrapper{ style rule breaks stuff, the RTE it doesn't work due to the optimized export code
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.
#1584November 15, 2018by coder-strange3 answers
Below is the Component that I'm adding. this.editor.BlockManager.add('dob-mmyy-pii', { id: 'dob-mmyy', label: DOB (MM, YYYY) (PII), category: 'Forms', attributes: {class:'fa fa-birthday-cake'}, content : { content : <div> <label>DOB (Month and Year)</label> <input name='dob' class="form-control"> </div>, script : func...
artf
If the script is a function and you can't serialize it in a JSON. I think, in your case, you need a new custom component type (you're just adding a block) then you'll export only changed properties (the script will be part of the component...
coder-strange
Bingo! that worked perfectly fine but it's letting all of the element to be selected in the block (By directly giving the block html in 'content', content : { content : 'html' } was working fine) so how do I forbid the elements to be selec...
#1582November 14, 2018by Chilli-B1 answer
Hello, in reference to the following threat, the problem has not been solved with the new and latest release 0.14.41: https://github.com/artf/grapesjs/issues/1563 Thanks for clarifying :)
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.
#1579November 14, 2018by YashPrince3 answers
@artf There is bug in the border color if you drag a button on the editor and paste color like rgb(255, 0, 0) in border color and select any other element in side the editor without changing any property and reselet the button then border color become rgb(255, and if we changes in any property of border then css break...
loganvolkers
I can reproduce this on the demo website Copy and pasting can trigger this error, but it looks like it has nothing to do with copy and paste and everything to do with whitespace. Values that work:rgb(255,0,0)rgb(255,0,0) Values that don't...
artf
everything to do with whitespace Correct, it's just a poor parsing on composed types. We should split the value (eg. 1px solid rgba(255, 0, 0, 0)) by spaces (or even better propertyModel.get('separator'), which exists already) but taking c...
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.
#1575November 13, 2018by nojacko1 answer
The model in "component:styleUpdate" event is different to the model in the event "component:selected". I'd expect them to be the same when I click a component and then change it's styles.https://jsfiddle.net/szLp8h4n/355/Have console open.Select "hello world" text Note the console outputChange the fontNote the consol...
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.
#1571November 9, 2018by abozhinov1 answer
Please check the video: https://screencast-o-matic.com/watch/cFXQlQYSjWUse Mac OS last versionUse grapesjs - last version of branch devuser chrome - last version What's the problem: Drag and drop is not function as it should be when use touch device.
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.
#1567November 8, 2018by alimajed933 answers
Hello all, I am using the latest grapesjs stable version (40) and I noticed the following bug in the rich text editor: If the user drags and drop a rich text editor into the canvas, clicks on it and tries to clone it per example (or any action in the toolbar like delete, ...), no action will happen. The user has to se...
arthuralmeidap
PR: https://github.com/artf/grapesjs/pull/1800
artf
Yeah, that happens because of this check, being in editing mode we need to prevent some actions (eg. clicking canc/backspace triggers the same command). Probably we need to put some kind of force option
alimajed93
Hi @artf , Oh I see. Can you please give me some examples of why we added this check? I mean what problems were we having and were solved by this check? Thanks.