Skip to content

Commit

Permalink
5.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nmielnik committed Jul 20, 2015
1 parent 56f49ef commit dbd9af9
Show file tree
Hide file tree
Showing 5 changed files with 13 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.4.1 / 2015-07-20
==================
* Fix issue where custom anchor-preview extensions weren't overriding built-in anchor preview
* Add documentation from wiki into the source code


5.4.0 / 2015-07-16
==================
* Add support for including 'alt' key in keyboard-commands
Expand Down
9 changes: 4 additions & 5 deletions dist/js/medium-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5177,8 +5177,7 @@ var ImageDragging;

var extensionDefaults;
(function () {
// for now this is empty because nothing interally uses an Extension default.
// as they are converted, provide them here.

extensionDefaults = {
button: Button,
form: FormExtension,
Expand Down Expand Up @@ -5613,7 +5612,7 @@ function MediumEditor(elements, options) {
// Built-in extensions
var builtIns = {
paste: true,
anchorPreview: isAnchorPreviewEnabled.call(this),
'anchor-preview': isAnchorPreviewEnabled.call(this),
autoLink: isAutoLinkEnabled.call(this),
keyboardCommands: isKeyboardCommandsEnabled.call(this),
placeholder: isPlaceholderEnabled.call(this)
Expand Down Expand Up @@ -5905,7 +5904,7 @@ function MediumEditor(elements, options) {
merged = Util.extend({}, this.options.anchor, opts);
extension = new MediumEditor.extensions.anchor(merged);
break;
case 'anchorPreview':
case 'anchor-preview':
extension = new MediumEditor.extensions.anchorPreview(this.options.anchorPreview);
break;
case 'autoLink':
Expand Down Expand Up @@ -6208,7 +6207,7 @@ MediumEditor.parseVersionString = function (release) {

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

return MediumEditor;
Expand Down
2 changes: 1 addition & 1 deletion 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.4.0",
"version": "5.4.1",
"author": "Davi Ferreira <hi@daviferreira.com>",
"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 @@ -17,5 +17,5 @@ MediumEditor.parseVersionString = function (release) {

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

0 comments on commit dbd9af9

Please sign in to comment.