From 7c25312d45456d4746aa894af66294def22279dc Mon Sep 17 00:00:00 2001 From: Szymon Cofalik Date: Wed, 2 Nov 2016 11:53:40 +0100 Subject: [PATCH] Tests: updated manual test with a case for #47. --- tests/manual/selection.js | 5 +++-- tests/manual/selection.md | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/manual/selection.js b/tests/manual/selection.js index 401b1a0..dcb4707 100644 --- a/tests/manual/selection.js +++ b/tests/manual/selection.js @@ -9,11 +9,12 @@ import ClassicEditor from '/ckeditor5/editor-classic/classic.js'; import Enter from '/ckeditor5/enter/enter.js'; import Typing from '/ckeditor5/typing/typing.js'; import Paragraph from '/ckeditor5/paragraph/paragraph.js'; +import Bold from '/ckeditor5/basic-styles/bold.js'; import Undo from '/ckeditor5/undo/undo.js'; ClassicEditor.create( document.querySelector( '#editor' ), { - features: [ Enter, Typing, Paragraph, Undo ], - toolbar: [] + features: [ Enter, Typing, Paragraph, Undo, Bold ], + toolbar: [ 'bold' ] } ) .then( editor => { window.editor = editor; diff --git a/tests/manual/selection.md b/tests/manual/selection.md index 349474f..e988dfd 100644 --- a/tests/manual/selection.md +++ b/tests/manual/selection.md @@ -20,3 +20,10 @@ 1. Focus somewhere in the middle of text. 2. Write "emd" and press space. 3. Safari autocorrect should change "emd" to "end" and selection should be placed after space character. + +#### Empty inline attributes + +1. Focus selection at "ins^tance". +2. Use "Bold" feature. +3. Type a letter. +4. Selection should be placed after typed letter, "Bold" button should be on, next typed letters should be bold.