bobbingwide / sb-children-block

List children of the current content as links.
2 stars 0 forks source link

Pressing delete key in text fields in the settings bar sometimes deletes the block #10

Closed bobbingwide closed 1 year ago

bobbingwide commented 4 years ago

I've noticed this a couple of time in my blocks. Most recently it was when I was playing with the Additional CSS class(es) field for the sb-children-block. Previously it was for other blocks - from oik/oik-blocks.

Steps to reproduce

  1. Enter something into the Additional CSS class(es) field. e.g. fred
  2. Navigate away from the block and back again
  3. Select the current value of the Additional CSS class(es) text field
  4. Press the delete key
  5. Sometime the block is deleted.

It's not easy to reproduce at will. Chances are that the entry field is losing focus and the selection goes back to the block in the editor area.

bobbingwide commented 2 years ago

Retested today on cwiccer.com. It seemed to work with v1.1.0. I'll retest when v1.2.0 is available from wordpress.org

bobbingwide commented 1 year ago

Retested today on s.b/oikcom. I was unable to reproduce the problem using the steps above.