This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
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.