I am trying to add a caption to an image and the caption

I am trying to add a caption to an image and the caption is being add but i'm unable to edit when i double click can you help me with this?