didi / didi/AgileTC

部分xmind版本复制的时候前端报错,无响应

Open
#163 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
727
Forks
284
PR merge metrics
No merged PRs in 30d

Description

还有复制xmind内容到页面的时候 这里有个空索引问题 这里是按照\t 进行索引判断的。 有些xmind版本中间会漏一层 导致这里抛异常。目前没有好的解决方案. 只能在clipboard.js外层事件层做一个错误提醒了
![image](https://github.com/didi/AgileTC/assets/135015332/a628b5b3-8e3b-44a1-877a-f73b52965c0a)

Contributor guide

Open the contributing guide

Research direction

Start at the outer event layer around clipboard.js and reproduce the error by copying XMind content with a missing tab-index layer. The issue describes the desired outcome as showing an error reminder instead of allowing the page to become unresponsive; no specific source file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.