Entered weird mode, tab switch between "Edit" and "Edit Strokes"
this link might help

https://docs.blender.org/manual/de/dev/interface/grease_pencil/stroke_edit.html

if you want to get out of stroke edit mode try pressing d-tab