@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/
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.
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.
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...
artf
Duplicate of #1745
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 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
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.
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.
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.
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...
ateebahmed
@CaseJnr nope
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...
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.