This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
Releases: alidcast/vue-mobiledoc-editor
Releases · alidcast/vue-mobiledoc-editor
1.2.21
API changes
$refs.editor
now is$refs.editorPost
- The editor's
provide/inject
props are now undereditorVm
. - Removed CSS from component due to unforeseen problems. User must import file themselves.
New Features
- Added
header
andfooter
slots, along with the pastdefault
slot, inside the<MobiledocEditor>
component
Fixes
- Made Mobiledoc provide the
editor
viagetEditor
method so that it could act as a getter and retrieve most up to date variable. - Changed updating of
editorVm.canEdit
to using watchers sinceprovide/inject
does not work with computed properties.
1.2.1
Refactored and improved!
BREAKING CHANGES
- Simplified Mobiledoc so that only
Editor
andButton
components are necessary -- the sharedController
is not required anymore (#11). Editor instance is now passed to nested, complementary components viaprovide/inject
.
New Features:
- The Mobiledoc
Editor
now acceptscardOptions
which are properties that will be passed to its cards - Package now exports
EMPTY_MOBILEDOC
which can be used as default template when passingmobiledoc
payload
Releasing Component Cards
Support the creation of rich content via Vue Components!