Skip to content

Commit

Permalink
Revert "test(htmleditor): return test behaviour as default one"
Browse files Browse the repository at this point in the history
This reverts commit 4f95127.
  • Loading branch information
mpavlinov committed Feb 13, 2019
1 parent 4a95734 commit bf4cd2b
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><br></li></ul>', "Content changed to have unordered list");
self.assert.equal(htmlEditor.igHtmlEditor("getContent", "html"), '<ul><li><i>Some content</i></li></ul>', "Content changed to have unordered list");

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

0 comments on commit bf4cd2b

Please sign in to comment.