Documentation
Card
classname #
Type: String
Default: card
This setting changes the html cards class in the content. The example below also shows how to add a card item in the addbar menu.
ArticleEditor('#entry', {
css: '/your-article-dist-path/',
addbarAdd: ['card']
card: {
classname: 'my-card',
template: '<div class="my-card">...</div>'
}
});
template #
Type: String
Default: html
This setting changes the template of the card added to the content.
ArticleEditor('#entry', {
css: '/your-article-dist-path/',
addbarAdd: ['card']
card: {
template: '<div class="card">...</div>'
}
});