medium-editor
Advanced tools
Comparing version 4.1.0 to 4.1.1
{ | ||
"name": "medium-editor", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"homepage": "http://daviferreira.github.io/medium-editor/", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -0,1 +1,6 @@ | ||
4.1.1 / 2015-04-01 | ||
================== | ||
* Fix .version issue | ||
4.1.0 / 2015-03-29 | ||
@@ -2,0 +7,0 @@ ================== |
{ | ||
"name": "medium-editor", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"author": "Davi Ferreira <hi@daviferreira.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
/*global MediumEditor, describe, it, expect, spyOn, | ||
fireEvent, afterEach, beforeEach, selectElementContents, | ||
tearDown, placeCursorInsideElement, isFirefox, Util */ | ||
tearDown, placeCursorInsideElement, isFirefox, Util, | ||
selectElementContentsAndFire */ | ||
@@ -204,8 +205,10 @@ describe('Content TestCase', function () { | ||
this.el.innerHTML = '<p>lorem ipsum<ul><li>dolor</li></ul></p>'; | ||
var editor = new MediumEditor('.editor'), | ||
var editor = new MediumEditor('.editor', { | ||
buttons: ['orderedlist'] | ||
}), | ||
target = editor.elements[0].querySelector('p'); | ||
selectElementContents(target); | ||
editor.execAction('insertorderedlist'); | ||
selectElementContentsAndFire(target); | ||
fireEvent(editor.toolbar.getToolbarElement().querySelector('[data-action="insertorderedlist"]'), 'click'); | ||
expect(this.el.innerHTML).toMatch(/^<ol><li>lorem ipsum(<br>)?<\/li><\/ol><ul><li>dolor<\/li><\/ul>?/); | ||
}); | ||
}); |
@@ -14,3 +14,3 @@ | ||
// grunt-bump looks for this: | ||
"version": "4.0.3" | ||
"version": "4.1.1" | ||
}).version.split(".")); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
970487
10959