Changeset 0.37.19 (#232)
Co-authored-by: gobha <jasafpro@gmail.com> Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
// then post-processes wikilinks into clickable chips
|
||||
// and transclusion blocks.
|
||||
// Independently importable.
|
||||
//
|
||||
// NOTE (CR P3-17): Uses raw DOM (innerHTML, querySelector, addEventListener)
|
||||
// for post-render wikilink processing. This is intentional — Preact renders
|
||||
// the initial HTML, then this module post-processes specific elements for
|
||||
// interactive behavior. The lifecycle is managed by the parent component.
|
||||
|
||||
const WIKILINK_RE = /(!?)\[\[([^\[\]|]+?)(?:\|([^\]]+?))?\]\]/g;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user