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

Dev Tools - Velocity. Cursor has odd behavior when editing. #30393

Open
hmoreras opened this issue Oct 18, 2024 · 2 comments · May be fixed by #30407
Open

Dev Tools - Velocity. Cursor has odd behavior when editing. #30393

hmoreras opened this issue Oct 18, 2024 · 2 comments · May be fixed by #30407

Comments

@hmoreras
Copy link
Contributor

hmoreras commented Oct 18, 2024

GitHub Issue Template

Problem Statement

In the dev tool's Velocity section, when editing Velocity code, the cursor is exhibiting odd behavior due to font size differences. This inconsistency in cursor movement and positioning is affecting the user experience and making code editing less efficient and more error-prone.

Steps to Reproduce

  1. Open the dotCMS admin panel
  2. Navigate to the dev tools - Velocity section
  3. Start typing or editing the Velocity code
  4. Observe the cursor movement as you type.
Screenshare.-.2024-10-18.8_04_49.AM.mp4

Acceptance Criteria

  • Cursor positioning should be accurate and predictable when moving up, down, left, or right
  • The visual feedback of cursor location should align perfectly with where text will be insert

dotCMS Version

latest

Proposed Objective

User Experience

Additional Notes

  • This issue may be related to the text rendering or the code editor component used in the Velocity section
@hmoreras
Copy link
Contributor Author

QA note: cursor editor working correctly:

Screenshare.-.2024-10-18.2_03_27.PM.mp4

velocity used.
#foreach($con in $dotcontent.pull("+contentType:Activity +(conhost:48190c8c-42c4-46af-8d1a-0cd5db894797 conhost:SYSTEM_HOST) +variant:default",10,"modDate desc")) $con.title #end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Review
1 participant