MCPcopy
hub / github.com/basecamp/trix / withParserConfig

Function withParserConfig

src/test/unit/html_parser_test.js:365–367  ·  view source on GitHub ↗
(attrConfig = {}, fn)

Source from the content-addressed store, hash-verified

363})
364
365const withParserConfig = (attrConfig = {}, fn) => {
366 withConfig("parser", attrConfig, fn)
367}
368
369const withTextAttributeConfig = (attrConfig = {}, fn) => {
370 withConfig("textAttributes", attrConfig, fn)

Callers 1

Calls 1

withConfigFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…