mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
#18847115 - drEditor에서 fold 컴포넌트 기능 동작 스크립트 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7373 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9e36140660
commit
b7f8e34a2e
1 changed files with 13 additions and 0 deletions
|
|
@ -248,6 +248,19 @@ jQuery(function($) {
|
|||
|
||||
});
|
||||
}
|
||||
|
||||
/* 단락에디터 fold 컴포넌트 펼치기/접기 */
|
||||
var drEditorFold = $('.xe_content .fold_button');
|
||||
if(drEditorFold.size()) {
|
||||
var fold_container = $('div.fold_container', drEditorFold);
|
||||
$('button.more', drEditorFold).click(function() {
|
||||
$(this).hide().next('button').show().parent().next(fold_container).show();
|
||||
});
|
||||
$('button.less', drEditorFold).click(function() {
|
||||
$(this).hide().prev('button').show().parent().next(fold_container).hide();
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue