mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
오타 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7794 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3b625eb2f1
commit
7e873a110e
1 changed files with 2 additions and 3 deletions
|
|
@ -333,12 +333,11 @@ Xeed = xe.createApp('Xeed', {
|
|||
* @brief Set focus
|
||||
*/
|
||||
API_SET_FOCUS : function(sender, params) {
|
||||
var sel = this.getSelection();
|
||||
var self = this, sel = this.getSelection();
|
||||
|
||||
if (sel) return;
|
||||
|
||||
this.$richedit.focus();
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
@ -1291,7 +1290,7 @@ LineBreak = xe.createPlugin('LineBreak', {
|
|||
|
||||
// find block parent
|
||||
$node = $node.parentsUntil('.'+_xr_).filter(function(){ return rx_block.test(this[_nn_]) });
|
||||
$node = $node.length?$node.eq(0):$($.merge(sibling(sc,1), [sc], sibilng(sc))).wrap('<p>').parent();
|
||||
$node = $node.length?$node.eq(0):$($.merge(sibling(sc,1), [sc], sibling(sc))).wrap('<p>').parent();
|
||||
|
||||
// wrap with '<p>' in a table cell
|
||||
if ($node.is('td,th')) $node = $node.wrapInner('<p>').children(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue