GrapesJS Issues

3,464 parsed GitHub issues — 370 solved · 90 open. Search, filter and explore battle-tested answers.

829 issues found

🔍 question
#2572February 17, 2020by ahmeds632 answers
2 reactions

[QUESTION] Can we start from a default template rather than blank canvas?

Hi, Thank you for this great library! Very handy to use. I have implemented this on a project as per the clients' requirement. But they are wondering if they can start building from a default template like the one you have here in demo: https://grapesjs.com/demo.html is there a plugin for this or some boolean option t...

pouyamiralayi

2195 comment

ahmeds63

thanks that helped!

#2570February 17, 2020by h3llomoto3 answers
3 reactions

[QUESTION] 3rd party RTE integration

Hi there! Great work at grapesjs! Is there any list of external RTE's to integrate in grapesjs? I've spent a few days trying to integrate any, but still no results. If anyone already has a solution for integration other RTE's, please share them.

pouyamiralayi

#1697 comment for tinyMce and ckeditor plugin as a good example.

h3llomoto

@pouyamiralayi thank you. but earlier I checked tinyMCE thread and it seems that TMCE still doesn't work properly. and I've seen ckeditor. I'm looking for anything small and simply as quill, pell and so one.

h3llomoto

hmm, this is what i get after installing ckeditor4 and grapesjs-plugin-ckeditor and you can't say "ckeditor is small and simple' after I mentioned pell. it is really small and simple.

#2569February 14, 2020by jdillon0011 answer
1 reactions

[QUESTION] Show all block categories

Hi all, I am using the following bit of code to collapse all the block categories, what would the code be to expand them all?

pouyamiralayi

#318 comment

#2566February 13, 2020by jdillon0013 answers
1 reactions

[QUESTION] Color picker default colors

Is there a way to set a number of default colours to appear at the top of the color picker?

artf

jdillon001

Thank you! This may sound stupid, but is this documented somewhere, as I didnt find it in the official docs

artf

No, unfortunately not yet, the idea was to make the color picker replaceable, so I've planned to document it once the new API was ready

#2563February 11, 2020by KishanRavindran1 answer
0 reactions

[Question]After adding the forms plugin in grapesjs we are able to see bootstrap class properties in the stylemanager panel

In our project, we are using the grapesjs. In that, we have used the grapesjs Form. When we drag and drop the form to the grapesjs canvas. We see in the style manager the class properties of bootstrap. But we have added our own CSS in the grapesjs canvas object on initialization in code. As we have added our own style...

artf

You can extend the form component and add your classes

#2561February 10, 2020by Rasazna2 answers
1 reactions

How to add extra options to the block element next to delete option ?

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...

pouyamiralayi

@Rasazna if you want to do this only for a specific component, pencil button for image is a good example.if you want to do this for all the components, check initToolbar function. Cheers!

artf

@Rasazna FOLLOW the issue template

#2560February 10, 2020by Rasazna3 answers
2 reactions

can we design a asset manager for our component to give option specififc to it?

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...

pouyamiralayi

@Rasazna please refer to #2542 Cheers!

pouyamiralayi

@Rasazna if you want to create a custom version of asset manager (probably your use case), you must define your own particular modal which is explained in #2491 if you want to customize the current asset manager, #2504 & #2316 would be a g...

Rasazna

My component is Aggrid it is not image component . I have created a aggrid block element so when the grid is dragged and dropped , I want to provide a asset manager kind of option to set the grid options and i want the options to bind only...

#2557February 8, 2020by christiancannata1 answer
0 reactions

[QUESTIONS] Resize text size when resize component area with mouse

Is it possibile resize the text inside a text component when I risezie the component area with the mouse with ratio sizes? <img width="517" alt="Schermata 2020-02-08 alle 16 19 01" src="https://user-images.githubusercontent.com/4604959/74081888-bfafc380-4a8e-11ea-989f-ff9b80c04446.png">

artf

You should create a custom component which updates the component font-size on container resize (detect element resize)

#2556February 8, 2020by MatthewMariner2 answers
4 reactions

[Question] Limit UndoManager to X amount of steps

Use Case: Hey guys, I looked through the UndoManager API/Searched for issues - but I am unable to figure out how to limit the UndoManager. If I create a robust website and spend 30 minutes making it, it looks like I can ctrl + z all the way back to start. I'm thinking this could possibly slow down the Editor since it...

artf

MatthewMariner

Thank you @artf

#2555February 7, 2020by mario-digital1 answer
1 reactions

[QUESTION] Update min max values of vue-slider

Hello, Ive added vue-slider to my project and I am trying to set the min and max range on the sliders to go -100 to 100. However when I set them I get: [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based...

artf

Dude, this is Vue related question... btw, you just need to pass them in vue function render