Skip to content

Commit

Permalink
Update private/js/ckeditor5_plugins/cms-link/src/cmsLink.js
Browse files Browse the repository at this point in the history
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
  • Loading branch information
fsbraun and sourcery-ai[bot] authored Dec 18, 2024
1 parent ad2568f commit 843e8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/js/ckeditor5_plugins/cms-link/src/cmsLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default class CmsLink extends Plugin {
return;
}

const selection = editor.model.document.selection;
const {selection} = editor.model.document;
const cmsHref = selection.getAttribute('cmsHref');
const linkHref = selection.getAttribute('linkHref');

Expand Down

0 comments on commit 843e8f0

Please sign in to comment.