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.
17 lines (15 loc) • 367 B
JavaScript
import SaveCommand from './SaveCommand'
export default {
name: 'persistence',
configure: function(config) {
config.addCommand('save', SaveCommand, {
commandGroup: 'persistence'
})
config.addIcon('save', { 'fontawesome': 'fa-save' })
config.addLabel('save', {
en: 'Save',
de: 'Speichern'
})
},
SaveCommand: SaveCommand
}