What is th bl_contexte syntax for Editmode?

Hello blender users!

I would like to know what is the correct systax in Blender Python for showing an UI pannel only in edit mode.
Thx in advance.

class UI_PT_Panel(bpy.types.Panel):
	bl_space_type = "VIEW_3D"
	bl_region_type = "UI"
#	bl_context = "editmode"
	bl_category = "EdgeMeasurement"
	bl_label = "Edge selection info"

You want “mesh_edit” instead.
That’s because there’s not a single “edit mode”, you might be editing a mesh, a curve, a rig…

Thank you.
that’s logical.