Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
Rich Text Web Component Copy and Paste
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Rich Text Web Component Copy and Paste (Read 8163 times)
Gary C.
Posts: 109
Rich Text Web Component Copy and Paste
«
on:
April 08, 2022, 03:09:28 pm »
Hi
It appears that one cannot paste clipboard contents into the rich text editor web component.
Does anyone know if this is intended behaviour or am I missing a property I can set?
We are using 3.20.
Thanks
Gary
Reuben B.
Posts: 1119
Re: Rich Text Web Component Copy and Paste
«
Reply #1 on:
April 11, 2022, 12:56:32 am »
What are you pasting? is it something that could be typed into the Rich Text Editor?
is there a difference between right-click Paste and right-click Paste and Match Style.
Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
Gary C.
Posts: 109
Re: Rich Text Web Component Copy and Paste
«
Reply #2 on:
April 11, 2022, 01:42:25 pm »
Hi Reuben
Thanks for replying.
The actual scenario was a user trying to copy text previously entered into a TEXTEDIT control.
They could paste the content into Notepad and Word, just not the rich text component.
I had only being trying the ctrl-v shortcut, but paste and match style from the context menu worked.
Gary
Reuben B.
Posts: 1119
Re: Rich Text Web Component Copy and Paste
«
Reply #3 on:
April 12, 2022, 01:24:43 am »
Interesting. Using a clipboard viewer it appears that the clipboard buffer is populated with html when copying from a TEXTEDIT. Even if explicitly state that textFormat="plain". Hence not being able to paste into the fglrichtext unless you select "Paste and Match style".
I have created a task to double-check that what we are doing when copying from TEXTEDIT is correct. It might not be taking textFormat="plain" and textFormat="html" into account.
Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
Reuben B.
Posts: 1119
Re: Rich Text Web Component Copy and Paste
«
Reply #4 on:
May 03, 2022, 01:30:35 am »
Gary,
For me, there is an improvement between GDC 3.20.20 and GDC 3.20.21. There isn't an identifiable issue but there is a Qt upgrade that might be responsible. So if you have not already, double check with latest 3.20 GDC. The clipboard maybe populated with appropriate content that the fglrichtext web component can interpret.
Reuben
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...