CKEditor crashes when clicking near inline code with link text
State: TriageckeditorUI
### Description
CKEditor seems to crash when clicking around the boundaries of inline code that has just had a link applied.
## Reproduction Steps
1. Write inline code (e.g. "\`test\`").
2. Select the inline code and press CTRL+V to paste a link into it.
3. Click just next to the inline code on the left/right boundaries (immediately before the text or immediately after the link arrow).
### TriliumNext Version
0.104.1
### What operating system are you using?
Ubuntu
### What is your setup?
Local + server sync
### Operating System Version
Debian 6.12.63-1
### Error logs
```json
[
{
"message": "unexpected-error\nRead more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-unexpected-error\nOriginal error: TypeError: can't access property \"values\", this._visibleStack is undefined",
"stack": "getPositionOptions@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:140805\nS/decorate/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:28486\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:24863\nS/decorate/this[e]@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:28537\n_showView@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:143120\nremove@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:140429\n_hideToolbar@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:224049\n_updateToolbarsVisibility@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:223827\ninit/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:222738\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:24863\nupdate@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:129574\neo/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:96955\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:24863\n$a@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:96786\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:96302\njs/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:3:2079\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:24863\nchange@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:3:5436\n_disableRendering@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:3:6063\nFl/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:3:80263\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:24863\n_runPendingChanges@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:3:199424\nchange@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:3:197300\n_overrideGravity@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:191276\n_enableClickingAfterNode/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:11:190296\neo/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:96955\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:24863\n$a@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:96786\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:96302\n_handleSelectionChange@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:147641\nobserve/<@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:146374\nfire@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:24863\nt@https://pkm.edoyen.com/src/dist-Sc_lY_w3.js:1:34155\n",
"filename": "https://pkm.edoyen.com/src/dist-Sc_lY_w3.js",
"lineno": 1,
"colno": 22956,
"date": 1787067516113
}
]
```
0 条评论