MCPcopy
hub / github.com/slab/quill / replaceWith

Method replaceWith

packages/quill/src/modules/syntax.ts:83–86  ·  view source on GitHub ↗
(name: string | Blot, value?: any)

Source from the content-addressed store, hash-verified

81 }
82
83 replaceWith(name: string | Blot, value?: any) {
84 this.formatAt(0, this.length(), CodeToken.blotName, false);
85 return super.replaceWith(name, value);
86 }
87}
88
89class SyntaxCodeBlockContainer extends CodeBlockContainer {

Callers 2

optimizeMethod · 0.80
exitMethod · 0.80

Calls 2

formatAtMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected