setHighlightRegistry
setHighlightRegistry(
registry):void
Override the HighlightRegistry used by all Editor instances.
Useful for testing environments where CSS.highlights is unavailable.
Pass undefined to revert to the default CSS.highlights.
Parameters
Section titled “Parameters”registry
Section titled “registry”HighlightRegistry | undefined
Returns
Section titled “Returns”void