Inline ShownOnSelection only works once

I have a SfRichTextEditor in a SfDialog. I have this set:

<RichTextEditorInlineMode Enable="true" ShowOnSelection="true" />

The first time I double click some text, the inline toolbar displays. Then it doesn't work anymore.

Video
https://www.loom.com/share/3f45d63ba03749b196205213f7221390?sid=07969a62-a441-4574-b324-3bb13c1401c8

Sample Project
Please see attached. Be sure to set SF License in in Program.cs



Attachment: SFIssues_d8721fdc.zip

3 Replies 1 reply marked as answer

VJ Vinitha Jeyakumar Syncfusion Team February 19, 2025 07:23 AM UTC

Hi Brian Pautsch,

Your reported issue occurred due to the div added for the custom toolbar. And it can be resolved by using the ShowInlineToolbarAsync function as we suggested in the Forum #196152. So please check the sample attached in that forum which has resolved the reported issues.

Regards,
Vinitha

Marked as answer

BP Brian Pautsch February 19, 2025 01:50 PM UTC

Wow. I wouldn't have thought the extra HTML would have caused the issue, but I'm guessing the same classes as SF components confused the Editor. Thanks for the quick reply.



VJ Vinitha Jeyakumar Syncfusion Team February 20, 2025 05:41 AM UTC

Hi Brian Pautsch,


You are welcome.

Regards,
Vinitha

Loader.
Up arrow icon