Verified Commit a708e542 authored by Dave Long's avatar Dave Long
Browse files

Issue #3443527 by godotislate, smustgrave: Setting empty URL when making...

Issue #3443527 by godotislate, smustgrave: Setting empty URL when making embedded media a link in CKEditor5 causes JS errors
parent cbd461cc
Loading
Loading
Loading
Loading
Loading
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ function upcastMediaLink() {
        const linkHref = viewLink.getAttribute('href');

        // Missing the `href` attribute.
        if (!linkHref) {
        if (linkHref === null) {
          return;
        }