feat: add CommandLinkManager to intercept command links
Implement a component that uses event delegation to intercept clicks on markdown links starting with command prefixes (e.g., >roll, >spark). It dispatches these as journal stream messages based on the user's role (Observer, Player, or GM).
This commit is contained in:
@@ -15,6 +15,7 @@ import "./md-yarn-spinner";
|
||||
export { Article } from "./Article";
|
||||
export type { ArticleProps } from "./Article";
|
||||
export { RevealManager } from "./RevealManager";
|
||||
export { CommandLinkManager } from "./CommandLinkManager";
|
||||
export { ReactiveStatManager } from "./journal/ReactiveStatManager";
|
||||
export { MobileSidebar, DesktopSidebar } from "./Sidebar";
|
||||
export type { SidebarProps } from "./Sidebar";
|
||||
|
||||
Reference in New Issue
Block a user