1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Mobile: Add support for plugin panels and dialogs (#10121)

This commit is contained in:
Henry Heino
2024-03-14 12:04:32 -07:00
committed by GitHub
parent b9eb4522f5
commit b3ec92a57e
34 changed files with 1013 additions and 44 deletions

View File

@ -4,6 +4,7 @@ import stateToWhenClauseContext from '@joplin/lib/services/commands/stateToWhenC
import { AppState } from './types';
import { Store } from 'redux';
import editorCommandDeclarations from '../components/NoteEditor/commandDeclarations';
import globalCommands from '../commands';
import libCommands from '@joplin/lib/commands';
interface CommandSpecification {
@ -23,6 +24,7 @@ const initializeCommandService = (store: Store<AppState, any>) => {
for (const declaration of editorCommandDeclarations) {
CommandService.instance().registerDeclaration(declaration);
}
registerCommands(globalCommands);
registerCommands(libCommands);
};