getSanitizeMode
Function: getSanitizeMode()
getSanitizeMode(
modes,path):string
Defined in: packages/core/src/contexts/sanitize.ts:422
The sanitization mode of a path, among the modes of an input schema
Parameters
modes
the modes per dotted path (see getSanitizeModes)
path
string[]
the path of a value, in segments
Returns
string
the mode (none, html or markdown), undefined for the default sanitization