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

Plugins: Add support for editor.scrollToText on desktop

This commit is contained in:
Laurent Cozic
2024-11-16 11:19:11 +00:00
parent 8e3c81717e
commit 6eac8d9ccf
9 changed files with 92 additions and 9 deletions

View File

@ -127,14 +127,15 @@ export default class PostMessageService {
}
if (!responder) {
logger.warn('Cannot respond to message because no responder was found', message);
logger.info('Cannot respond to message because no responder was found', message);
logger.info('Error was:', error);
} else {
responder({
responseId: message.id,
response: responseContent,
error,
});
}
responder({
responseId: message.id,
response: responseContent,
error,
});
}
private responder(type: ResponderComponentType, viewId: string, windowId: string) {