Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown component name renamed to lower case #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'inline-attachment/src/inline-attachment';
import 'inline-attachment/src/codemirror-4.inline-attachment';

export default {
name: 'Markdown-Editor',
name: 'markdown-editor',

vModel: true,

Expand All @@ -24,6 +24,7 @@ export default {
type: String,
default: 'image',
},
value: {},
uploadUrl: String,
fileUploadHandler: Function,
},
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import FilterItem from './FilterItem.vue';
import Fieldset from './Fieldset.vue';
import SchemaForm from './SchemaForm.vue';
import ModalLink from './ModalLink.vue';
import Markdown from './Markdown.vue';

var ElAdmin = {
install: function(Vue) {
Expand All @@ -22,6 +23,7 @@ var ElAdmin = {
Vue.component(Fieldset.name, Fieldset);
Vue.component(SchemaForm.name, SchemaForm);
Vue.component(ModalLink.name, ModalLink);
Vue.component(Markdown.name, Markdown);
}
};

Expand Down