Pasting HTML clipboard into FMX TRichEditView
Posted: Mon Sep 05, 2022 11:59 pm
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
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