SetDOMUnmanagedOptions
interfaceOptions accepted by setDOMUnmanaged.
Import
import { SetDOMUnmanagedOptions } from '@modular/sdk/editor';Members1
- captureSelectionoptional
booleanWhen true, the marked subtree owns its own window selection — analogous to a DecoratorNode subtree. Selection resolution that would otherwise mark the selection dirty for a caret position inside unmanaged DOM leaves it alone, so the embedded interaction (custom input, focusable widget, etc.) can keep its native caret. Pass `false` to clear a previously-set marker; omit the field to leave `__lexicalCapturedSelection` untouched.