diff --git a/README.md b/README.md index a1c66f653c..af4090aaab 100644 --- a/README.md +++ b/README.md @@ -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'); ``` diff --git a/test/layout.spec.js b/test/layout.spec.js index 5163492df7..5a64dc99fe 100644 --- a/test/layout.spec.js +++ b/test/layout.spec.js @@ -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); diff --git a/test/wysiwygEditor.spec.js b/test/wysiwygEditor.spec.js index 166b268630..5f3a36ffc4 100644 --- a/test/wysiwygEditor.spec.js +++ b/test/wysiwygEditor.spec.js @@ -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(); }); });