BLOCKED_TAGS
const
Form & Input
Tags whose entire subtree is removed (not just unwrapped) by the rich Textarea HTML sanitiser. Their inner text is also dropped. Mirrors the OWASP HTML Sanitizer "blocked content" list.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- 'script'
- JavaScript execution — fully removed.
- 'style'
- Inline stylesheet injection — fully removed.
- 'iframe'
- Frame embedding — fully removed.
- 'object'
- 'embed'
- 'form'
- Form nesting — fully removed.
- 'svg'
- 'math'
- 'link'
- 'meta'
- 'base'
Ecosystem
Used by
Composables and components that consume this constant.
OrigamTextarea
Usage
Examples
Ready-to-paste code snippets using this constant.
Checking if a tag is blocked