#1749January 24, 2019by aaronseanph3 answers
@artf comment in #208 this is working in older versions but not in 0.14.50. Is there any work around available? I've tried adding it in plugins as per #1254 but no luck. Thanks!
artf
ok now I get it... you were talking about comments in the canvas... Well, to be honest, I don't think you need to care about what you see in the canvas (the important part indeed is in toHTML of the comment component).In any case, you can...
artf
It works for me with the latest version https://jsfiddle.net/06L5ng19 Next time, create a reproducible demo before opening a BUG issue, thanks...
aaronseanph
Hi @artf , thanks for your time. The issue is happening when adding comments to blocks html. I've updated your code and added some test block with comments inside it: https://jsfiddle.net/orn4jqw7/1/
#1748January 24, 2019by AkibDeraiya1233 answers
Hello @artf You are doing great job with grapesjs and it's extremely helpful to make our functionality more user friendly. Thanks for creating such a amazing open source lib. I want to know that suppose i want to prevent drag of all html content like div, ul, li, etc then how can i? I guess i just need to add some con...
artf
Start from reading this: https://grapesjs.com/docs/modules/Components.html then check all the available properties on Components: https://grapesjs.com/docs/api/component.html
AkibDeraiya123
Hello @artf I have one div which class is like testing and i want to restrict the child items of this div with class testing then how can i do this? Can anyone guys help me to figure it out? Thanks in advance.
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.
#1747January 23, 2019by SeongwoonHong1 answer
Hi Artur, I have this checkbox underneath the editor. If you click it, it will load extra custom components. and if you un-click it, those extra custom components should be disappeared. Is it possible? and if so, could you give me an example code of how to do it? I really appreciate it Thank you.
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.
#1746January 23, 2019by sankaran852 answers
Hi Team, We have noticed grapesjs has customised the actual template uploaded, by stripping off the html, head and body tags and adds new style tag in the content, Which we don't want to happen. Is it possible for grapesjs editor to output html without altering the basic structure of the imported template. We looked f...
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.
#1745January 23, 2019by sankaran853 answers
Hi Team, We are using grapesjs newsletter plugin in our project for importing and preview the template. We are facing some difficulty in retaining the template structure which we import in to grapesjs editor. Please check the below example IMPORTED HTML EXPECTED OUTPUT ACTUAL OUTPUT , what we get from editor using the...
wimurk
@artf i am. First get the html with ->getHtml then put it in an dom element. Then extract the body en remove the title, meta, etc from the dom. Then extract the html again. Long live JQuery. But still would be a great feature to do all tha...
artf
<img width="1253" alt="5" src="https://github.com/GrapesJS/grapesjs/assets/11614725/830ea394-773f-4d76-8ea0-37af7e250760"> Added the possibility of importing HTML documents https://github.com/GrapesJS/grapesjs/pull/5895
artf
Currently, the editor imports only the content inside the body. To make it understand also other document nodes, it'd require a refactor of the current HTML parser
#1744January 23, 2019by sankaran851 answer
Hi Team, We are using grapesjs newsletter plugin in our project for importing and preview the template. We are facing some difficulty in retaining the template structure which we import in to grapesjs editor. Please check the below example IMPORTED HTML <!DOCTYPE html> <html> <body> <h1>Grapesjs </h1> <p>My first grap...
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.
#1743January 23, 2019by sankaran851 answer
Hi Team, We are using grapesjs newsletter plugin in our project for importing and preview the template. We are facing some difficulty in retaining the template structure which we import in to grapesjs editor. Please check the below example IMPORTED HTML <!DOCTYPE html> <html> <body> <h1>Grapesjs </h1> <p>My first grap...
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.
#1742January 23, 2019by 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.
#1741January 23, 2019by ateebahmed3 answers
I have built a page and want to render it on frontend, the strategy I have implemented is to save my HTML and JSON style object and on frontend passing both of them. Then I initialize GrapesJS and set its style to the JSON I got from DB, then getting the CSS from that object. when rendering editor when rendering front...
artf
Read here about storing templates in DB: https://grapesjs.com/docs/modules/Storage.html#setup-remote-storage On the front-end, you don't need the editor, just print the HTML and CSS stored in your DB
ateebahmed
Read here about storing templates in DB: https://grapesjs.com/docs/modules/Storage.html#setup-remote-storageOn the front-end, you don't need the editor, just print the HTML and CSS stored in your DB Actually I can't store CSS along with HT...
#1740January 22, 2019by ateebahmed2 answers
When I try to put background color on a 1 column row element, it is inlined in the editor and not bind with id, it has unique id, and when I save the HTML and styles json and render it back then its not saved either and the final HTML, if I open the Export option, it is there in CSS bonded with id but somehow the styl...
ateebahmed
in editor config, set avoidInlineStyle to 1. From demo page latest configurations, I updated the library but saw this change on demo page now. Thanks
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.