Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 2468cb0

Browse files
committed
v2.0.1
1 parent fd271a6 commit 2468cb0

9 files changed

+17
-11
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
2.0.1 / 2015-06-11
3+
==================
4+
5+
* Fix ```hideButtons``` function
6+
27
2.0.0 / 2015-06-09
38
==================
49

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "medium-editor-insert-plugin",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "jQuery insert plugin for MediumEditor",
55
"main": [
66
"dist/js/medium-editor-insert-plugin.js",

dist/css/medium-editor-insert-plugin-frontend.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* medium-editor-insert-plugin v2.0.0 - jQuery insert plugin for MediumEditor
2+
* medium-editor-insert-plugin v2.0.1 - jQuery insert plugin for MediumEditor
33
*
44
* https://github.com/orthes/medium-editor-insert-plugin
55
*

dist/css/medium-editor-insert-plugin-frontend.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/medium-editor-insert-plugin.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* medium-editor-insert-plugin v2.0.0 - jQuery insert plugin for MediumEditor
2+
* medium-editor-insert-plugin v2.0.1 - jQuery insert plugin for MediumEditor
33
*
44
* https://github.com/orthes/medium-editor-insert-plugin
55
*

dist/css/medium-editor-insert-plugin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/medium-editor-insert-plugin.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* medium-editor-insert-plugin v2.0.0 - jQuery insert plugin for MediumEditor
2+
* medium-editor-insert-plugin v2.0.1 - jQuery insert plugin for MediumEditor
33
*
44
* https://github.com/orthes/medium-editor-insert-plugin
55
*
@@ -193,6 +193,7 @@ this["MediumInsert"]["Templates"]["src/js/templates/images-toolbar.hbs"] = Handl
193193
this.options.editor._serialize = this.options.editor.serialize;
194194
this.options.editor._destroy = this.options.editor.destroy;
195195
this.options.editor._setup = this.options.editor.setup;
196+
this.options.editor._hideInsertButtons = this.hideButtons;
196197

197198
this.options.editor.serialize = this.editorSerialize;
198199
this.options.editor.destroy = this.editorDestroy;
@@ -319,7 +320,7 @@ this["MediumInsert"]["Templates"]["src/js/templates/images-toolbar.hbs"] = Handl
319320

320321
if (!(el.querySelector('img, blockquote')) && cloneHtml === '') {
321322
this.showPlaceholder(el);
322-
this.hideButtons();
323+
this.base._hideInsertButtons($(el));
323324
} else {
324325
this.hidePlaceholder(el);
325326
}

dist/js/medium-editor-insert-plugin.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "medium-editor-insert-plugin",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "jQuery insert plugin for MediumEditor",
55
"license": "MIT",
66
"homepage": "https://github.com/orthes/medium-editor-insert-plugin",

0 commit comments

Comments
 (0)