Open TanjimaKothiya opened 7 months ago
func insertImage() { let selectedRange = context.selectedRange.location let richTextInsertion = RichTextInsertion<ImageRepresentable>.image(selectedImage ?? UIImage(), at: selectedRange, moveCursor: true) context.handle(.pasteImage(richTextInsertion)) context.isEditingText = true }
Hi @TanjimaKothiya
This is currently not supported. You could inject custom views for this, but resized images are a bit tricky without having a fixed "page size".