Skip to content

Commit

Permalink
upcast for class in image link
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Jan 30, 2025
1 parent a7d774a commit 1fa4c2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ class IbexaEmbedImageEditing extends Plugin {
upcastWriter.setAttribute('ibexaLinkHref', link.getAttribute('href'), modelElement);
upcastWriter.setAttribute('ibexaLinkTitle', link.getAttribute('title') ?? '', modelElement);
upcastWriter.setAttribute('ibexaLinkTarget', link.getAttribute('target') ?? '', modelElement);
upcastWriter.setAttribute('ibexaLinkClasses', link.getAttribute('class') ?? '', modelElement);
}

return modelElement;
Expand Down

0 comments on commit 1fa4c2a

Please sign in to comment.