mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
#19320022 IE에서 커서가 정상적으로 표시되지 않던 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8007 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
38fd867194
commit
127037e6ee
1 changed files with 6 additions and 4 deletions
|
|
@ -1473,10 +1473,12 @@ LineBreak = xe.createPlugin('LineBreak', {
|
||||||
$br.remove();
|
$br.remove();
|
||||||
|
|
||||||
if (!$block.html()) $block.html(invisibleCh);
|
if (!$block.html()) $block.html(invisibleCh);
|
||||||
if (!$p.html()) $p.html(invisibleCh);
|
$p.prepend(d.createTextNode(invisibleCh));
|
||||||
|
|
||||||
sel.selectNodeContents($p[0]);
|
//sel.selectNode($p[0].firstChild);
|
||||||
sel.collapseToStart();
|
sel.setStart($p[0].firstChild, 0);
|
||||||
|
sel.setEnd($p[0].firstChild, 1);
|
||||||
|
sel.collapseToEnd();
|
||||||
sel.select();
|
sel.select();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue