Skip to content

Commit

Permalink
some broken tc fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
shiren committed Jul 27, 2015
1 parent 2990765 commit a737b04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ $('#editSection').neonEditor({
* initialEditType: 'markdown'과 'wysiwyg'둘중 하나를 선택해서 에디터를 시작합니다.
* previewStyle: 마크다운의 경우 preview pane과 edit pane을 2단으로 보여줄지 tab형식으로 보여줄지를 정하는 옵션입니다.(tab, vertical)
* height: 에디팅영역의 기본 높이를 결정합니다.(숫자)
* contentCSSStyles: 위지윅에서 사용될 스타일파일을 지정합니다. 보통 contentStyle.css의 경로를 다시 지정하면됩니다.
* contentCSSStyles: 위지윅에서 사용될 스타일파일을 지정합니다. 보통 demoDist.html파일처럼 contentStyle.css의 경로를 다시 지정하면됩니다.

## API

``` javascript
// 아래와 같이 일반적인 jQuery 플러그인 인터페이스를 이용합니다.
//아래와 같이 일반적인 jQuery 플러그인 인터페이스를 이용합니다.
$('#editSection').neonEditor('focus');
```

Expand Down
2 changes: 1 addition & 1 deletion test/layout.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Layout', function() {
});

it('All layout elements are exist', function() {
expect($('.neditor').length).toEqual(1);
expect($('.neonEditor').length).toEqual(1);
expect($('.toolbarSection').length).toEqual(1);
expect($('.modeSwitchSection').length).toEqual(1);
expect($('.mdContainer').length).toEqual(1);
Expand Down
2 changes: 1 addition & 1 deletion test/wysiwygEditor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('WysiwygEditor', function() {
it('init() invoke callback', function (done) {
wwe.init(300, function() {
expect($('iframe').length).toEqual(1);
expect($('iframe')[0].contentDocument.body.className).toEqual('neditor-content');
expect($('iframe').contents().find('html').hasClass('neonEditor-content')).toBe(true);
done();
});
});
Expand Down

0 comments on commit a737b04

Please sign in to comment.