1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import { Tool } from '../../ui' class InsertListTool extends Tool { getClassNames () { return 'sc-insert-list-tool' } renderButton ($$) { let button = super.renderButton($$) return [ button ] } onClick () { this.executeCommand({ context: this.context }) } } export default InsertListTool |