Editor updated? Issues with copy-pasting, brackets no longer auto-closing

Hello!

It seems the html code editor has been updated? I’m having big issues doing simple cmd+z copying suddenly. On top of that, css curly brackets are no longer self closing. This is quite confusing.

Additional issue: no longer getting editor colors for css, and copypasting a line introduces these artefacts:

background:%20linear-gradient(red,%20pink);$0

can you add a few screenshots to show what you are experiencing please?

or more detailed step by step instructions on how to reproduce

Hello!

I’m using the editor on the ipad, and noticed this issue after the new ”socrates” icon appeared.

This is how css looks now:

if I press ”cmd+C”, most of the time, nothing happens. Sometimes, after pressing multiple times for holding them down, it works. It works everywhere else, and pasting seems to work if i’m copying from some other source (notes app, safari, etc)

I also used to be able to copy single lines of css instructions, but this now replaces the spaces with %20 in the cases where i’m able to, in the css editor specifically.

The copying issue is true in both html and the css editors. The html editor does however do still autocomplete (), ””, etc, and provide editor colors. The css editor used to do autocomplete for curly brackets, but it does not anymore.

can you give exact steps for the %20 to happen please?

Generally, selecting a whole css ruleset like this and copying it with cmd+c and pasting with cmd+v, in safari on an ipad with a keyboard.

Right now, I’m basically fully unable to copy anything from the code windows at the moment, so it’s hard getting it to repeat. cmd+v and cmd+z works as normal, and i’m able to copy things from the instruction text, however.

Was able to get the editor colors back after restarting the ipad, so possibly some cached data there, but the copying error is consistent across browsers (safari, chrome).

it is not in general an issue with apple stuff, I can manage on my mac

are you able to give more precise details of device and browser you are using?

Safari and Chrome on a 2020 ipad pro, with a logitech bluetooth keyboard. The OS it at the latest update, 26.5.2

Copying works in the ios app on the same device, but remains nonfunctional in any browser i’ve tried. Even trying to copy specific sections with touch ”highlight and hold” doesn’t work, it just brings up this context window:

And it only lets me copy all the text in the code window.

Am I right to assume the editor has been updated somehow? This has never been an issue to me before, and I had not updated my device or browser when the problem appeared.

Additionally, copying using the on-screen keyboard icons works, but it is obviously less than ideal, since i’m using a physical keyboard.

I don’t have the setup to test this, are you willing to open a github issue with as much details as you can?

I’ve done so now!

Do you mind me asking if it’s correct that the editor has been updated in some way?

yes, there has been updates, but I don’t know if that’s related with your issue, or if it’s an update on the browser or something else

Hadn’t updated anything when the issue appeared. From the git submit, at least the touch interaction being broken seems to be definitively related to a recent update, but I still don’t know about the keyboard commands.