mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
ckeditor with table/cell properties
This commit is contained in:
@@ -38,10 +38,10 @@ class AppContext extends Component {
|
||||
|
||||
$("body").append($renderedWidget);
|
||||
|
||||
$renderedWidget.on('click', "[data-trigger-event]", e => {
|
||||
const eventName = $(e.target).attr('data-trigger-event');
|
||||
$renderedWidget.on('click', "[data-trigger-command]", e => {
|
||||
const commandName = $(e.target).attr('data-trigger-command');
|
||||
|
||||
this.triggerEvent(eventName);
|
||||
this.triggerCommand(commandName);
|
||||
});
|
||||
|
||||
this.tabManager = new TabManager();
|
||||
|
||||
Reference in New Issue
Block a user