Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #120 from ckeditor/t/ckeditor5/1399
Browse files Browse the repository at this point in the history
Tests: Unit test for single styled list item added.
  • Loading branch information
scofalik committed Dec 13, 2018
2 parents f5315c2 + 632249f commit 122f1fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/listediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ describe( 'ListEditing', () => {
'<p>foo</p><ul><li>xxx</li><li>yyy</li></ul>'
);

// #ckeditor5/1399
test( 'single item with `font-weight` style',
'<ol><li style="font-weight: bold">foo</li></ol>', '<ol><li><strong>foo</strong></li></ol>' );

it( 'model test for mixed content', () => {
editor.setData( '<ol><li>a</li></ol><p>xxx</p><ul><li>b</li><li>c</li></ul><p>yyy</p><ul><li>d</li></ul>' );

Expand Down

0 comments on commit 122f1fe

Please sign in to comment.