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.
Hi guys and thank you for your magnificent work and this API! I have a question about the box, which wraps all components after saving. For example lets say I have custom element something like <div class="myclass" data-gjs-type="custom"></div>. After saving the template and reloading it for farther editing in layer p...
cjpollard
Same issue as https://github.com/artf/grapesjs/issues/1554 .
vvladev
O, yes, I'm sorry! Thank you, cjpollard !
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 tried this to update trait selection. var updateTrait = function(id, name) { var typeTrait = model.get('traits').where({name: 'type'})[0]; var options = typeTrait.get('options'); options.push({value: id, name: name}); typeTrait.set('options', options); }; But after click the element, it shows this error and the trai...
AkibDeraiya123
Hey @boris1989529 I am also stuck at this point to update the traits dynamically even in scenario i also need to push the option into the once of my trait. Did you got any solution for this? It would be your pleasure if you can share the s...
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 Everyone I'm loving Grapesjs so far - thanks for all your work on it. I'm in the process of trying to set up storage for whole page templates which will be written to a MongoDB via mongoose.GrapesJS Version: 0.14.40OS: Ubuntu 17.10 Looking at the HTTP responses I seem to be able to store and receive them ok. My Exp...
sambarnes90
Ok here's what I missed for future reference. The way I've set the 'new' store URL is incorrect here: That's not actually setting the variable correctly. I needed to use the .get() method on StorageManager to get the storage I was working...
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 all, I'm using grapesjs - 0.14.33. I have successfull implemented StorageManager in remote mode, I can load and store data. I have successfull implemented AssetManager, I can load/upload image. I'm not able to understand why asset correctly upload are not shown in asset pop up window (select image) I have read docs...
FjStudioDev
Found workaround follow this #372
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.
Hello all, i'm currently trying to move away from ckeditor (used in an legacy app to create emails and microsites). This works very well actually, but i have the need to insert Placeholders/Tags/Merge Fields however you want to call them, into the text (like [[salutation]] [[firstname]] etc.). So at first i looked at...
maxeckel
Nevermind ๐คฆโโ๏ธ I found the issue, i thought my local dev env would be using the grapesjs version (14.40) installed via npm, but it was loading an older (10.7) version from unpkg... that's what caused the problem. I hope this will atleast...
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 implemented a small GrapesJS editor that allows to edit Django/Jinja2 templates. GrapesJS by default is trying to GET the image preview of my element: <a href="{{producturl}}" target="blank"><img src="{{imageurl}}" width="130"/></a> The request happens everytime I load the template into the GrapesJS editor: http://l...
artf
Hi @mathiasbc by using the latest https://github.com/artf/grapesjs/releases/tag/v0.14.43 It should work with something like this
artf
Hi Mathias, currently the only possibility I see now is to extend the image component and its render() method. Probably I'll add some new component event to make such a case easier to manage
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, this is not really an issue but more a question. I'm currently using custom blocks in my GrapesJS editor. This is how I create them : It works fine but for file optimization is it possible to load the content of the block like this : Can't achieve this.. Thanks for answers !
artf
No @ThomasLaigneau you have to manage that by yourself, eg.
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, In your Components & JS documentation, it is mentioned that scripts can be added into the "block" section under a script attribute. However, after some trial and error, whenever the page is saved and reloaded, the script seems to have disappeared. When I tried to add the script into the "model" section instead, it...
artf
Probably you're not storing correctly https://grapesjs.com/docs/modules/Storage.html BTW you can add a script inside blocks but I highly recommend creating a custom component for that case
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 waonder if it would be possible n styles managemenet to get any way to change more than one property with an ony control Example: center a div is got in CSS setting the two side margins to auto, the I'm looking for a way to get a control that set this both properties to auto with just a button (I think grasperjs cal...
artf
You should create a new custom type of input by using StyleManager.addType Unfortunately that part still missing the documentation, for now, you should expect the code of some available plugins, like: grapesjs-style-gradientgrapesjs-style-...
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.