medium-editor
Advanced tools
Comparing version 5.5.0 to 5.5.1
@@ -0,1 +1,7 @@ | ||
5.5.1 / 2015-07-23 | ||
================== | ||
* Fix appearance of anchor form when checkboxes are present | ||
* Fix breaking issue with standardizeSelectionStart option | ||
5.5.0 / 2015-07-21 | ||
@@ -2,0 +8,0 @@ ================== |
{ | ||
"name": "medium-editor", | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"author": "Davi Ferreira <hi@daviferreira.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -17,6 +17,6 @@ # MediumEditor | ||
[![Travis build status](http://img.shields.io/travis/yabwe/medium-editor/master.svg?style=flat-square)](https://travis-ci.org/yabwe/medium-editor) | ||
[![dependencies](http://img.shields.io/david/yabwe/medium-editor.svg?style=flat-square)](https://david-dm.org/yabwe/medium-editor) | ||
[![devDependency Status](http://img.shields.io/david/dev/yabwe/medium-editor.svg?style=flat-square)](https://david-dm.org/yabwe/medium-editor#info=devDependencies) | ||
[![Coverage Status](http://img.shields.io/coveralls/yabwe/medium-editor.svg?style=flat-square)](https://coveralls.io/r/yabwe/medium-editor?branch=master) | ||
[![Travis build status](https://travis-ci.org/yabwe/medium-editor.svg?branch=master)](https://travis-ci.org/yabwe/medium-editor) | ||
[![Dependency Status](https://david-dm.org/yabwe/medium-editor.svg)](https://david-dm.org/yabwe/medium-editor) | ||
[![devDependency Status](https://david-dm.org/yabwe/medium-editor/dev-status.svg)](https://david-dm.org/yabwe/medium-editor#info=devDependencies) | ||
[![Coverage Status](https://coveralls.io/repos/yabwe/medium-editor/badge.svg?branch=master&service=github)](https://coveralls.io/github/yabwe/medium-editor?branch=master) | ||
@@ -23,0 +23,0 @@ # Basic usage |
@@ -161,3 +161,3 @@ var AnchorPreview; | ||
// The browser will make href="" or href="#top" | ||
// into absolute urls when accessed as event.targed.href, so check the html | ||
// into absolute urls when accessed as event.target.href, so check the html | ||
if (!/href=["']\S+["']/.test(target.outerHTML) || /href=["']#\S+["']/.test(target.outerHTML)) { | ||
@@ -164,0 +164,0 @@ return true; |
@@ -114,6 +114,8 @@ var AnchorForm; | ||
template.push( | ||
'<div class="medium-editor-toolbar-form-row">', | ||
'<input type="checkbox" class="medium-editor-toolbar-anchor-target">', | ||
'<label>', | ||
this.targetCheckboxText, | ||
'</label>' | ||
'</label>', | ||
'</div>' | ||
); | ||
@@ -126,6 +128,8 @@ } | ||
template.push( | ||
'<div class="medium-editor-toolbar-form-row">', | ||
'<input type="checkbox" class="medium-editor-toolbar-anchor-button">', | ||
'<label>', | ||
this.customClassOptionText, | ||
'</label>' | ||
'</label>', | ||
'</div>' | ||
); | ||
@@ -132,0 +136,0 @@ } |
@@ -369,3 +369,3 @@ var Toolbar; | ||
selectionRange = Selection.select(this.document, adjacentNode, offset, | ||
selectionRange.endContainer, selectionRange.offset); | ||
selectionRange.endContainer, selectionRange.endOffset); | ||
} | ||
@@ -372,0 +372,0 @@ } |
@@ -20,3 +20,3 @@ /*global MediumEditor */ | ||
// grunt-bump looks for this: | ||
'version': '5.5.0' | ||
'version': '5.5.1' | ||
}).version); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1485585
18163