GrapesJS Issues

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

1,399 issues found

πŸ” outdated
#1641Dec 8, 2018by weedkiller2 answers
0 reactions

ASP sample

hi, a request can you please include an asp sample

artf

@weedkiller this is the issue tracker for the grapesjs library. Try to ask samples on SO

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.

#1640Dec 8, 2018by northkode2 answers
0 reactions

Loading a new module into the editor

I have built a fully working page management system into the editor but I wasn't quite sure the proper way to inject the panel into the editor without doing the below code so i'm looking for some advice if this is not correct. I have a Page Plugin that I load in: The page-editor plugin basically loads in a custom pane...

artf

Hi @northkode modules are only used internally by GrapesJS, it's not something you have to deal in your plugin, just init all your stuff inside your plugin function

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.

#1639Dec 7, 2018by SeongwoonHong3 answers
0 reactions

Would it be possible to have change settings under style manager in a way that it has href when a link is created?

I'm using preset newsletter with built-in RTE (do not want to use ck editor like the demo) In order to make any text to link, i need to click the link button in the RTE and lose the focus and re-click the text again in order to see Settings that has href in it. Is there any way to do it in a way that the moment i clic...

artf

@SeongwoonHong you can do whatever you want by adding your custom action to RTE https://grapesjs.com/docs/api/richtexteditor.html#add

SeongwoonHong

@SeongwoonHong you can do whatever you want by adding your custom action to RTEhttps://grapesjs.com/docs/api/richtexteditor.html#add @artf I can't figure it out.. could you give me a sample code if you don't mind...? Can't figure out how t...

artf

Settings/Traits are for components. When you select the text there are no component, just a text, so probably you have to create your own panel (or Modal) with all the fields

#1638Dec 7, 2018by Abhisheknanda13444633 answers
1 reactions

How to stop css repeatition

hi @artf here is my code of Export-template i make it editable Also, i add a media-query to display in view code with this editor.setComponents(mycss) when i update something form this button it'll work fine but i am using it in my rails app by including minified version . and when update something in rails all media-...

artf

Update your grapesjs and next time, please, create a live demo of your issues

Abhisheknanda1344463

Thanks @artf yeah definitely :)

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.

#1637Dec 7, 2018by suresh51 answer
0 reactions

Need example JSON Response from remote to render template

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

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.

#1636Dec 6, 2018by prina923 answers
0 reactions

Unable to Insert Images into 1 Section Layout on Safari

Hello! This is an issue that only happens on Safari. We detected it on our project and thought there was something wrong with our code but found later that this issue is reproducible on https://grapesjs.com/demo-newsletter-editor.html Steps:On Safari go to https://grapesjs.com/demo-newsletter-editor.html and clear the...

alimajed93

Hello @prina92, @artf , I found a solution for this. I will be creating a MR for the 'grapesjs-preset-newsletter' project that will fix this issue. The problem mainly was in the HTML of the 1 section block. Regards.

artf

Thanks @prina92 for the report and @alimajed93 for the incoming PR. I'm gonna close this issue as is not related to the core itself

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.

#1635Dec 6, 2018by frasza2 answers
0 reactions

Text component behaviour

We are having issues using Text component where its behaviour is different when using Enter for new paragraph or using double Enter where we would like to insert some space between. If we use single Enter in Text component this is the result: But if we use Text component with two Enters for one extra free line, this i...

artf

You're storing the template incorrectly https://grapesjs.com/docs/modules/Storage.html#setup-remote-storage

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.

#1634Dec 6, 2018by alialrabi2 answers
0 reactions

Action on built in checkbox traits

i want to add action to built in checkbox trait when i checked it

artf

Read here first https://grapesjs.com/docs/modules/Traits.html

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.

#1633Dec 5, 2018by SeongwoonHong3 answers
0 reactions

Editor.runCommand('gjs-get-inlined-html') returns undefined (preset-webpage)

Hi, Artur I'm using grapesjs-preset-webpage v0.1.10, grapesjs v0.14.29 I'm trying to save templates with inline css rather than having classes. but editor.runCommand('gjs-get-inlined-html') returns undefined. I've read your comments regarding this on other issue tickets but you said it's for newsletter. is it not avai...

SeongwoonHong

P.S) Just tested on newsletter, it also returns undefined..

artf

You're not using the latest versionWebpage preset doesn't have gjs-get-inlined-html command, but you can copy it from the newsletter preset if you need itIt works here https://grapesjs.com/demo-newsletter-editor.html

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.

#1631Dec 5, 2018by rajeshmaropost2 answers
0 reactions

How to display Css in Code viewer in newsletter plugin?

Hi @artf i want to display my css in replace of protectedCss: '* { box-sizing: border-box; } body {margin: 0;}', how can i achieve in newsletter plugin when i write css property it'll reflected in editor but not seen in code Viewer

artf

The export command in the newsletter plugin doesn't take into account protectedCss, you can submit a PR if you want

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.

Browse all topics