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

Heading shortcut (Crtl+2) deletes text #11253

Open
1 of 2 tasks
fockr opened this issue Apr 21, 2024 · 1 comment
Open
1 of 2 tasks

Heading shortcut (Crtl+2) deletes text #11253

fockr opened this issue Apr 21, 2024 · 1 comment
Labels

Comments

@fockr
Copy link

fockr commented Apr 21, 2024

Search first

  • I searched and no similar issues were found

What Happened?

I created a new page in the journal using [[text]]. Then I wanted to format the line to H2 using Crtl+2 and the [[ text ]] got deleted. Only the ## formating was there. Undo functionality also was broken - hence I wan't able to revert the deletion.

Reproduce the Bug

  1. Go to today's journal page
  2. type [[ some new page name ]]
  3. press Ctrl+2
  4. observe deletion of [[ some new page name ]]

Expected Behavior

The [[ some new page name ]] text is supposed to stay. I only expect to see ## formatting in front of the text.

Screenshots

No response

Desktop or Mobile Platform Information

App Version: 0.10.8
Git Revision: 3fc1560
Platform: Mozilla/5.0 (X11 Linux x86_64) AppleWebKit/537.36 (KHTML like Gecko) Logseq/0.10.8 Chrome/118.0.5993.159 Electron/27.1.3 Safari/537.36
Language: de
Plugins: logseq-allday-theme (v1.1.19), logseq-atlas-theme (v0.3.5), logseq-bonofix-theme (v3.10.4), logseq-dev-theme (v1.26.17), logseq-link-preview (v2.3.0), logseq-plugin-heading-level-shortcuts (v0.0.6), logseq-quick-capture (0.0.7)

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!)
@andelf
Copy link
Collaborator

andelf commented Apr 22, 2024

logseq-plugin-heading-level-shortcuts (v0.0.6)

The plugin might forget to persist block content before editing it.

@andelf andelf added plugins and removed shortcuts labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants