gdscript-online.github.io
gdscript-online.github.io copied to clipboard
Unable to copy paste code copied from firefox into editor
I am running firefo under linux.
I tried to copy some complicated code from gist.github.com to the editor but it doesn't handle the clipboard like any sane editor should.
This is a Godot bug. It might be fixed in the 3.2.4 betas, but I'm not sure as clipboard support in HTML5 is really difficult to get right: https://github.com/godotengine/godot/pull/29298
In the meantime, try using a Chromium-based browser, it might work better.
Still present, I think it might be a clipboard-reading permissions issue, as Edge (Chromium) requests permission to read the clipboard data), but this does not happen on other websites, such as GitHub.
but this does not happen on other websites, such as GitHub.
Other websites don't need to use the clipboard API when you press Ctrl + C or Ctrl + V, since they use native DOM rendering, not a canvas rendered via WebAssembly.
Also, the hosted version of GDScript Online isn't updated to Godot 3.3 yet – it's still on 3.2.3 as of writing.
@Calinou try using chrome and click allow to read your clipboard and you will see the text you pasted but if you did'nt click ctrl+v at the same time!!
@Calinou try using chrome and click allow to read your clipboard and you will see the text you pasted but if you did'nt click ctrl+v at the same time!!
I've found that using the right-click → Copy/Paste TextEdit contextual menu works more reliably, but it still only works in Chromium-based browsers in my experience.
I tried using ctrl c and ctrl v and it works fast and no probs
@CoderDood Please use the Edit button (hidden behind the … icon on the right of your comments) instead of multi-posting.
Should work with custom firefox config, see https://github.com/godotengine/godot/issues/57382#issuecomment-1262280650