I want to set href for link block as there is empty href by default.
maryia-kabash
@AnkitKachhadiya you can change it by going to "Component settings" tab (gear icon). The same is for link block.
artf
@AnkitKachhadiya you can also update dynamically the default one
AnkitKachhadiya
Thank you for the help Can you please re-open these issue @maryia-kabash @artf I have made a custom block for my custom link see code:editor.BlockManager.add("unsubscribe-block", { label: "Unsubscribe", content: { type: "link", content: "u...
Hi @artf! I'm working to adapt your content builder in our system using the latest release v.0.14.21. I have set up the following configuration of the StorageManager: storageManager: { type: 'remote', stepsBeforeSave: 1, autoload: true, autosave: false, urlStore: '/save', urlLoad: '/load', contentTypeJson: true }, Wit...
jvillena
Thanks a lot! It works like a charm! Great Job. We are going to work in different new plugins so we will include them as open source as well. I'll keep you inform.
artf
We're using fetch under the hood so check this out https://stackoverflow.com/questions/36669911/post-not-retrieving-data-from-javascripts-fetch and let me know
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.
The asset manager window is kinda tiny. If you're selecting from thousands of product images, the user experience becomes quite limited. It would be great if you could increase the size of the window, and also support basic filtering of images using a textbox.
artf
For the size of the window, I think it's just a matter of adding some CSS. For the basic filtering, it's a bit different, you can do it by yourself actually (create the element, on change filter rendered assets and, for example, append the...
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.
Creating a Plugin to use GrapesJS with Plone. GrapesJS Version: Latest When using the setComponent() function, we are scraping the HTML content from one page and setting it as the content for GrapesJS to edit/manipulate. The Component is then dropped into the Canvas along with the data-gjs- attributes are applied and...
We wants to add pre define style on hover of the button .We know we need to define the state attribute for the block but don't know how to write it can you please provide a example.
artf
Just add the style inside the block
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.
Good day I am struggling to save content appended using javscript as HTML, Instead it saves the script that does the appending. Is there a way to get the rendered HTML? Thanks WARNING READ and FOLLOW next 5 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grapesjs/...
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.
We are saving the components to the MySQL database .So when we load the components we don't get updated value for example in asset manager the images present in it are 4 and we add one image and save it then whenever we edit the image we see only those 4 images even we have uploaded many images after that to asset man...
artf
Assets have nothing to do with components, you have to store them too. https://github.com/artf/grapesjs/wiki/Assets
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 @artf, currently i am working on php,wordpress and grapesjs.What I wanted here is.., how can I add the php functions inside the iframe of the editor??? this is for getting the things same as that of wordpress used..! and is that possible, if i add something(wordpress styles) outside of the editor and that affects i...
artf
Hi @roufriyas you can use PHP to render templates dynamically but it doesn't make sense use PHP functions inside the iframe (probably only as a variable placeholder). I'd recommend asking such a question in some WP related forum
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.