-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AEM: Make side panel AI and content creation dialog work for Content Fragments #23
Comments
To switch the editing on for content fragment editors, it's necessary to override the default exclude "/content/dam/.*" for deniedPaths in the configuration . If there is no Sling Context Aware Configuration in place, that'd mean configuring the "Composum AI Permission Configuration" in the Felix Console : create a configuration if there is none and remove the /content/dam exclusion. (If you're deploying from the source, you could also change |
In the content fragment editor : The first problem is a CSS one: when the dialog in the sidebar AI gets longer than the screen, the history buttons get trashed as in the screenshot, despite having the same CSS code (from the Composum AI side) as in the other dialogs. |
This happens only on AEM cloud SDK, not on AEM 6.5 - it actually works there: The much more difficult second problem is that the rich text editor in the content creation dialog throws an exception in initialization and doesn't work. To reproduce that one needs a content fragment with a richtext editor in it, and to open the content creation dialog from there. You get exceptions in the Chrome inspector:
and if you later click into the source editor you get the following error, which is likely a consequence:
The initialization of the richtext editors normally happens due to the event 'foundation-contentloaded' that is triggered for the content creation dialog in registerdialogs.js showCreateDialog , which is something I mostly guessed and experimented. But that doesn't seem to work here for some reason. The code in ContentCreationDialog.js might be relevant, but not likely. |
In content fragments I had several problems on AEMaaCS: the layout of the buttons of the side panel AI is trashed when scrolling around, and there are exceptions within richtext editors in the content creation dialog. I assume this is because of some libraries not being loaded.
As a workaround for now I have disabled the AIs in registerdialogs.js isDisabled for /content/dam .
Rechecked: still appears in version 0.6.0 of Composum AI for the cloud SDK.
The text was updated successfully, but these errors were encountered: