Cant Paste Debug Info Inside Codeblock

I’m having issues trying to paste in the debug info from AnkiDrod inside a code block in this site. It probably has to do with the newlines in-between every line? I am not sure.

Maybe we should be allowed the previous legacy text editor without a live preview so that I can set my own backticks, if that’s possible.

This is what I was trying to paste in the codeblock.

AnkiDroid Version = 2.22.0beta2 (01328a9fc8e15c75f5cb98a5268d9ba04ca51353)

Backend Version = 0.1.59-anki25.07.3 (25.07.3 65b5aefd0705463cb12e72e254f798f90c96e815)

Android Version = 11 (SDK 30)

ProductFlavor = full

Device Info = realme | realme | RMX2193 | RMX2193 | RMX2193 | mt6768

Webview User Agent = Mozilla/5.0 (Linux; Android 11; RMX2193 Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/138.0.7204.169 Mobile Safari/537.36

ACRA UUID = cf265e01-9693-407f-984d-61ddf9698fac

FSRS = 4.1.1 (Enabled: true)

Crash Reports Enabled = true

Yeah, it’s a bit glitchy. When I paste from the clipboard, it only shows the first line, but when I paste it by long pressing then selecting paste (I’m on Android), it pastes the whole thing.

There is however a toggle in the upper left corner to switch to a monospace unformatted mode.

1 Like

Ignore previous post, will test on android one sec

Weird issue, will check on Discourse meta

AnkiDroid Version = 2.22.2 (44bf67dc264fa0a99d44e84ed518e3a4dd8b0367) 

The 1st one is pasted in the rich text editor after clicking the code/preformatted block button –

image

– the 2nd one in the markdown editor between backticks. They seem the same to me [on Windows, using Chrome].

But if you are having problems with the new editor, I think you’ll have to consult with Discourse about those. Or just disable it in your own window using the switch.

image


AnkiDroid Version = 2.20.1 (e32a82c33646807ea19623c9c88be38965bc07e6)

Backend Version = 0.1.48-anki24.11 (24.11 c47638ca36f99dd4f3b81ae82d964aec66e392e0)

Android Version = 12 (SDK 32)
AnkiDroid Version = 2.20.1 (e32a82c33646807ea19623c9c88be38965bc07e6)

Backend Version = 0.1.48-anki24.11 (24.11 c47638ca36f99dd4f3b81ae82d964aec66e392e0)

Android Version = 12 (SDK 32)