Skip to content

Fix CodeTailor clipboard copy including distractor Parsons blocks - #1380

Merged
bnmnetp merged 1 commit into
RunestoneInteractive:mainfrom
aspadiyath:fix-codetailor-clipboard-distractor
Aug 17, 2026
Merged

Fix CodeTailor clipboard copy including distractor Parsons blocks#1380
bnmnetp merged 1 commit into
RunestoneInteractive:mainfrom
aspadiyath:fix-codetailor-clipboard-distractor

Conversation

@aspadiyath

Copy link
Copy Markdown
Contributor

The static/backup Parsons example path sent raw editor markup (--- separated blocks with #distractor/#paired/#settled tags) as the "solution" text, which the copy-to-clipboard button then copied verbatim, producing non-compiling code.

Filter distractor blocks and scaffolding tags out of the solution text while leaving the raw markup embedded in the puzzle widget's HTML untouched.

The static/backup Parsons example path sent raw editor markup (---
separated blocks with #distractor/#paired/#settled tags) as the
"solution" text, which the copy-to-clipboard button then copied
verbatim, producing non-compiling code. Filter distractor blocks and
scaffolding tags out of the solution text while leaving the raw
markup embedded in the puzzle widget's HTML untouched.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@aspadiyath
aspadiyath requested a review from bnmnetp as a code owner August 17, 2026 14:32
@bnmnetp
bnmnetp merged commit 0c138df into RunestoneInteractive:main Aug 17, 2026
2 checks passed
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.

2 participants