AvaloniaEdit
AvaloniaEdit copied to clipboard
How to insert image?
So, does AvaloniaEdit support inserting image now?
AvaloniaEdit allows you to insert Avalonia controls, such as buttons or images, in the text.
Try clicking Add Button in the AvaloniaEdit.Demo.
To implement this, you need to create a custom generator derived from VisualLineElementGenerator and add it to _textEditor.TextArea.TextView.ElementGenerators. For more details, see the example in MainWindow.xaml.cs.