Hi Artur, I had forgot to say i am using latest version, i am sorry for that. I want to add a plugin for editable social media icons, image url and link href in component settings. Something like this: I create a new trait type and i want to add multiple editable input something like above image. I tried to create inp...
nojacko
@alperenuzun Did you figure this one out?
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, I've just created a custom plugin of the RTE using different libraries like CKEditor 5, TinyMCE 4 or pell but all of them with the same result that the editor is losing the focus so the buttons are not applying to the text content. So on the image above if I press on Bold button then the effect is not applie...
artf
To be honest, I don't know but maybe this happening because by clicking outside you're unfocusing from the input, indeed, you should probably append those buttons inside rteToolbar which has this listener on(rteToolbar, 'mousedown', e => e...
jmtt89
How you solve this? i can't find a working example with Pell, CKEditor 5 or TinyMCE :/
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.
@artf I want put all default blocks to category named "Basic". But I can't find any documents about it. I use editor.BlockManager.getAll().reset(); removed all blocks then use plugin "grapesjs-blocks-basic" to create "Basic" but anything still removed. Or I just add a category to "gjs-blocks-no-cat", but I can't find...
AnkitKachhadiya
Hey @MooseFrankenstein Refer this codepen it might help you Codepen Demo Please Try this code:const bm = editor.BlockManager; editor.on('load', () => { editor.BlockManager.render([ bm.get('column1').set('category', ''), bm.get('column2').s...
manishkumaruit
Hi @artf , I am using your plugin and i want to use blocks in different tabs like blocks,widgets and grids but when i am using the properties of blockManager like blockManager : {appendTo: '#blocks'}. Its showing all blocks in single tabs...
FrankiYu
@AnkitKachhadiya Thanks for your help. bm.get(id).set('category', 'your own category'). It works for me. Thanks again. π
Hi, artf Thanks for your great work. I would like to integrate this great editor with angular. I integrated this Angular 6 it working nicely. But i have one doubt is it possible to submit the contact form details with form group of angular and show error messages.
artf
If you need to use libraries inside your final templates you have to implement custom components with javascript https://grapesjs.com/docs/modules/Components-js.html#basic-scripts
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 there, Components parameters are not allow us to pass a custom specific className, p.s: I don't want to pass the className inside the content.... Is there a way to do that ? Or we should build a plugin for that ?? Thanks !
ploutos27
fixed:
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.
#1277 is closed but issue still exist so i have to post as new issue Thank you for the help for earlier @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: "unsubscribelink", attributes: {href...
artf
Seems like it doesn't update on the first reset but it actually reacts on changes, indeed you're able to clean it after the first change. I'll check it
artf
@AnkitKachhadiya the fix will be available in the next release
AnkitKachhadiya
Thank you @artf for your atttention please let me know when its solved
I've created a simple block content with a custom data-gjs-custom-name = "test". When i save the page i cant see those attributes on the generated HTML. Then, when i load that HTML, those custom components appears as BOX. Is there any way to keep those attributes?
artf
No, those attributes are only used for the import. Please, learn how to store correctly your templates https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates
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, I have a list of email template (page 'templates') and there is a button that open the edit (page 'templates/edit/:templateId'. All works fine, but when I go back into the templates' list I get this error in the console: core.js:1624 ERROR TypeError: Cannot read property 'body' of null at Object.getBody (grapes.mi...
artf
Do you use the latest version? The error appears only in the templates list? So, does it work when you click back to the edit page?
no-response[bot]
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take ac...
cmoutafidis
I sometimes get the same error whenever I hit ctrl+c. Grapesjs is integrated with angularjs.
I'm trying to implement an example as in a demo, namely: when clicking on a background image installation, a window pops up offering you to download files or select from already downloaded ones. Uploading to the server I successfully implemented, the files are loaded, saved in the desired folder, after they appear in...
artf
Hi @Barahten please try to provide a live demo for your issues, just can't help you without seeing how you set up the editor.
Barahten
@artf, work on real server http://gjs.barahten.com/ Pen - https://codepen.io/barahten/pen/QBygdY The script works a little strangely. On the local server it works by uploading files to the folder but does not work on adding to the manager,...
artf
Regarding the first pointBut when updating the page and repeating all the above manipulations, the asset manager (the one on the left is empty). First of all, update the library, 0.12.17 is too much outdated actually BTW, just to give you...