Issue #3443527 by godotislate, smustgrave: Setting empty URL when making embedded media a link in CKEditor5 causes JS errors

merge-requests/7888/head
Dave Long 2024-05-01 20:59:29 +01:00
parent cbd461cc32
commit a708e542dd
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -53,7 +53,7 @@ function upcastMediaLink() {
const linkHref = viewLink.getAttribute('href');
// Missing the `href` attribute.
if (!linkHref) {
if (linkHref === null) {
return;
}