- Fix: the edit/new admonition modal sometimes failed to update the live sample (icons
not appearing, "hide trigger" not taking effect). Trigger matching now reads the code
span's raw text instead of the renderedinnerText, which could intermittently come
back empty or whitespace-trimmed, and the sample is reset cleanly on each change so
stale classes no longer accumulate.