Skip to content

HookEvent

Unofficial

Event data passed to DOMPurify hooks during sanitization.

Import:

import type { HookEvent } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface HookEvent

Properties

Property Type Description
allowedTags Record<string, boolean> Record of currently allowed tags.
tagName string The tag name of the current element being processed.