Pasting HTML clipboard into FMX TRichEditView

General TRichView support forum. Please post your questions here
Post Reply
bruce
Posts: 18
Joined: Sat Nov 27, 2021 3:38 pm

Pasting HTML clipboard into FMX TRichEditView

Post by bruce »

I have discovered that html clipboard isn't accounted for when pasting (it just pastes as plain text).

In searching the forums here there was mention of the RichViewActions having code showing how to use the TrvHtmlImporter.LoadHtml or LoadFromClipboard (using a temp TRichEditView and streams to paste at the cursor position).

But I can't find RichViewActions with the FMX version. I realize it may not have been ported, but is there a way to get a copy of the code that allows Paste to take the HTML clipboard into account?

- Bruce
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Pasting HTML clipboard into FMX TRichEditView

Post by Sergey Tkachenko »

Sorry, it is not supported yet.
TrvHtmlImporter is ported to FireMonkey, but without LoadFromClipboard method yet.
It will be added in one of future updates (but after porting to Android).
Post Reply