Skip to content

Auto-completion adds parenthesis when user inserts text emoji :( #7349

Closed

Description

@kinekt4

What happened?

When inserting a text emoji such as :( logseq automatically adds a closing paranthesis like so: :()

:()

Reproduce the Bug

  1. Type :(
  2. Auto-completion: :()

Expected Behavior

Brief

  • Text should remain :(

Detail

Possible solution:

  • Activate auto complete only if there's whitespace (\s) preceding the opening paranthesis (()
  • Except when opening parenthesis (() is preceded by closing square bracket (]). In cases such as URLs

Auto Completion cases

  • : ( => : ()
  • [.*]( => [.*]() (URLs)

Do Not Autocomplete

  • :(

Screenshots

No response

Desktop Platform Information

  • OS: Windows 10
  • Logseg App: v0.8.10

Mobile Platform Information

No response

Additional Context

No response

Activity

  1. added
    :type/feature-request
    on Nov 16, 2022
  2. changed the title [-]Auto-completion adds paranthesis when user inserts text emoji :([/-] [+]Auto-completion adds parenthesis when user inserts text emoji :([/+] on Nov 17, 2022
  3. added a commit that references this issue on Nov 17, 2022
  4. added a commit that references this issue on Nov 22, 2022
  5. added a commit that references this issue on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    :type/feature-request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions