New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with mentions' autocomplete #272
Comments
|
yes, that is currently a bit tricky. You can try adding some HTML, like for example:
|
|
Thanks for the workaround! 👍 Do you agree this should not happen? I didn't use the autocomplete and never chose this behavior, it should not be automatically applied, right? |
|
It should automatically apply, this is how the feature is planned. I have no idea to do it differently. It now works exactly how it works on mastodon. And mastodon has the same issue. You will not be able to post the plain identifier. I think this should be the default behavior, but if you can tell me your exact usecase, I maybe find a different and more elegant way to share the WebFinger URI in a blogpost. |
|
Maybe this is just me, sorry, but I don't think you should apply the feature exactly like Mastodon does. WordPress has it's own way of working, and users expects the software to work that way. In WordPress, there shouldn't be a case where the text is modified without our control. We write and arrange our posts in blocks (or classic editor), this is WYSIWYG. We write text in the editor = it is shown as text = it should display as text. For example, if you type an url or an email address in WP it will be simple text. It's up to you to make an hyperlink. While in Mastodon an hyperlink is automatically made clickable, in WordPress it is not. If you want to "unlink" an url in WP, you can. Autocomplete is a good idea but it should only be applied if we clicked on it. Right now, it's out of our control. Worse, it applies automatically to old posts as well! It took me a while to understand what was happening, and I understood because I saw the problem the same day as I made the update. But I guess many users won't understand why their content is modified. |
As @pfefferle mentioned, being able to
|
|
"write it as plain text and link it yourself" "or wrap it in another tag, ex: I'm sorry to insist, but mentions should only be applied if we want to. Modifying content automatically, and having no way to bypass the change, is not something a WordPress user expects. This is a really weird and unwanted behavior. The autocomplete is a good idea, but if we don't use it, if we don't click it, it should not modify the plain text we just wrote. If we click it, there should be a way to remove the mention, too. Just like an hyperlink works, for example. Btw, thank you very much for your hard work, all your plugins are very helpful and very well done! |
|
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
|
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Hello, I'm not really sure how this is working, but I think this is related to #213 where the autocomplete is messing up content.
I have a page where I give my contacts: where to find me / follow me. For Mastodon/ActivityPub I wrote "@myusername@mywebsite.com" in plain text.
Since the update, it's automatically replaced with "@myusername" which is not plain text but a link to "https://mywebsite.com/author/myusername"
I cannot bypass the change, thus I cannot simply share my ActivityPub account anymore.
Am I missing something?
The text was updated successfully, but these errors were encountered: