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