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

Editor autocomplete - does not open in a second use #5290

Merged

Conversation

ainouzgali
Copy link
Contributor

What change does this PR introduce?

In the editor, after adding a {{..}} once. Writing only one { opens the autocomplete dropdown, when adding the second { (so its {{ ) the dropdown does not show again.

The slice was wrong, at the second input of {{ it took the whole content and so used the indexes of the first {{

Why was this change needed?

Other information (Screenshots)

Copy link

linear bot commented Mar 10, 2024

@ainouzgali ainouzgali requested a review from BiswaViraj March 10, 2024 12:01
Copy link

netlify bot commented Mar 10, 2024

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit f9ee22d
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/65f012fc96127e000898d17d
😎 Deploy Preview https://deploy-preview-5290--dev-web-novu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@BiswaViraj
Copy link
Member

It seems to not work after adding an empty line in between

Screen.Recording.2024-03-11.at.4.35.38.PM.mov

Copy link
Member

@BiswaViraj BiswaViraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing 🚀

@ainouzgali ainouzgali merged commit 3bd820e into next Mar 12, 2024
23 of 24 checks passed
@ainouzgali ainouzgali deleted the nv-3403-editor-autocomplete-does-not-open-in-a-second-use branch March 12, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants