Skip to content

Highlights List with Italic text has error when click on it #5604

@JYC333

Description

@JYC333

Description

It will also break the jump to function if there are italic text in the list. It should be easily reproduced by initalizing a new instance and check the Trilium Demo note.

TriliumNext Version

latest develop (25-03-29)

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

Win11

Error logs

JS Error: Uncaught error: Message: Cannot read properties of undefined (reading 'scrollIntoView'), Line: undefined, Column: undefined, Error object: {}, Stack: TypeError: Cannot read properties of undefined (reading 'scrollIntoView')
at HighlightsListWidget.jumpToHighlightsList (http://localhost:8080/assets/v0.92.4/app/src_public_app_layouts_desktop_layout_ts-src_public_stylesheets_calendar_css-src_public_style-b76082.js:7010:38)
Stack: Error
at Object.logError (http://localhost:8080/assets/v0.92.4/app/desktop.js:46785:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions