Ajax call which is uploading image file in assests folder It's working fine to add an image from the local. But in another scenario, It's not working. Please have a look Drag image block Select an image Delete that image Add the same image again on same the place, "uploadFile" function is not calling It's not allowing...
artf
We have to clear the file input once the image is selected
Visit https://grapesjs.com/demo.html in Chrome IncognitoClick the "Header" elementClick Decorations > BackgroundDelete Layer 2Click Layer 1Click "x" to delete the purple background imageNotice "GET https://grapesjs.com/none 404" error in the consoleClick "Images"Try to add any other new image, and nothing works
NicoEngler
I can confirm https://grapesjs.com/none 404 at step 7 tested in Chrome 72.0.3626.119 both normal & incognito mode.
NicoEngler
@artf I can't, adding images works (both normal & incognito mode).
ryancwalsh
Update: I just tried again on Win 10 Chrome Incognito Version 72.0.3626.121 (Official Build) (64-bit) using my original steps above. This time, the console error says Failed to load resource: the server responded with a status of 404 () no...
Hi @artf , I ran into a similar, if not the same issue as this one: #1327 While editing a text block, I click on an external button to get the contents of the canvas, without leaving the cursor from the canvas. At this point, if I call getHtml() or runCommand("gjs-get-inlined-html") (my grapesjs being loaded with the...
artf
Yeah, this is exactly how it works. I'll try to check if I'm able to merge the temporary state before getting the HTML data
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
1、移动画布 2、点击layerManager(如果不点击layerManager 不会出错) 3、画布里的提示框位置出错 1、 moving canvas 2、 click layerManager (If you don't click layerManager, it won't go wrong.) 3、 The position of the tip box of the picture is wrong.
artf
Thanks for the report @fulus06 can you provide a reproducible demo on https://jsfiddle.net/, please?
fulus06
@artf https://jsfiddle.net/fulus06/kqsezd0c/5/
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.
In my HTML code, I have some variable placeholders defined in element's class name or data attributes. For example, consider following code block, When I load this in the editor, it removes them and I can't get them back while exporting the code via editor.getHTML(). So, the result of above code is as below, If you se...
artf
The escape function is applied in the Selector model. I think it might be a good idea to provide some option as a custom escape strategy.
Hello artf, I have a Problem with the Insertion Placeholder Marker. When you insert a component in a Flexbox-Parent it is always vertical (as normally required). But if you change the flex-direction property to column, the items are sorted vertically, so the Placeholder should be horizontal, as for example block items...
artf
Thanks @ProfSaputo I'll fix it in the next release
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.
The credentials options its forced to be 'include' on Remote Storage. https://github.com/artf/grapesjs/blob/master/src/storage_manager/model/RemoteStorage.js `
arthuralmeidap
Created MR #1705
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.
Your method "hideToolbar " does not provide for a situation where the text editor is greater than 100px. As a result, its piece is visible in some situations (for example, at the beginning of the customRte.enable method)
artf
Can you provide a live example? I'd expect the toolbar to be hidden due to display none
goremykin
Can you provide a live example? I'd expect the toolbar to be hidden due to display none If you connect CKEDITOR according to this instruction: https://grapesjs.com/docs/guides/Replace-Rich-Text-Editor.html#interface Put a breakpoint at the...
goremykin
Just need to take into account that I have a large size ckeditor (more than 100px)