Why were the changes not included in version 11.1.2? I had to re-apply the patch #13.
Ok. 2.0.x-dev fixes the problem.
Ok #13 solves in D11.1.1.
On my theme I applied this css, but I don't know if it works on yours too:
.field--type-text-long img:not(img.align-center),
.field--type-text-long video:not(video.align-center),
.field--type-text-long embed:not(embed.align-center),
.field--type-text-long object:not(object.align-center),
.field--type-text-with-summary img:not(img.align-center),
.field--type-text-with-summary video:not(video.align-center),
.field--type-text-with-summary embed:not(embed.align-center),
.field--type-text-with-summary object:not(object.align-center) {
display: inline-block;
}
I tried applying patch #16 on Drupal 11.1.1 but the problem is not solved.
I inserted the slideshow into the site, it came out well: https://prova.gmpe.it/euganei/fauna-euganea.
It is inconvenient to have to insert the number of pages in the view.
Best regards
Thanks for all the customizations.
Best regards
Is it possible to fix this for Drupal 11 too?
I can't publish my site with a warning every 10 seconds.
It came out great!
Thank you so much and best regards
Great! It works perfectly.
Thanks and best regards
Thanks! That was the problem. I forgot to check.
Sorry for the inconvenience.
Best regards
The sidebar menu must have a curse.
On drupal 10 it works as expected, while on drupal 11 there are no the arrows, yet the sites are identical.
Compare https://www.gmpe.it/rocce/rocce and https://prova.gmpe.it/rocce/rocce
What could it depend on?
Thanks and best regards
Unfortunately I can't use composer because it is not included in the hosting plan.
I have been using the module for years and I had never been asked for this library. I don't understand why it happens now.
Thanks and best regards
I found an even simpler solution: I changed the video resolution.
I would have found an alternative solution:
- I create an html page
- I call the page with glightbox-inline
It works with Edge and Chrome, but not with Firefox
- The page is the one in #1: https://prova.gmpe.it/chiavi-riconoscimento-minerali.
- Chrome 131.0.6778.205
- anonymous user
- No specific error in "recent log messages", but a warning for all pages visited: #3
- No problem with drupal 9 and 10
Thanks and kind regards
Unfortunately the problem is not solved. I noticed that with Chrome some views are not shown.
I installed version 11.1.0., but the problem persists.
giordy → created an issue.
I found a way to center the images, so the problem is circumvented by avoiding putting the p and div tags.
Kind regards
The author of the Solo theme, provided me with some css to add to my custom theme.
Now it works perfectly.
Kind regards
Thank you so much. It works perfectly.
I tried to insert a block, but the result does not change.
Maybe it is better that I remove the reset button.
Thanks and kind regards
In the page source there is class="align-center"
and "align-right"
: center does not work, right works.
I will try to contact the theme author, but I don't think this is the problem because it occurs with all the themes I use.
I usually align images in another way, but this problem is related to this other one:
https://www.drupal.org/project/drupal/issues/3489646
🐛
CKEditor 5 moves some classes in the a tag
Active
One or the other must be solved, unless a Drupal version of Colorbox-inline arrives.
Thanks and best regards
Sorry, but I don't understand English well and I have to use Google translate.
1. I answered: I use the Solo theme
https://www.drupal.org/project/solo →
2. I'm not very experienced and I don't know what to look at. the test page is this: https://prova.gmpe.it/prove
Thanks and best regards
I use the Solo theme, but I've always had this problem with other themes and other versions of Drupal.
https://prova.gmpe.it/prove
1. I Click on the IMCE button (fig. 1).
2. I Select the image (fig. 2).
3. I Select "align center" (fig. 3).
4. Check the source code (fig. 4).
5. I Save.
6. The image is aligned to the left (fig. 5).
I have a similar warning with drupal 11.0.9 for every page visited. It must have appeared after one of the latest core updates.
The site with drupal 10.3.10 has the same pages and settings, but there is no warning.
I don't know how to fix it.
Thank you
Warning: Undefined array key 1 in Drupal\Core\Asset\AssetResolver->getJsAssets() (line 243 of /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Asset/AssetResolver.php)
#0 /home/hmcpdbiy/prova.gmpe.it/core/includes/bootstrap.inc(108): _drupal_error_handler_real(2, 'Undefined array...', '/home/hmcpdbiy/...', 243)
#1 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Asset/AssetResolver.php(243): _drupal_error_handler(2, 'Undefined array...', '/home/hmcpdbiy/...', 243)
#2 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(286): Drupal\Core\Asset\AssetResolver->getJsAssets(Object(Drupal\Core\Asset\AttachedAssets), true, Object(Drupal\Core\Language\Language))
#3 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(123): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object(Drupal\Core\Asset\AttachedAssets), Array)
#4 /home/hmcpdbiy/prova.gmpe.it/core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php(97): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse))
#5 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php(45): Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse))
#6 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(246): Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#7 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#8 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.response', Object(Symfony\Component\HttpKernel\Event\ResponseEvent))
#9 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(216): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response')
#10 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(204): Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object(Drupal\Core\Render\HtmlResponse), Object(Symfony\Component\HttpFoundation\Request), 1)
#11 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /home/hmcpdbiy/prova.gmpe.it/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /home/hmcpdbiy/prova.gmpe.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /home/hmcpdbiy/prova.gmpe.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/DrupalKernel.php(709): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /home/hmcpdbiy/prova.gmpe.it/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#24 {main}
Unfortunately none of the three methods work:
- div moves the class as p
- css does not center the image
CKEditor 5 sucks!
I found the problem: it's the p tag
It works if I put:
<a class="glightbox" href="/sites/default/files/tettonica/tectonics_map.gif"><img src="/sites/default/files/tettonica/vulcani.png" data-entity-uuid="" data-entity-type="file" alt="distribuzione di vulcani e terremoti" width="651" height="223"></a>
If instead I put:
<p class="text-align-center">
<a class="glightbox" href="/sites/default/files/tettonica/tectonics_map.gif"><img src="/sites/default/files/tettonica/vulcani.png" data-entity-uuid="" data-entity-type="file" alt="distribuzione di vulcani e terremoti" width="651" height="223"></a>
</p>
CKEditor moves the class and shows the wrong image:
<p class="text-align-center">
<a href="/sites/default/files/tettonica/tectonics_map.gif"><img class="glightbox" src="/sites/default/files/tettonica/vulcani.png" data-entity-uuid="" data-entity-type="file" alt="distribuzione di vulcani e terremoti" width="651" height="223"></a>
</p>
Unfortunately without the p tag I don't know how to center the images.
Thanks and best regards
I found the problem: it's the p tag
It works if I put:
<a class="glightbox" href="/sites/default/files/tettonica/tectonics_map.gif"><img src="/sites/default/files/tettonica/vulcani.png" data-entity-uuid="" data-entity-type="file" alt="distribuzione di vulcani e terremoti" width="651" height="223"></a>
If instead I put:
<p class="text-align-center">
<a class="glightbox" href="/sites/default/files/tettonica/tectonics_map.gif"><img src="/sites/default/files/tettonica/vulcani.png" data-entity-uuid="" data-entity-type="file" alt="distribuzione di vulcani e terremoti" width="651" height="223"></a>
</p>
CKEditor moves the class and shows the wrong image:
<p class="text-align-center">
<a href="/sites/default/files/tettonica/tectonics_map.gif"><img class="glightbox" src="/sites/default/files/tettonica/vulcani.png" data-entity-uuid="" data-entity-type="file" alt="distribuzione di vulcani e terremoti" width="651" height="223"></a>
</p>
Unfortunately without the p tag I don't know how to center the images.
Thanks and best regards
Maybe I didn't understand the problem (I don't know English and I use Google Translate) or I explained myself badly.
My problem is that the image captions are aligned to the right and I wanted them in the center, but I don't know how to do it.
Thanks and best regards
The Editor Advanced Link and Editor Advanced Image modules are regularly installed.
That is not the problem.
The module works with text, but does not work with two images.
I summarize the situation.
1. I insert an image with IMCE
2. I connect the image with another image
3. In the link I put the glightbox class
4. I save and check if it works: html has not changed
5. In the same page I copy the code of another page that originally had colorbox
6. I replace colorbox with glightbox
7. I save and check if it works: html has changed, the class has been moved from the link to the image
See the page https://prova.gmpe.it/prove.
In the same page I have two images, one works and the other does not. Absurd!
Practically, it only works on new images and not on existing ones.
I do not know how to solve the problem because I have dozens of images to replace.
Thanks and best regards
I checked with all browsers and the problem disappeared.
The warning, however, also concerns other pages.
I need to look into it because I don't understand anything about these things.
Thanks for everything
Now everything is visible perfectly.
There are no errors in the server and neither does Drupal report errors.
Instead there is this warning:
Warning: Undefined array key 1 in Drupal\Core\Asset\AssetResolver->getCssAssets() (line 130 of /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Asset/AssetResolver.php)
#0 /home/hmcpdbiy/prova.gmpe.it/core/includes/bootstrap.inc(108): _drupal_error_handler_real(2, 'Undefined array...', '/home/hmcpdbiy/...', 130)
#1 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Asset/AssetResolver.php(130): _drupal_error_handler(2, 'Undefined array...', '/home/hmcpdbiy/...', 130)
#2 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(279): Drupal\Core\Asset\AssetResolver->getCssAssets(Object(Drupal\Core\Asset\AttachedAssets), false, Object(Drupal\Core\Language\Language))
#3 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(123): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object(Drupal\Core\Asset\AttachedAssets), Array)
#4 /home/hmcpdbiy/prova.gmpe.it/core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php(97): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse))
#5 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php(45): Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse))
#6 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(246): Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#7 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#8 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.response', Object(Symfony\Component\HttpKernel\Event\ResponseEvent))
#9 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(216): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response')
#10 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(162): Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object(Drupal\Core\Render\HtmlResponse), Object(Symfony\Component\HttpFoundation\Request), 1)
#11 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /home/hmcpdbiy/prova.gmpe.it/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /home/hmcpdbiy/prova.gmpe.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /home/hmcpdbiy/prova.gmpe.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/DrupalKernel.php(709): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /home/hmcpdbiy/prova.gmpe.it/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#24 {main}
Thank you very much
Attached are the images of the buttons and filters, unfortunately in Italian, of full_html.
Instead of modifying the existing pages, I repeat the procedure on a new page: https://prova.gmpe.it/prove.
1. I insert an image with IMCE
2. I connect the image with another image
3. In the link I put the glightbox class
4. I save and check if it works: html has not changed
5. In the same page I copy the code of another page that originally had colorbox
6. I replace colorbox with glightbox
7. I save and check if it works: html has changed, the class has been moved from the link to the image
In the same page I have two images, one works and the other does not. Absurd!
Practically, it only works on new images and not on existing ones.
Unfortunately I have to replace all the colorbox in the site with glightbox because Colorbox Inline module it looks like it won't be there for drupal 11.
Thanks for your patience
1. https://simplytest.me/ does not work: There was a build error 60%
2. CKEditor 5 demo: the problem does not reproduce.
3. I create the page https://prova.gmpe.it/tettonica/attivita-sismica-vulcanica
4. In the source code I insert:
<p class="text-align-center">
<a class="glightbox" href="/sites/default/files/tettonica/tectonics_map.gif"><img src="/sites/default/files/tettonica/vulcani.png" width="651" height="223"></a>
</p>
5. I save.
6. I check the source code:
<p class="text-align-center">
<a href="/sites/default/files/tectonica/tectonics_map.gif"><img class="glightbox" src="/sites/default/files/tectonica/vulcani.png" width="651" height="223"></a>
</p>
7. The problem occurs in all pages with the glightbox class
8. In text formats there are no filters for glightbox
Thanks for the reply. Unfortunately I am not familiar with scripts and do not know how to use them.
I think I found the problem anyway.
In the documentation:
<!-- Simple image -->
<a href="large.jpg" class="glightbox">
<img src="small.jpg" alt="image" />
</a>
On my site I put:
<a href="/sites/default/files/tettonica/tectonics_map.gif" class="glightbox"><img src="/sites/default/files/tettonica/vulcani.png" width="651" height="223"></a>
I save, check the code and find:
<a href="/sites/default/files/tettonica/tectonics_map.gif"><img class="glightbox" src="/sites/default/files/tettonica/vulcani.png" width="651" height="223"></a>
CKEditor moved the class to the second image.
How do I fix it?
P.S. Did you see my question in https://www.drupal.org/project/glightbox/issues/3441244#comment-15863159 🐛 Setting description position not working Active ?
Thanks and kind regards
giordy → created an issue. See original summary → .
Where is this option? I can't find it in the settings.
Thanks and best regards
Thanks. I was used to Colorbox and I still have to get familiar with this module.
Kind regards
Sorry to reopen the post, but I noticed that if I click on the image, all the others are also visible, but no gallery is set.
How can I solve it?
Thanks and kind regards
Thank you so much, I hope to use it soon on the new site.
I noticed that Advanced Insert View BUEditor Integration is not enabled, but I don't think I need it.
Thanks again and best regards
Thanks for the quick response and the good news.
Best regards
I'm sorry to bring the post back up, but I wanted to know if there are any news on how to insert classes to images with Drupal 11, or if there are alternative solutions.
For sites with a lot of text and many images it is very complicated to go and look for the correct line in the source code to add the class.
Thanks and best regards
Perfect, thank you. Now it works as I wanted.
Thanks again and best regards
The problem is that I want the thumbnail because the original image is too big.
That's what I can't do.
Thanks and best regards
Thank you for your patience.
Attached when requested.
Best regards
Thanks for the reply.
I can't use composer because my hosting plan doesn't support it. My association doesn't want to upgrade because our site is small.
I'll wait for the next version of drupal.
Thanks and best regards
Thanks for the quick reply.
I must be doing something wrong because the view doesn't work.
- I created the new style: original size, no effects.
- In the content type I put: Image + original size.
- In the view I put: GLightbox + thumbnail
The preview is correct, but the view is not: https://www.gmpe.it/attivita.
Thanks and best regards
I opened an issue on the CKeditor site, but I haven't had an answer yet: https://github.com/ckeditor/ckeditor5/issues/17295
The problem is really annoying, because I can't apply somes css (line height, for example).
I understand that something is needed to load the library, but this does not solve my problem.
- I have an image in a node
- I modified the gmpe.info.yml file as indicated in point #2
What is still missing for it to work?
Maybe the Colorbox Inline module is needed, which does not exist for drupal 11?
Thanks
1. I have been using this module since version 6 and I have never had any problems, nor have I ever inserted anything into the theme to make it work.
2. Even on the site https://www.gmpe.it/, with 10.3.6 I have not inserted anything into the theme (fig. A).
3. On the site https://nuovo.gmpe.it/ with 11.0.5 I cannot insert anything because the theme is in the core.
4. On the site https://prova.gmpe.it/ with 11.0.5 I inserted as in comment #2, but it does not work (fig. B). See https://prova.gmpe.it/prove
5. If I also had to modify the gmpe.info.yml file to make the GLightbox module work, it means that there is a real problem with Drupal 11.0.5
- I created the new site https://nuovo.gmpe.it/ (Drupal 11.0.5) with cpanel. I can't use composer because it's not included in my hosting plan. For dependencies I use the Ludwig module.
- I installed three modules: Admin Toolbar, Ludwig, Colorbox.
- I installed the libraries: colorbox, dompurify.
- I created the page https://nuovo.gmpe.it/node/2
Colorbox doesn't work.
The site https://www.gmpe.it/ with drupal 10.3.6 was created in the same way and has the same configuration. Colorbox works perfectly. See, for example: https://www.gmpe.it/micrometeoriti
I tried to put
libraries:
- colorbox/colorbox
- colorbox/dompurify
but it doesn't work.
Thanks for the reply.
1. I have:
libraries:
- colorbox
- dompurify
and not:
libraries:
- colorbox/colorbox
- colorbox/dompurify
as in the site with drupal 10.
2. I put in the subtheme file gmpe.info.yml:
libraries:
- colorbox
- dompurify
but it doesn't work.
3. I tried the GLightbox module, but it doesn't work either.
I can't understand and I don't know what else to do.
Thanks and regards
No, I use ckeditor 5. There is no ckeditor 4 on drupal 11.
This is a fresh install.
I tried removing the js file and the site works the same.
I still need to put Expand all menu links.
Best regards
In the menu block I selected: Expand all menu links and now it works.
Strange, I had never selected this option.
Thanks and kind regards
- Drupal 10.3.6
- Linkit 7.0.0-alpha2
- CKEditor Anchor Link 3.0.0-beta1
I have the same problem as #52: when I insert the anchor it is deleted.
Thanks. It was the Menu Block module that was causing the problem. I uninstalled it and it deleted all menus. I had to re-insert them all.
There is still one thing that doesn't work: the submenu arrow appears only when you click on the menu.
See for example: https://www.gmpe.it/rocce/rocce
Thanks and best regards
#6 works perfectly with drupal 10, but not with drupal 11.
Are there any alternatives?
thanks
I did a fresh install with Drupal 11 and the problem is still there.
I'm sorry to reopen the post for the umpteenth time, but I'm recreating the site with Drupal 11 (https://prova.gmpe.it/) and the problem occurs again: the menu in the sidebar is horizontal.
I would like it to be exactly like on this site: https://cat-tobi.upf.edu/labelling_system/tonal_representation/pitch_acc...
- Drupal 11.0.5
- Solo 1.0.11
- CSS
#page-wrapper .navigation-sidebar-template ul li.is-active > ul {
display: block;
}
#page-wrapper .navigation__primary li {
--r-br: #B1B894; /* New border color */
}
#page-wrapper .navigation-sidebar-template li a,
#page-wrapper .navigation-sidebar-template li button {
padding-top: 4px!important;
padding-bottom: 4px!important;
}
- js
/**
* @file
* This file is to add any custom js for the Solo Sub-theme.
*/
((Drupal, drupalSettings, once) => {
'use strict';
Drupal.behaviors.addClassToParentUl = {
attach: function (context, settings) {
// Find all active list items within the context.
const activeItems = context.querySelectorAll('.navigation-sidebar-template ul li.is-active');
activeItems.forEach((item) => {
// Find the closest UL ancestor of the current item.
let closestUl = item.closest('ul');
// Add 'toggled' classes if not present.
if (!closestUl.classList.contains('toggled')) {
closestUl.classList.add('toggled');
}
});
}
};
})(Drupal, drupalSettings, once);
Where am I going wrong?
Thanks and best regards
I created a new site with drupal 11 and the same problem occurred: the anchor is deleted.
I uninstalled and reinstalled in a different order the CodeMirror, Editor Advanced Link, Linkit modules and the problem was solved. The same on a site with Drupal 10.
In a third site with d10, I tried everything but when I install Linkit the anchor is deleted.
I also tried to install CKEditor Codemirror but the report says that the libraries are not installed.
Thanks and regards
Thanks for the reply.
I have enabled the colorbox module and the report says that the colorbox library is not installed. I installed it manually.
There are no other files in the Libraries folder.
Thanks, I didn't notice the space. It works now.
Thanks, it works but I had to add !important.
Unfortunately, it doesn't work in images:
. middle {
vertical-align: middle;
}
but it's not important.
Thanks and best regards
Sorry for the very late reply, but I hadn't seen the posts.
1. Full html
2. Plugin settings:
- 17 styles configured
- Source editing:
3. Active filters
- Convert URL to Link
- Insert View
- Linkit URL converter
- img data-align
It works perfectly.
Thanks and best regards
I uninstalled the module. Attached is the result.
Thanks and best regards