#692December 28, 2017by TWCM3 answers
Hi @artf , After pull the new commit, i get the error on IE, can you please take a look for this? Thanks.
artf
That code is from the webpack dev server and honestly, have no idea why you get CORS issues here. What about another browser?
TWCM
Chrome has same result.
TWCM
Sorry, my bad, i used the testing script and put into server. I rebuild the script is fine.
#690December 28, 2017by TWCM3 answers
Hi @artf , The case is "switch-visibility" command stopped, then click the preview button or trigger preview command, it will go to preview mode, when exit the preview mode, the "sw-visibility" command ran, it haven't save the state before go to preview mode and cannot reset the visibility after stop the preview comma...
TWCM
Hi @artf, I found that the command running sequence when click the preview button: Is it a bug ? this running sequence make me cannot get the correct classname of canvas' body. so cannot store the state before run the preview command. I ca...
artf
@tommywulove I tried this in the demo and the sequence seems correct
TWCM
@artf but why i click the preview button, it will trigger the stop command once , then run the command ?
#689December 28, 2017by HarshOB3 answers
Hello @artf Is there any methods to manipulate the input value of an attribute that is passed through traits. Like I passed value Hello in trails title and it is appended to HTML attribute like title="hello" but I want to change the value after like I write Hello in traits but it is appended as StringHelloString and i...
artf
Hi Harsh, Is there any methods to manipulate the input value of an attribute that is passed through traits. Nope, probably the best you can do is creating a custom Trait and override onValueChange but take care also on how you will retriev...
HarshOB
Thanks for the reply but as I told you (#647) that custom traits value is not getting in HTML 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.
#688December 27, 2017by applibs3 answers
Can you change your core to multilanguages from separated localized files? Can not believe that project like this is hardcoded!
applibs
In your #74 roadmap is nothing about translation and what with other improvements when nothing is possible translate or to much complicated / code? By me most first improvements is translation possibility over extra files because when as s...
artf
Hi @standus I explain here #26 why there is no reason to have i18n module
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.
#687December 27, 2017by TWCM3 answers
After update the component attributes using editor.on('component:add',function(){}); The blue box item(it mean the action icon) is not correct. The copy icon should not show. Javascript var hasClass = function(model, className){ return model.get('classes').where({name: className}).length; } var updateProperty = functi...
artf
@tommywulove ok I close this then @ryandeba As you already mentioned the toolbar is created when the component is initialized so, honestly, I don't see it as a bug and overall, your snippet should work well. BTW thanks for your willingness...
ryandeba
Hi @tommywulove, I believe the "blue box item" that you're referring to is the component toolbar. All of the toolbar buttons are created for each component as that component is initialized; changing a property (like copyable) does not auto...
TWCM
Hi @ryandeba , Thanks for your reply. I found that the component:add event is not suitable for my case, so i used component type to solve my problem. I updated the component type and added some new component type to control which action ca...
#686December 26, 2017by z1lk3 answers
If the target value (i.e. Component attribute/prop) is set manually and not via the trait input element, the input doesn't reflect that change. Sorry for all the issues--I'm willing to work on this if you want any help.
artf
Refactored TraitView for such functionality, will be added in the next release. ThanksSorry for all the issues Reporting bugs it's already an aid :)
shkoliar
Calling of selected.sm.trigger('change:selectedComponent') updates trait input elements with new values of selected component.
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.
#684December 26, 2017by afotey2 answers
Is there a way to enable dragging and dropping of single column spaces to sit side by side within the editor? As it stands, there doesn't seem to be a way to do this. Once you drag a block into the editor, that block spans the width of the entire editor screen with no way to place another column next to it, even in th...
afotey
@z1lk has provided a Bootstrap 4-driven solution which works fine! https://github.com/z1lk/grapesjs-blocks-bootstrap4
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.
#683December 26, 2017by suchithmahadi2 answers
Hello @artf , Any possible way to import back the zip file itself, which is generated by grapes js? Thanks.
artf
Hi @suchithmahadi first of all, exporting the zip is done by this plugin and not inside the grapesjs core. Besides this, there is no such functionality so you have to implement it by yourself (eg. using jszip)
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.
#682December 26, 2017by chiqui3d3 answers
Hello! I would like to know if you can create BLOCKs with options such like style manager, i. e. not drag, showing options in the same sidebar. Thanks
artf
Hi @chiqui3d you can create blocks with an object as a content with all available properties
artf
@artf I don't want it to be draggable and I don't want to drag it into the canvas. I just want to click on the Link Replace block button, this show an input to put URL and a submit button (these options as Style Manager does, which shows t...
chiqui3d
Hello @artf , Nothing happens, I mean that I have created a block, and clicking doesn't do anything, componets is not the attribute to display the html? here my code: The only thing I want to do, is to show an input URL type, for replace a...
#681December 25, 2017by vishal50332 answers
Hi, We have hide the toolbar using gjs-data-* properties. It is successfully hidden. But in firefox when you scroll down , it again pops up on the same element. before scroll. after scroll. Can you please guide us? Thanks
artf
Thanks @vishal5033 I found the bug, it should be fixed in the next release.
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.