Blazored / TextEditor

Rich text editor for Blazor applications - Uses Quill JS
MIT License
276 stars 58 forks source link

Focus #51

Closed Mark-Phillipson closed 2 years ago

Mark-Phillipson commented 2 years ago

Is it possible to, perhaps using JavaScript interop, to focus the text editor when the page loads?

The elements does not appear to have an ID.

ADefWebserver commented 2 years ago

I will try to add an id to the div in the next few weeks when I have time.

I considered adding a "focus", but creating 'handlers' has a significant performance penalty. Also, people could have multiple instances of this control on a page so I would not know which instance to provide focus to.

Thanks

ADefWebserver commented 2 years ago

This is now fixed.