πŸ‡ΊπŸ‡ΈUnited States @chuck_theobald

Account created on 28 June 2016, over 8 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States chuck_theobald

The solution to my issue in #13 has been identified by caspervoogt (#57 in https://www.drupal.org/project/drupal/issues/3075527 πŸ› Adding links around embedded media through CKEditor might lead to invalid/complex markup when rendered Active ) and works for my sites as well. Odd side-effect. Removing that filter does not appear to negatively affect the content manager experience.

πŸ‡ΊπŸ‡ΈUnited States chuck_theobald

#57: ++
Finally getting back to this and can confirm that caspervoogt's solution works for my sites as well.
Thank you!

πŸ‡ΊπŸ‡ΈUnited States chuck_theobald

I cannot create a link around a Drupal Media Image in content. When inserting an image, I have the link button in the insert media mini-window and it saves without complaint, but when rendered, the link is stripped out. I am running Drupal 9 and 10 with CKEditor 5. Not sure what I am missing, some module or the order of filters, which is:

  • Convert line breaks into HTML (i.e.
    and

    )

  • Linkit URL converter
  • Convert URLs into links
  • Align images
  • Caption images
  • Embed media
  • Display embedded entities
  • Apply responsive behavior to HTML tables.
  • Display UO Calendar Entities
  • Correct faulty and chopped off HTML
  • Advanced Insert View

Advice wold be greatly appreciated.

πŸ‡ΊπŸ‡ΈUnited States chuck_theobald

Viewing the front page of one of my sites generated WSOD. I've got a few other sites on the same composer.json that are not showing this error.
I'm reverting to 10.2.2 until this is fixed without needing a patch.

πŸ‡ΊπŸ‡ΈUnited States chuck_theobald

On Drupal 10, CKEditor 5, fully updated Media tooling:

FWIW, the issue I am seeing is a link with no content, followed by the image.

Seen in CKEditor Source mode:

test media image link

Β  β†’

Delivered to the browser:

test media image link

β†’




Moving "Convert line breaks into HTML (i.e.
and

)" to last in the processing order fixed the linking issue. My filter processing order:

Convert URLs into links
Advanced Insert View
Restrict images to this site
Align images
Caption images
Embed media
Display embedded entities
Linkit URL converter
Correct faulty and chopped off HTML
Convert line breaks into HTML (i.e.
and

)

πŸ‡ΊπŸ‡ΈUnited States chuck_theobald

Thinking this should be part of out-of-the-box Drupal. One example where this would be useful is in breadcrumbs. Changes that would modify the breadcrumb for a page are not effective until the cache clears out. For intance, a content manager can add a new level to breadcrumb paths with changes to URL aliases, but they have no way of seeing this take effect without having an admin flush the caches.

For now, it looks like leymannx's contribution https://www.drupal.org/project/rebuild_cache_access β†’ is the answer.

Production build 0.71.5 2024