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

Releases: alidcast/vue-mobiledoc-editor

1.2.21

01 Oct 13:42
Compare
Choose a tag to compare

API changes

  • $refs.editor now is $refs.editorPost
  • The editor's provide/inject props are now under editorVm.
  • Removed CSS from component due to unforeseen problems. User must import file themselves.

New Features

  • Added header and footer slots, along with the past default slot, inside the <MobiledocEditor> component

Fixes

  • Made Mobiledoc provide the editor via getEditor method so that it could act as a getter and retrieve most up to date variable.
  • Changed updating of editorVm.canEdit to using watchers since provide/inject does not work with computed properties.

1.2.1

30 Sep 20:27
Compare
Choose a tag to compare
  • Added Mobiledoc styles to editor component

Refactored and improved!

30 Sep 19:49
Compare
Choose a tag to compare

BREAKING CHANGES

  • Simplified Mobiledoc so that only Editor and Button components are necessary -- the shared Controller is not required anymore (#11). Editor instance is now passed to nested, complementary components via provide/inject.

New Features:

  • The Mobiledoc Editor now accepts cardOptions which are properties that will be passed to its cards
  • Package now exports EMPTY_MOBILEDOC which can be used as default template when passing mobiledoc payload

Releasing Component Cards

30 Jun 18:53
Compare
Choose a tag to compare

Support the creation of rich content via Vue Components!

Mobiledoc

21 Jun 04:53
Compare
Choose a tag to compare
  • Use default Mobiledoc Instance or factory functioncreateMobiledoc to create your own.