Skip to content

preserve set link target - #260

Merged
pkliesch merged 1 commit into
mainfrom
CKE-112-preserve-set-target
Aug 6, 2026
Merged

preserve set link target#260
pkliesch merged 1 commit into
mainfrom
CKE-112-preserve-set-target

Conversation

@jens-meisner

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings August 4, 2026 11:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the LinkTargetModelView post-fixer logic so that an explicitly provided linkTarget (for example, coming from paste operations) is preserved and not overwritten by the computed default target for a URL.

Changes:

  • Skip default-target computation for inserted link nodes that already carry a linkTarget attribute.
  • Skip default-target computation for link child nodes when linkTarget is already present on the node.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pkliesch
pkliesch merged commit 53c1429 into main Aug 6, 2026
15 of 16 checks passed
@pkliesch
pkliesch deleted the CKE-112-preserve-set-target branch August 6, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants