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

Prevent block from accidentally being deleted #307

Closed
HJB1972 opened this issue Feb 22, 2022 · 2 comments
Closed

Prevent block from accidentally being deleted #307

HJB1972 opened this issue Feb 22, 2022 · 2 comments

Comments

@HJB1972
Copy link

HJB1972 commented Feb 22, 2022

Is there any way to prevent a block from being accidentally deleted. Can a delete warning be implemented "Are you sure you want this block to be deleted?" It is very easy to delete a content block and loose valuable information whilst editing a page. There is currently zero warning unless I am missing something.

@trendschau
Copy link
Member

Thank you for this suggestion. I have to think about it, because it slows down the edit process and I am not aware of such security questions in other block editors (but I might be wrong). However, there is much space for improvements here:

  • The delete button is way to close to the add-button, this should be improved in future somehow
  • You could think about an optional setting where the button changes to to a confirmation button-like "really" so you can double click quickly to finally delete it and avoid an extra overlay. Will add it to the list of improvements.

@trendschau
Copy link
Member

The buttons are positioned better now in Version 2. I will keep a confirmation window in mind as an optional feature in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants