-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add basic giphy plugin for text editor #7356
Conversation
mtsgrd
commented
Feb 21, 2025
•
edited
Loading
edited
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
$inspect(fetch); | ||
$inspect(paginator); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Something went bananas when I tried to re-order the branches.
$inspect(paginator); | ||
</script> | ||
|
||
<svelte:window /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not!
if (!prefixMatched) { | ||
if (key.length === 1 && key.match(/[\w /]/)) { | ||
inputBuffer += key; | ||
if (inputBuffer.endsWith('/gif ')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if I'm typing /gif somewhere in the middle of my commit message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, no, I see
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing will happen unless you hit enter after first typing a valid string.