feat(controller): add contenteditable to DEFAULT_INCLUDE_ATTRIBUTES

This commit is contained in:
Simon
2026-03-09 19:15:51 +08:00
parent 928d8d2fb3
commit 4b37a3e538

View File

@@ -140,10 +140,13 @@ export function flatTreeToString(flatTree: FlatDomTree, includeAttributes?: stri
// for jump check
'target',
// absolute 定位的下拉菜单
// absolute position dropdown menu
'aria-haspopup',
'aria-controls',
'aria-owns',
// content editable
'contenteditable',
]
const includeAttrs = [...(includeAttributes || []), ...DEFAULT_INCLUDE_ATTRIBUTES]