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

Function withTextAttributeConfig

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

Source from the content-addressed store, hash-verified

367}
368
369const withTextAttributeConfig = (attrConfig = {}, fn) => {
370 withConfig("textAttributes", attrConfig, fn)
371}
372
373const withConfig = (section, newConfig = {}, fn) => {
374 const originalConfig = Object.assign({}, config[section])

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…