#1640  Pasting into code blocks sometimes does not work
Released
jbauer opened 6 months ago

I have an issue template for issues of type bug. When I create a new issue and change the issue type the template is inserted into the issue description box.

The template looks like

### Steps to reproduction

unknown

### Exception
```java

```

If I now place the cursor inside the empty row of the exception code block and try to paste the exception nothing happens. I have to delete the empty row, hit enter again and then paste works.

So far it happened in Safari 17.1 on macOS Sonoma 14.1

Robin Shen commented 6 months ago

Tried but can not get it reproduced. It will help a lot if you can investigate further to find the reproducing steps.

jbauer commented 6 months ago

Hi Robin,

Seems like I was wrong with Google Chrome. It only happens with Safari 17.1 on macOS Sonoma 14.1. Basically newest macOS. Also checked the Mac of a coworker and it also did not work.

Also it is not just between the code block ticks.

1: ### Steps to reproduction
2: 
3: unknown
4: 
5: ### Exception
6: ```java
7: 
8: ```

I can use keyboard cursor and move it to every line. Pasting text does not work in line 4 and line 7. All other lines work. Very strange.

Robin Shen commented 6 months ago

I am still on Ventura. Will check this after upgrading to Sonoma.

Robin Shen added to milestone "9.3.0" 5 months ago
OneDev changed state to 'Closed' 5 months ago
Previous Value Current Value
Open
Closed
OneDev commented 5 months ago

State changed as code fixing the issue is committed (39e7d797)

Referenced from commit 5 months ago
OneDev changed state to 'Released' 5 months ago
Previous Value Current Value
Closed
Released
OneDev commented 5 months ago

State changed as build #4330 is successful

issue 1 of 1
Type
Bug
Priority
Minor
Assignee
Affected Versions
9.2.5
Labels
No labels
Milestones
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1640
Please wait...
Page is in error, reload to recover