Skip to content

Clear link to content search field after closing the box #3528

@Tagirijus

Description

@Tagirijus

Describe the feature you'd like

When using Ctrl+Shift+K or the respecting button to link to another content, you can search for e.g. book titles or pages and select things you have found then. The box closes and the content will be linked. If you now want to link to another content, the box opens again, but still has the old search text in the search bar. I would like the bar to be cleared after the box closes or so.

Describe the benefits this would bring to existing BookStack users

In my eyes it a) would improve the workflow, since you probably do not want to link to the exact content twice that often and b) it almost feels like a not-intuitive behaviour; maybe almost like some kind of bug.

Can the goal of this request already be achieved via other means?

Instead of clearing the field it might be an option to automatically select the search bars content after opening the linking box. That way a user could start typing straight ahead to search for another content without the need of it to be deleted. This can, already, be achieved manually via Ctrl-A, for example.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?

0 to 6 months

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions