Skip to content

Commit

Permalink
test(htmleditor): return test behaviour as default one
Browse files Browse the repository at this point in the history
Closes #1895
  • Loading branch information
Aleksandyr committed Feb 11, 2019
1 parent 2ecf913 commit 4f95127
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ QUnit.module("igHTMLEditor unit tests", {
$.browser = { "IE": "IE" };
htmlEditor.data("igHtmlEditor")._selectionWrapperSaved._commands.insertunorderedlist.browsers = ["IE", "Chrome"];
htmlEditor.data("igHtmlEditor")._selectionWrapperSaved.execCommand("insertunorderedlist", null);
self.assert.equal(htmlEditor.igHtmlEditor("getContent", "html"), '<ul><li><i>Some content</i></li></ul>', "Content changed to have unordered list");
self.assert.equal(htmlEditor.igHtmlEditor("getContent", "html"), '<ul><li><i>Some content</i><br></li></ul>', "Content changed to have unordered list");

$.browser = undefined;
htmlEditor.data("igHtmlEditor")._selectionWrapperSaved.execCommand("insertunorderedlist", null);
Expand Down

0 comments on commit 4f95127

Please sign in to comment.