Open
Description
I would like to insert an NSAttributedString at the current cursor position. This should be possible with the paste() function.
How do I do this?
let insertion = RichTextInsertion<NSAttributedString>(
content: attributedList,
index: context.selectedRange.location,
moveCursor: true
)
context.paste(insertion)
won't do anything.