I’ve noticed that, since Dash v1.13.0, Links in Markdown cells now open a new tab (target="_blank"), as specified in the release notes.
How could this be changed? Previously i was able to detect a clicked cell via a callback using dcc.Location “hash” property and it’s link specified in the format [Link text] (#link). Currently, using the mentioned workflow is not possible since the markdown link opens automatically in a new tab.
Unfortunately i did not. In the mean time i adopted a solution based on detecting the currently selected (clicked) cell row using the respective dash datatable properties
I had the same issues as both of you. For now, I am building a custom copy of dash-table. Only a single change in the file dash-table/src/dash-table/utils/Markdown.ts:
Modify line 35, replacing _blank with _self
- linkTarget:'_blank'`
+ linkTarget:'_self'
npm run build
python setup.py install
Maybe @Marc-Andre can provide some insight into the change and ways to override the default behavior.