Skip to content

BUG: Inline field highlighting in Live Preview is broken #2611

@jduprey

Description

@jduprey

What happened?

I've had to displable inline field highlighting:

Image

because it will not render properly if there are link references if turned on. It doesn't seem to matter which theme/style I choose.

e.g.:

edit:
Image

preview:
Image

With it turned off, I can at least see the full text of the inline field:

Image

Obsidian Version: Version 1.8.10 (Installer 1.8.9)
Image

Dataview version: 0.5.68 (currently installed: 0.5.68)

Image

With inline field editing enabled, this is the HTML produced (slightly formatted for easier reading):

<div dir="ltr" class="cm-line"><img class="cm-widgetBuffer" aria-hidden="true"><span class="dataview inline-field"
        contenteditable="false"><span class="dataview inline-field-standalone-value" data-dv-key="example"
            data-dv-norm-key="example"> and then more text</span></span><img class="cm-widgetBuffer" aria-hidden="true">
</div>

You can see the link and the text before it is lost.

DQL

No response

JS

Dataview Version

0.5.68

Obsidian Version

1.8.10

OS

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions