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

Desktop: TinyMCE: Fixed clicking a link within a checkbox label

This commit is contained in:
Laurent Cozic
2020-05-04 23:08:36 +01:00
parent 9a2f0bee29
commit f2a1597ecc
3 changed files with 20 additions and 1 deletions

View File

@ -2103,6 +2103,8 @@
var editorClickHandler = function (event) {
if (!isJoplinChecklistItem(event.target))
return;
if (event.offsetX >= 0)
return;
editor.execCommand('ToggleJoplinChecklistItem', false, { element: event.target });
};
if (options.listType === 'joplinChecklist') {