TS
Guest
с AtomicSelection кто-нибудь работал???
Есть <iframe id=editArea contentEditable=true>
Как для него выполнить IDM_ATOMICSELECTION command?
пробовал
editArea.document::SetAtomicSelection(true);
editArea.document.execCommand("AtomicSelection",false,true);
не канает...
В msdn пишут следующее:
If the document is not in atomic selection mode, the ATOMICSELECTION attribute is ignored. Turn on the atomic selection mode by executing the IDM_ATOMICSELECTION command with the value of true.
CHtmlEditCtrlBase::SetAtomicSelection
Set atomic selection mode.
HRESULT SetAtomicSelection(
bool bNewValue
) const;
Есть <iframe id=editArea contentEditable=true>
Как для него выполнить IDM_ATOMICSELECTION command?
пробовал
editArea.document::SetAtomicSelection(true);
editArea.document.execCommand("AtomicSelection",false,true);
не канает...
В msdn пишут следующее:
If the document is not in atomic selection mode, the ATOMICSELECTION attribute is ignored. Turn on the atomic selection mode by executing the IDM_ATOMICSELECTION command with the value of true.
CHtmlEditCtrlBase::SetAtomicSelection
Set atomic selection mode.
HRESULT SetAtomicSelection(
bool bNewValue
) const;