mirror of
https://github.com/codex-team/editor.js
synced 2026-03-16 23:55:49 +01:00
Fix tests and build
This commit is contained in:
parent
9513665e50
commit
da1dd6f30e
2 changed files with 2 additions and 1 deletions
|
|
@ -53,6 +53,7 @@ export default class DeleteTune implements BlockTune {
|
|||
confirmation: {
|
||||
icon: $.svg('cross', 14, 14).outerHTML,
|
||||
label: 'Click to delete',
|
||||
name: 'delete',
|
||||
onActivate: (item, e): void => this.handleClick(e),
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ export default class Toolbox extends EventsDispatcher<ToolboxEvent> {
|
|||
icon: toolboxItem.icon,
|
||||
label: I18n.t(I18nInternalNS.toolNames, toolboxItem.title || _.capitalize(tool.name)),
|
||||
name: tool.name,
|
||||
onClick: (e): void => {
|
||||
onActivate: (e): void => {
|
||||
this.toolButtonActivated(tool.name, toolboxItem.data);
|
||||
},
|
||||
secondaryLabel: tool.shortcut ? _.beautifyShortcut(tool.shortcut) : '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue