fix: collapsed cursor cannot properly toggle underline/strikethrough …#354
Merged
Conversation
|
Note
详情{
"assets/web/js/summernote_v9_2.js": [
{
"line": " var KEY_BOGUS = 'bogus';",
"line_number": 3943,
"rule": "S106",
"reason": "Var naming | 6d7db7168d"
},
{
"line": " .attr('src', 'https://instagram.com/p/' + igMatch[1] + '/embed/')",
"line_number": 6957,
"rule": "S35",
"reason": "Url link | dcb31e9ddf"
},
{
"line": " .attr('src', 'http://v.qq.com/iframe/player.html?vid=' + vid + '&auto=0');",
"line_number": 6994,
"rule": "S35",
"reason": "Url link | ce631f8419"
}
]
} |
max-lvs
reviewed
Jun 2, 2026
…in nested formatting
When cursor is collapsed inside nested tags like text|,
clicking underline/strikethrough buttons has no effect because execCommand
relies on browser internal state which is unreliable for nested inline formats.
log: fix bug
Bug: https://pms.uniontech.com/bug-view-354099.html