Skip to content

[Feat]: Word-Level Navigation for Text-Heavy HTML in Live Preview #2239

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

Open
charlypa opened this issue Apr 15, 2025 · 3 comments · May be fixed by #2244
Open

[Feat]: Word-Level Navigation for Text-Heavy HTML in Live Preview #2239

charlypa opened this issue Apr 15, 2025 · 3 comments · May be fixed by #2244
Labels
Feature Request Feature requests from customers

Comments

@charlypa
Copy link
Contributor

Customer Request:

"In Live Preview, I love that you can click a section and it goes to the corresponding code. The other day, I needed to find where a word occurred on a page with a lot of text, but it only went to the section. So the ability to go to a specific word would be appreciated."

Proposed Feature:

Enhanced Live Preview navigation with word-level precision for text-heavy HTML

Benefits:

  • More precise navigation between preview and code
  • Ability to locate specific words or phrases in text-heavy HTML documents
  • Time-saving when working with content-rich pages
  • Improved editing workflow for HTML content creators

Implementation:

  • Extend the existing section-level navigation to work at word level
  • Add highlighting for the specific word in both preview and code views
  • Maintain compatibility with the current section navigation system
  • Consider keyboard shortcuts for toggling between section and word navigation modes
@abose abose added the Feature Request Feature requests from customers label Apr 15, 2025
@atondapu
Copy link

I would like to tackle this feature if possible!

@devvaannsh
Copy link
Member

@atondapu, thank you for showing interest in contributing to Phoenix! This feature might be a bit complex since it involves some in-depth core changes. That said, we’d be happy to help and support you if you’d like to give it a try!

@devvaannsh
Copy link
Member

@atondapu, if you want to contribute to Phoenix, I recommend starting by building an extension. It will help you understand the codebase better. If the extension solves a common need, we can consider merging it into the core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature requests from customers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants