#1639December 7, 2018by SeongwoonHong3 answers
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
#1638December 7, 2018by Abhisheknanda13444633 answers
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.
#1637December 7, 2018by suresh51 answer
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.
#1636December 6, 2018by prina923 answers
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.
#1635December 6, 2018by frasza2 answers
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.
#1634December 6, 2018by alialrabi2 answers
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.
#1633December 5, 2018by SeongwoonHong3 answers
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.
#1632December 5, 2018by cnaa973 answers
Hello. I want to dev some of feature to control the table. There are many feature for table the other editor like add columns, rows, set color, reset column width for each cell... I just have a dev plan to implementation on below..add a button on block manager this is a dummy table 3x3. each cell have a text component...
shubhd47
Hey, @cnaa97 No worries I have added the default commands in the toolbar. I got what I wanted. Thanks for helping. Below is the code
artf
The content inside the component definition is for static text (eg. the content is used for editing with Rich Text Editor) so you can't select its element once added, instead you should use components: '<tr data-gjs-type="row" ...'You can...
cnaa97
Thanks for your kindness answer.
#1631December 5, 2018by rajeshmaropost2 answers
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.
#1629December 4, 2018by Brandonwaichunyu3 answers
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...
abhi-161994
hi @Brandonwaichunyu Visit this https://github.com/artf/grapesjs/issues/174
Brandonwaichunyu
Grapesjs- When i drag and drop the video into the canvas, i want it to be selected on Component Setting right away? Any codes for it?
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.