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

Releases: linkesch/medium-editor-insert-plugin

1.6.0

16 Apr 11:44
Compare
Choose a tag to compare
  • Add option captions (boolean) to images and embeds to enable/disable captions. Captions are enabled by default.
  • Expose option fileUploadOptions in images to enable file upload configuration
  • Use medium-editor like placeholders for embeds and captions (using :after CSS pseudo-element instead of actual DOM element)
  • Add support for right click on placeholders (both in embeds and captions) to enable pasting via context menu
  • Deprecate uploadScript and formData options in images. Use fileUploadOptions instead.

1.5.2

15 Apr 15:16
Compare
Choose a tag to compare
  • Remove contenteditable attr and overlay div from embeds on serialize
  • Remove contenteditable attr from figure and figcaption in images on serialize
  • Simplify button positioning

1.5.1

13 Apr 11:42
Compare
Choose a tag to compare
  • Don't add empty paragraph on image deletion, when empty paragraph already exists
  • Fix clicking on placeholder in FF
  • Hide editor's placeholder on image upload
  • Use https for instagram and vimeo
  • Ensure core is enabled when selectEmbed or selectImage are called

1.5.0

02 Apr 13:05
Compare
Choose a tag to compare
  • Update medium-editor to v4.1.1
  • Add support for editor's new destroy and setup methods and removed activatePlaceholder method
  • Add formData option to images (see jQuery-File-Upload docs)
  • Add uploadCompleted callback to images
  • Trigger input event also when preview image is inserted to the DOM
  • Disable embed toolbars when styles, or actions options are empty
  • Make sure that after removing caption placeholder, caret is placed inside the caption
  • Hide buttons when toolbar actions are triggered
  • Don't auto remove grid style when removing images

1.4.2

04 Mar 16:38
Compare
Choose a tag to compare
  • Fix activatePlaceholder being called twice
  • Move toolbar lower if it is not visible

1.4.1

04 Mar 09:38
Compare
Choose a tag to compare
  • Version bump

1.4.0

04 Mar 09:35
Compare
Choose a tag to compare
  • Add sorting function to options
  • Hide keyboard on mobile devices when selecting an image
  • Fix getting selection when there is none
  • Fix toggling buttons when caret is not in editor

1.3.0

03 Mar 10:51
Compare
Choose a tag to compare
  • Add autoGrid option to images
  • Fix editor placeholder activation

1.2.0

27 Feb 15:30
Compare
Choose a tag to compare
  • Add an optional second toolbar with a delete button (both in images and embeds) - useful on mobile devices where selecting an image and pressing backspace is not possible
  • Add buttons under uploaded images to upload more

1.1.2

27 Feb 09:20
Compare
Choose a tag to compare
  • Update dependencies - medium-editor and handlebars