substance
Version:
Substance is a JavaScript library for web-based content editing. It provides building blocks for realizing custom text editors and web-based publishing systems.
19 lines (17 loc) • 515 B
JavaScript
import MultiSelect from './MultiSelect'
export default {
name: 'multi-select',
configure: function(config) {
config.addComponent('multi-select', MultiSelect)
config.addIcon('selected-option', { 'fontawesome': 'fa-check-square-o' })
config.addIcon('unselected-option', { 'fontawesome': 'fa-square-o' })
config.addLabel('expand-options', {
en: 'Show more',
de: 'Zeig mehr'
})
config.addLabel('collapse-options', {
en: 'Show less',
de: 'Zeige weniger'
})
}
}