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

Function insertAttachments

src/test/test_helpers/editor_helpers.js:29–32  ·  view source on GitHub ↗
(attachments)

Source from the content-addressed store, hash-verified

27}
28
29export const insertAttachments = function (attachments) {
30 getComposition().insertAttachments(attachments)
31 render()
32}
33
34export const insertImageAttachment = function (attributes) {
35 const attachment = createImageAttachment(attributes)

Callers 2

trix.jsFile · 0.85

Calls 2

renderFunction · 0.70
insertAttachmentsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…