Skip to content
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

# not possible to add new hashtag. #212

Open
swinxx opened this issue Nov 30, 2024 · 2 comments
Open

# not possible to add new hashtag. #212

swinxx opened this issue Nov 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@swinxx
Copy link

swinxx commented Nov 30, 2024

trying to create a new # fails..

when using # to create new hashtag, the selection opens up.
trying to create a new hashtag fails in pasting the selection.

example

-> opens up the hashtag selection (existing hashtags e.g. #example)

#xyz (ENTER)
leads to ->

#example xyz

Copy link

dosubot bot commented Nov 30, 2024

Hey @swinxx, I'm here to help you with any bugs, questions, or contributions you have! Let's squash those bugs together! 🤖

The issue you're experiencing seems to be related to the hashtag selection and creation functionality in Blinko. When you try to create a new hashtag, the selection pop-up for existing hashtags appears, and it defaults to an existing hashtag instead of creating a new one.

This behavior is likely due to how the handlePopTag function processes the input. It uses regular expressions to detect hashtags and might be defaulting to an existing hashtag if the input matches a pattern of an existing one [1].

There was a known issue related to hashtag rendering that was fixed in version 0.9.5, which might be related to your problem. You might want to ensure that you are using the latest version of Blinko to see if this resolves the issue [2]. If the problem persists, it might require further investigation into how new hashtags are handled in the codebase.

To continue talking to Dosu, mention @dosu.

@dosubot dosubot bot added the bug Something isn't working label Nov 30, 2024
@weado
Copy link

weado commented Nov 30, 2024

Hi, I have the same issue :
I currently have 2 hashtags in my blinko. When I try to create one, I start by typing the hashtag and when I press the space bar, it changes the word to an existing hashtag.
Example (I writed new hastag and when I press the space bar, it change it) :
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants