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

Commit a5c31c8

Browse files
committed
v2.5.1
1 parent c09b0ad commit a5c31c8

9 files changed

+111
-134
lines changed

CHANGES.md

Lines changed: 96 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -1,161 +1,142 @@
1+
# 2.5.1 / 2019-01-24
12

2-
2.5.0 / 2018-02-24
3-
==================
3+
- perf: use object url for image previews (#487)
4+
- chore: update dependencies (#488)
45

5-
* Use relative path for uploaded image, instead of absolute (#455)
6-
* DeleteScript can now be a callback (#428)
7-
* Fix embeds caption (#437)
8-
* Fix backspace not triggering delete event (#427)
9-
* Fix insert plugin stripping plain text (#413)
6+
# 2.5.0 / 2018-02-24
107

11-
2.4.1. / 2017-04-11
12-
==================
8+
- Use relative path for uploaded image, instead of absolute (#455)
9+
- DeleteScript can now be a callback (#428)
10+
- Fix embeds caption (#437)
11+
- Fix backspace not triggering delete event (#427)
12+
- Fix insert plugin stripping plain text (#413)
1313

14-
* Ability to add upload failed callback to options #377
14+
# 2.4.1. / 2017-04-11
1515

16-
2.4.0. / 2016-08-08
17-
==================
16+
- Ability to add upload failed callback to options #377
1817

19-
* Add storeMeta option (#333)
20-
* Remove progressbar on serialize (#375)
21-
* Encode/decode data-embed-code attribute (#374)
22-
* Remove default upload url from the code (#373)
23-
* Fix editor being submitted by clicking on the plugin buttons (#366)
24-
* Fix button position (#359)
18+
# 2.4.0. / 2016-08-08
2519

26-
2.3.3 / 2016-07-20
27-
==================
20+
- Add storeMeta option (#333)
21+
- Remove progressbar on serialize (#375)
22+
- Encode/decode data-embed-code attribute (#374)
23+
- Remove default upload url from the code (#373)
24+
- Fix editor being submitted by clicking on the plugin buttons (#366)
25+
- Fix button position (#359)
2826

29-
* Fix buttons and toolbars positions when editor is initialized inside absolute positioned container (#356)
30-
* Use buttons instead of links to avoid medium-editor conflicts (#355)
27+
# 2.3.3 / 2016-07-20
3128

32-
2.3.2 / 2016-04-26
33-
==================
29+
- Fix buttons and toolbars positions when editor is initialized inside absolute positioned container (#356)
30+
- Use buttons instead of links to avoid medium-editor conflicts (#355)
3431

35-
* Fix UMD (#320)
32+
# 2.3.2 / 2016-04-26
3633

37-
2.3.1 / 2016-04-19
38-
==================
34+
- Fix UMD (#320)
3935

40-
* Fix UMD dependencies (#314)
41-
* Fix extending editor's functions (#310, #316)
36+
# 2.3.1 / 2016-04-19
4237

43-
2.3.0 / 2016-04-12
44-
==================
38+
- Fix UMD dependencies (#314)
39+
- Fix extending editor's functions (#310, #316)
4540

46-
* Add auto embedding urls as soon as they are pasted
47-
* Add UMD wrapper and publish to NPM
48-
* Fix deleting images when backspace/delete is pressed
49-
* Re-enable facebook and twitter embedding without oEmbed
50-
* Fix cursor position after image upload
41+
# 2.3.0 / 2016-04-12
5142

52-
2.2.4 / 2016-04-05
53-
==================
43+
- Add auto embedding urls as soon as they are pasted
44+
- Add UMD wrapper and publish to NPM
45+
- Fix deleting images when backspace/delete is pressed
46+
- Re-enable facebook and twitter embedding without oEmbed
47+
- Fix cursor position after image upload
5448

55-
* Change dependency versioning to enable minor releases of medium-editor
49+
# 2.2.4 / 2016-04-05
5650

57-
2.2.3 / 2016-04-04
58-
==================
51+
- Change dependency versioning to enable minor releases of medium-editor
5952

60-
* Fix performance when uploading images
61-
* Update editor's `updatePlaceholder` function
62-
* Fix initializing plugin when editor's placeholder is turned off
53+
# 2.2.3 / 2016-04-04
6354

64-
2.2.2 / 2016-02-27
65-
==================
55+
- Fix performance when uploading images
56+
- Update editor's `updatePlaceholder` function
57+
- Fix initializing plugin when editor's placeholder is turned off
6658

67-
* Fix serializing html with embed codes containing scripts
59+
# 2.2.2 / 2016-02-27
6860

69-
2.2.1 / 2016-02-05
70-
==================
61+
- Fix serializing html with embed codes containing scripts
7162

72-
* Fix when `uploadCompleted()` is called - wait until uploaded image replaces preview
73-
* Fix uploading high quality images
74-
* Fix bug when an image toolbar action effects all instances of the editor (when using multiple editors on the same page)
63+
# 2.2.1 / 2016-02-05
7564

76-
2.2.0 / 2016-01-11
77-
==================
65+
- Fix when `uploadCompleted()` is called - wait until uploaded image replaces preview
66+
- Fix uploading high quality images
67+
- Fix bug when an image toolbar action effects all instances of the editor (when using multiple editors on the same page)
7868

79-
* Add ```fileDeleteOptions``` option to images
69+
# 2.2.0 / 2016-01-11
8070

81-
2.1.1 / 2015-11-23
82-
==================
71+
- Add `fileDeleteOptions` option to images
8372

84-
* Fix context for sorting function
85-
* Add support for editor's ```elementsContainer``` option
73+
# 2.1.1 / 2015-11-23
8674

87-
2.1.0 / 2015-10-27
88-
==================
75+
- Fix context for sorting function
76+
- Add support for editor's `elementsContainer` option
8977

90-
* Add support for ```editableInput``` event
91-
* Add support for textarea
92-
* Add ```deleteMethod``` option
78+
# 2.1.0 / 2015-10-27
9379

94-
2.0.1 / 2015-06-11
95-
==================
80+
- Add support for `editableInput` event
81+
- Add support for textarea
82+
- Add `deleteMethod` option
9683

97-
* Fix ```hideButtons``` function
84+
# 2.0.1 / 2015-06-11
9885

99-
2.0.0 / 2015-06-09
100-
==================
86+
- Fix `hideButtons` function
10187

102-
* **This version works for MediumEditor ```v4.12.0``` and up, because in ```v4.12.0``` MediumEditor changed the way to retrieve extension**
103-
* Remove deprecated images options: ```uploadScript``` and ```formData```. Use ```fileUploadOptions``` instead.
104-
* Add ```video-vimeo``` and ```video-youtube``` classes to embedded videos to allow css customization
88+
# 2.0.0 / 2015-06-09
10589

106-
1.7.0 / 2015-05-11
107-
==================
90+
- **This version works for MediumEditor `v4.12.0` and up, because in `v4.12.0` MediumEditor changed the way to retrieve extension**
91+
- Remove deprecated images options: `uploadScript` and `formData`. Use `fileUploadOptions` instead.
92+
- Add `video-vimeo` and `video-youtube` classes to embedded videos to allow css customization
10893

109-
* Version bump to 1.7.0, because 1.6.2 added file type and size validation which should cause a minor version bump, not only a patch
94+
# 1.7.0 / 2015-05-11
11095

111-
1.6.2 / 2015-05-11
112-
==================
96+
- Version bump to 1.7.0, because 1.6.2 added file type and size validation which should cause a minor version bump, not only a patch
11397

114-
* Fix file type and file size validation
115-
* Add a rotate animation on button
116-
* Speed up Travis build
98+
# 1.6.2 / 2015-05-11
11799

118-
1.6.1 / 2015-04-30
119-
==================
100+
- Fix file type and file size validation
101+
- Add a rotate animation on button
102+
- Speed up Travis build
120103

121-
* Fix initializing plugin without addons
122-
* Trigger the input event after swapping out the preview image for the real one
123-
* Change default formData to null
104+
# 1.6.1 / 2015-04-30
124105

125-
1.6.0/ 2015-04-16
126-
==================
106+
- Fix initializing plugin without addons
107+
- Trigger the input event after swapping out the preview image for the real one
108+
- Change default formData to null
127109

128-
* Add option ```captions``` (boolean) to images and embeds to enable/disable captions. Captions are enabled by default.
129-
* Expose option ```fileUploadOptions``` in images to enable file upload configuration
130-
* Use medium-editor like placeholders for embeds and captions (using ```:after``` CSS pseudo-element instead of actual DOM element)
131-
* Add support for right click on placeholders (both in embeds and captions) to enable pasting via context menu
132-
* Deprecate ```uploadScript``` and ```formData``` options in images. Use ```fileUploadOptions``` instead.
110+
# 1.6.0/ 2015-04-16
133111

134-
1.5.2 / 2015-04-15
135-
==================
112+
- Add option `captions` (boolean) to images and embeds to enable/disable captions. Captions are enabled by default.
113+
- Expose option `fileUploadOptions` in images to enable file upload configuration
114+
- Use medium-editor like placeholders for embeds and captions (using `:after` CSS pseudo-element instead of actual DOM element)
115+
- Add support for right click on placeholders (both in embeds and captions) to enable pasting via context menu
116+
- Deprecate `uploadScript` and `formData` options in images. Use `fileUploadOptions` instead.
136117

137-
* Remove contenteditable attr and overlay div from embeds on ```serialize```
138-
* Remove contenteditable attr from figure and figcaption in images on ```serialize```
139-
* Simplify button positioning
118+
# 1.5.2 / 2015-04-15
140119

141-
1.5.1 / 2015-04-13
142-
==================
120+
- Remove contenteditable attr and overlay div from embeds on `serialize`
121+
- Remove contenteditable attr from figure and figcaption in images on `serialize`
122+
- Simplify button positioning
143123

144-
* Don't add empty paragraph on image deletion, when empty paragraph already exists
145-
* Fix clicking on placeholder in FF
146-
* Hide editor's placeholder on image upload
147-
* Use https for instagram and vimeo
148-
* Ensure core is ```enabled``` when ```selectEmbed``` or ```selectImage``` are called
124+
# 1.5.1 / 2015-04-13
149125

150-
1.5.0 / 2015-04-02
151-
==================
126+
- Don't add empty paragraph on image deletion, when empty paragraph already exists
127+
- Fix clicking on placeholder in FF
128+
- Hide editor's placeholder on image upload
129+
- Use https for instagram and vimeo
130+
- Ensure core is `enabled` when `selectEmbed` or `selectImage` are called
152131

153-
* Update medium-editor to v4.1.1
154-
* Add support for editor's new ```destroy``` and ```setup``` methods and removed ```activatePlaceholder``` method
155-
* Add ```formData``` option to images (see [jQuery-File-Upload docs](https://github.com/blueimp/jQuery-File-Upload/wiki/Options#formdata))
156-
* Add ```uploadCompleted``` callback to images
157-
* Trigger ```input``` event also when preview image is inserted to the DOM
158-
* Disable embed toolbars when ```styles```, or ```actions``` options are empty
159-
* Make sure that after removing caption placeholder, caret is placed inside the caption
160-
* Hide buttons when toolbar actions are triggered
161-
* Don't auto remove grid style when removing images
132+
# 1.5.0 / 2015-04-02
133+
134+
- Update medium-editor to v4.1.1
135+
- Add support for editor's new `destroy` and `setup` methods and removed `activatePlaceholder` method
136+
- Add `formData` option to images (see [jQuery-File-Upload docs](https://github.com/blueimp/jQuery-File-Upload/wiki/Options#formdata))
137+
- Add `uploadCompleted` callback to images
138+
- Trigger `input` event also when preview image is inserted to the DOM
139+
- Disable embed toolbars when `styles`, or `actions` options are empty
140+
- Make sure that after removing caption placeholder, caret is placed inside the caption
141+
- Hide buttons when toolbar actions are triggered
142+
- Don't auto remove grid style when removing images

bower.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "medium-editor-insert-plugin",
3-
"version": "2.5.0",
3+
"version": "2.5.1",
44
"description": "jQuery insert plugin for MediumEditor",
55
"homepage": "http://linkesch.com/medium-editor-insert-plugin",
66
"main": [
@@ -12,11 +12,7 @@
1212
"Pavel linkesch <[email protected]> (http://linkesch.com)",
1313
"Jeremy Benoist <[email protected]>"
1414
],
15-
"moduleType": [
16-
"amd",
17-
"globals",
18-
"node"
19-
],
15+
"moduleType": ["amd", "globals", "node"],
2016
"keywords": [
2117
"contenteditable",
2218
"editor",

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.5.0 - jQuery insert plugin for MediumEditor
2+
* medium-editor-insert-plugin v2.5.1 - jQuery insert plugin for MediumEditor
33
*
44
* http://linkesch.com/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.5.0 - jQuery insert plugin for MediumEditor
2+
* medium-editor-insert-plugin v2.5.1 - jQuery insert plugin for MediumEditor
33
*
44
* http://linkesch.com/medium-editor-insert-plugin
55
*

0 commit comments

Comments
 (0)