mgsloan / todoist-shortcuts

Browser extension which adds comprehensive keyboard shortcuts to Todoist, beyond what is offered by Todoist itself
MIT License
313 stars 23 forks source link

Get followLink to find links in task_content OR task_description #236

Closed mdbraber closed 1 year ago

mdbraber commented 1 year ago

I'm trying to get followLink to find a link either in the task_content (title) or task_description - but don't know what the best code would be. Any suggestions?

mdbraber commented 1 year ago

Well - maybe it's simpler than I thought: could we change task_content in https://github.com/mgsloan/todoist-shortcuts/blob/master/src/todoist-shortcuts.js#L462 to task_list_item__content (which is the div including task_content and task_description). Would that break anything else @mgsloan ?

mgsloan commented 1 year ago

Good idea! I didn't notice this since I never use descriptions (though maybe I should!). Included in version 173