CMS (Grapes JS)
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
CMS (Grapes JS)
2022.10 branch.
Hello!
I can't find how to enable drag and drop feature of GrapesJs cms.
I tried like this, but it doesn'work:
Hello!
I can't find how to enable drag and drop feature of GrapesJs cms.
I tried like this, but it doesn'work:
Code: Select all
assetManager: {
assets: [],
noAssets: '',
stylePrefix: 'am-',
upload: '',
uploadName: 'files',
headers: {},
params: {},
credentials: 'include',
multiUpload: true,
autoAdd: true,
customFetch: undefined,
uploadFile: undefined,
embedAsBase64: true,
handleAdd: undefined,
beforeUpload: undefined,
showUrlInput: true,
custom: false,
dropzone: true,
openAssetsOnDrop: true,
dropzoneContent: '',
},
- Attachments
-
- grapes1.png (236.2 KiB) Viewed 3866 times
Re: CMS (Grapes JS)
It seems to me like the file drag option (gjs-am-file-uploader class selector) has just been hidden.
It doesn't seem to be supported, because they want to work with the "Media" items in Aimeos.
You would have to implement the logic for uploading images through the drag feature yourself, or just use the "Media" tab.
It doesn't seem to be supported, because they want to work with the "Media" items in Aimeos.
You would have to implement the logic for uploading images through the drag feature yourself, or just use the "Media" tab.
Re: CMS (Grapes JS)
Thank You!kdim95 wrote: ↑04 Jul 2023, 13:12 It seems to me like the file drag option (gjs-am-file-uploader class selector) has just been hidden.
It doesn't seem to be supported, because they want to work with the "Media" items in Aimeos.
You would have to implement the logic for uploading images through the drag feature yourself, or just use the "Media" tab.