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

Add in-note search via command-f #6

Open
danielgolden opened this issue Jan 24, 2019 · 3 comments
Open

Add in-note search via command-f #6

danielgolden opened this issue Jan 24, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@danielgolden
Copy link
Owner

danielgolden commented Jan 24, 2019

So that, when you have a note selected, you can search its contents. Also it would be really could if the search query (from the search bar), when found, would be highlighted a bit. (This issue has been split into two. It's sibling is #26 )

@danielgolden danielgolden added the enhancement New feature or request label Jan 24, 2019
@danielgolden danielgolden self-assigned this Jan 24, 2019
@danielgolden danielgolden added this to To do in Project Roadmap via automation Jan 24, 2019
@danielgolden
Copy link
Owner Author

This might be really tough:

  • You can't select text in a text area as far as I know
  • You cannot place HTML elements inside of a textarea (link)

You should explore using a paragraph with the contentEditable attribute. Worth a shot I suppose.

@danielgolden
Copy link
Owner Author

I this can work contentEditable idea can work!: http://jsfiddle.net/jwf3nms1/

@danielgolden
Copy link
Owner Author

Running into an issue where the cursor is moved to the front of the text everytime @input fires. Try this: https://davidwalsh.name/caret-end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant