Documentation
Please add to the documentation of the Editor control that it uses \r line endings on Windows. One would expect it to be \r\n, which is the normal line ending for Windows. Also please provide an example how to convert line endings from \r to \r\n. Something like this:
#if WINDOWS
string textWithWindowsLineEndings = Editor1.Text.Replace("\r", "\r\n");
#endif
Feature
One could also think about adding a feature for doing this automatically to .NET MAUI.
Related Info
microsoft/microsoft-ui-xaml#1826