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

When copying an image, I’m getting random emojis instead #1

Open
SuperexMack opened this issue Sep 23, 2024 · 4 comments
Open

When copying an image, I’m getting random emojis instead #1

SuperexMack opened this issue Sep 23, 2024 · 4 comments
Labels
enhancement New feature or request hacktoberfest help wanted Extra attention is needed

Comments

@SuperexMack
Copy link

new.issue.mp4
@KlausMikhaelson KlausMikhaelson added enhancement New feature or request help wanted Extra attention is needed hacktoberfest labels Oct 10, 2024
@deep1327007
Copy link

Fix for Emoji Whitespace Issue

I fixed an issue where emojis would automatically move to a new line when pasted, due to a whitespace problem.

To resolve this, I made a function with the help of AI to check if multiple emojis are present on the same line. If they are, the "handleCopy" function ensures that the next set of emojis starts on a new line.

So, I implemented a copy function that is linked to the "Copy Emojis" button on the frontend. This function automatically selects all emojis, helping to avoid manual selection and ensuring they are copied correctly.

copy_emojis.mp4

@SuperexMack
Copy link
Author

Oh wow it looks cool

@KlausMikhaelson
Copy link
Owner

Fix for Emoji Whitespace Issue

I fixed an issue where emojis would automatically move to a new line when pasted, due to a whitespace problem.

To resolve this, I made a function with the help of AI to check if multiple emojis are present on the same line. If they are, the "handleCopy" function ensures that the next set of emojis starts on a new line.

So, I implemented a copy function that is linked to the "Copy Emojis" button on the frontend. This function automatically selects all emojis, helping to avoid manual selection and ensuring they are copied correctly.

copy_emojis.mp4

good job!, can you create a Pull request for the same ?

@deep1327007
Copy link

i have pocked in many places, have listed them in PR description. 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants