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

Method appendStringWithAttributes

src/trix/models/html_parser.js:249–251  ·  view source on GitHub ↗
(string, attributes)

Source from the content-addressed store, hash-verified

247 }
248
249 appendStringWithAttributes(string, attributes) {
250 return this.appendPiece(pieceForString(string, attributes))
251 }
252
253 appendAttachmentWithAttributes(attachment, attributes) {
254 return this.appendPiece(pieceForAttachment(attachment, attributes))

Callers 4

appendBlockForElementMethod · 0.95
processTextNodeMethod · 0.95
processElementMethod · 0.95

Calls 2

appendPieceMethod · 0.95
pieceForStringFunction · 0.85

Tested by

no test coverage detected