You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if there is an anchor generated successfully, the default behavior of clicking #id (we call it bookmark) in an iframe inside a webview is opening the file again. So it will try to load file:///c%3A/Users/penlv/code/testmd/#synchronization, which is not accessible.
We are checking if people are clicking on bookmarks by if (node.tagName === 'A' && node.href && node.href[0] !== '#') {, however, node.href contains file name, eg, file:///c%3A/Users/penlv/code/testmd/#synchronization, node.href[0] !== '#' is always true. The correct attribute we should check is node.hash per http://www.w3schools.com/jsref/prop_anchor_hash.asp
click don't work in the html preview even when section2 exists. This seems to be an issue with the webview.
The text was updated successfully, but these errors were encountered: