microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.36k stars 678 forks source link

Proposal: Availability of RichEdit MathML #4196

Open BreeceW opened 3 years ago

BreeceW commented 3 years ago

Windows 10, version 2004 introduced the RichEditTextDocument.SetMathMode API. While it has always been “a limited access feature” in Windows.UI.Xaml, Microsoft.UI.Xaml as of WinUI 3 (preview 4) does not have any of the RichEdit math APIs at all.

The mode of the control I am referring to is illustrated in the screenshot of Windows Calculator’s graphing mode below. Windows Calculator on the graphing page, emphasizing the math input control

I would like to know if math mode is intended to return in WinUI 3.x, hopefully not as a limited access feature (and maybe be made unrestricted in Windows.UI.Xaml in the meantime?). Having such a powerful control built in would be a major plus for WinUI.

StephenLPeters commented 3 years ago

@MikeHillberg FYI

chrisglein commented 3 years ago

Primarily WinUI 3.x is first tackling lifting the modern UWP set as is. Which would imply this remains a limited access feature for now (under the assumption that things work as they did before, as much as possible). But it's a valid question as to whether/when this should open up. I don't have the history on this but I'll try to track it down.

itsWindows11 commented 1 year ago

Any news about MathML in WinUI 3 yet?

yoshiask commented 1 year ago

This would be a very helpful feature in plotting and note-taking apps.