Uno: Implement RichEditBox

Created on 19 Aug 2020  路  4Comments  路  Source: unoplatform/uno

What would you like to be added:

RichEditBox

Why is this needed:

We need to use this control in our project.

For which Platform:

  • [x] iOS
  • [x] Android
  • [x] WebAssembly
  • [ ] WebAssembly renderers for Xamarin.Forms
  • [x] macOS
  • [ ] Windows
  • [ ] Build tasks
  • [ ] Solution Templates
aretextblock kinenhancement projectext

Most helpful comment

This is by no means feature complete but an alternative would be to leverage any of the existing javascript editors and embed them using a webview (and inline with wasm).
I've got a sample project that illustrates hosting markdown.js and pdf.js in order to view markdown and pdf documents. I haven't thoroughly tested it on every platform but it seems to work well as a way to leverage JS libraries
See https://github.com/nickrandolph/UnoWebComponentSample

All 4 comments

To be honest, I'm a little worried about those "not yet implemented" controls. I imagine the job it is to migrate them (among all other tasks and functionalities and bugs you have to do as well). However, that means I cannot use my apps properly on Android (or any platform but UWP) until these controls are implemented, right ? And I don't know neither when I will be able to deploy them (it could be in 2 years 馃槰...)

Have you a roadmap about it ? What's planned for 3.1, 3.2 releases ?
I like Microsoft's approach with the .NET project. They have preview official releases (leading to a nuget package release) and for each release a post in their blog explaining what's new and changed.

I would love to have a section in the documentation giving a general overview of releases, a roadmap with shipping dates and a vision of WinUI coverage progression.

By the way, thank you again for your hard and excellent work on Uno Platform !

RichEditBox is a cpmplex control to port and we dont have an underlying implementation that can easily be reused. It's one of a few controls that will be a real challenge.

As for roadmap, we're actively working on making something public so to ask the community for input/feedback.

Thanks for your patience, team worked on major foundations and control porting velocity should pick up.

Thank you @francoistanguay for the feedback. I鈥檝e seen the milestones and it goes in a right direction, as the community and the adoption grows.

Concerning the RichEditBox, I searched how it could be rendered on Android. Not an esay job, as you said...

Basically I use it as a Markdown editor. But with the coming implementation of WebView.NotifyScript (for 3.1 release he he), I could maybe use a javascript editor as a workaround.

This is by no means feature complete but an alternative would be to leverage any of the existing javascript editors and embed them using a webview (and inline with wasm).
I've got a sample project that illustrates hosting markdown.js and pdf.js in order to view markdown and pdf documents. I haven't thoroughly tested it on every platform but it seems to work well as a way to leverage JS libraries
See https://github.com/nickrandolph/UnoWebComponentSample

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PylotLight picture PylotLight  路  3Comments

TonyHenrique picture TonyHenrique  路  3Comments

JanabiSoft picture JanabiSoft  路  3Comments

chrisevans9629 picture chrisevans9629  路  4Comments

paulovila picture paulovila  路  3Comments