-
Sorry for asking, but I'm not that familiar with Swift. Can someone give some help with this, please.
Thanks so far. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @karlmira The new way should be to trigger the action: context.handle(
.pasteText(
.init(content: "", at: context.selectedRange.location, moveCursor: true
)
) @DominikBucher12 Please correct me if I'm wrong. |
Beta Was this translation helpful? Give feedback.
-
Here, how it works:
|
Beta Was this translation helpful? Give feedback.
-
I think I'll add a paste function to the context as well, as a shorthand. Then, you'll be able to do |
Beta Was this translation helpful? Give feedback.
Here, how it works:
context.handle( .pasteText( .init( content: baustein.text ?? "", index: context.selectedRange.location, moveCursor: true ) ) )