Skip to content

FIX: Clean up stale BBScript preview handlers - #156

Open
Mondrethos wants to merge 2 commits into
mainfrom
fix/bbcode-script-lifecycle
Open

Mondrethos wants to merge 2 commits into
mainfrom
fix/bbcode-script-lifecycle

Conversation

@Mondrethos

@Mondrethos Mondrethos commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Previously, BBScript preview decoration could leave stale event listeners and initialize scripts after their content had been replaced.

This change cleans up replaced handlers and keeps lazy initialization scoped to the active post, targeting main independently with the shared CI maintenance from #152.

@Mondrethos
Mondrethos force-pushed the fix/bbcode-script-lifecycle branch from aaa8bc8 to 8fb1a69 Compare September 18, 2026 15:05
@Mondrethos
Mondrethos force-pushed the fix/bbcode-disclosures branch from a78e2d4 to 2fbc152 Compare September 18, 2026 15:05
@Mondrethos Mondrethos changed the title Clean up BBScript preview handlers and stale initialization FIX: Clean up stale BBScript preview handlers Sep 18, 2026
@Mondrethos
Mondrethos changed the base branch from fix/bbcode-disclosures to main September 18, 2026 15:05
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.

1 participant