Skip to content

Commit

Permalink
5.23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Aug 2, 2017
1 parent 460579e commit a905117
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
5.23.2 / 2017-08-02
==================
* Add noopener & noreferrer into targetBlank #1355
* Add undefined check and fallback in Paste extension #1346


5.23.1 / 2017-06-27
==================
* Remove src from bower ignored files #1330
Expand Down
6 changes: 4 additions & 2 deletions dist/js/medium-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5437,8 +5437,10 @@ MediumEditor.extensions = {};
// on empty line, rects is empty so we grab information from the first container of the range
if (rects.length) {
top += rects[0].top;
} else {
} else if (range.startContainer.getBoundingClientRect !== undefined) {
top += range.startContainer.getBoundingClientRect().top;
} else {
top += range.getBoundingClientRect().top;
}
}

Expand Down Expand Up @@ -7876,7 +7878,7 @@ MediumEditor.parseVersionString = function (release) {

MediumEditor.version = MediumEditor.parseVersionString.call(this, ({
// grunt-bump looks for this:
'version': '5.23.1'
'version': '5.23.2'
}).version);

return MediumEditor;
Expand Down
8 changes: 4 additions & 4 deletions dist/js/medium-editor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "medium-editor",
"version": "5.23.1",
"version": "5.23.2",
"author": "Davi Ferreira <[email protected]>",
"contributors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/js/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ MediumEditor.parseVersionString = function (release) {

MediumEditor.version = MediumEditor.parseVersionString.call(this, ({
// grunt-bump looks for this:
'version': '5.23.1'
'version': '5.23.2'
}).version);

0 comments on commit a905117

Please sign in to comment.