Skip to content

Can't export plain text from blocks with "alias" links #10299

@pawelkadysz

Description

@pawelkadysz

Search first

  • I searched and no similar issues were found

What Happened?

I use aliases a lot (you really need to use them when you write in polish). Exporting or even copying text won't get rid of all the brackets in "alias" links. It does for regular [[square bracket]] links, but not for [aliases]([[Links]]). See screens attached.

It's a huge pain.

Reproduce the Bug

  1. Create a link with alias for example: [This is a link]([[This is a page]])
  2. Try to export this text without all the brackets.
  3. You can't.

Expected Behavior

[[text]] -> text option in the export modal window should also get rid of the brackets in alias links.

Screenshots

CleanShot 2023-09-28 at 16 39 51@2x

CleanShot 2023-09-28 at 16 40 05@2x

Desktop or Mobile Platform Information

App Version: 0.9.18
Git Revision: 6eb82e8
Platform: Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML like Gecko) Logseq/0.9.18 Chrome/112.0.5615.204 Electron/24.6.3 Safari/537.36
Language: pl
Plugins: logseq-focus-mode (v1.0.3), logseq-journals-calendar (v0.10.10), logseq-mia-theme (v1.5.4), logseq-wordcount-plugin (2.4.14)

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions