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

(cherry picked from commit 74f01afaa1)
merge-requests/7514/merge
nod_ 2024-04-30 07:27:55 +09:00
parent dfcd148f25
commit e71f1e9313
No known key found for this signature in database
GPG Key ID: 76624892606FA197
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;
}