WordPress / press-this

Press This is a little tool that lets you grab bits of the web and create new posts with ease. It will even allow you to choose from images or videos included on the page and use them in your post. Use Press This as a quick and lightweight way to highlight another page on the web.
49 stars 22 forks source link

Chops of parts after the hash on StackOverflow/StackExchange links #18

Open jpluimers opened 6 years ago

jpluimers commented 6 years ago

Before pasting in Press-This:

After pasting the part starting with the hash is chopped off:

This happens on all stackoverflow.com/stackexchange.com/superuser.com/related sites.

It doesn't happen on other sites.

kraftbj commented 6 years ago

To confirm, do you mean when you paste into the Editor or into the URL window to scan a site? For the later, that makes sense to happen because the parser looks at the page as a whole--not segments of a site based on anchors (the hash part of the URL).

jpluimers commented 6 years ago

Paste into the URL. This used to work fine for most sites when using the bookmarklet. People expect anchors to continue working in the new situation.