Allow enter x 2 to get out of image caption onto next line (Ketida 1, OEN version, for images that are part of a section or part of a pedagogical element)
Expected behaviour
In general enter x 2 allows you to get out of the current section or block. This should work for image captions as well.
Current behaviour
When I am in an image caption, enter x 2 does not work to get out of it, I have to click on the image above and use enter x 2 to get out. It does work correctly for images that are not part of any section or pedagogical element after the recent changes made to fix this, but still doesn't work in oen for images that are part of a section or part of a pedagogical element.
Steps to reproduce
- Go into the OEN instance of Ketida
- Go into a component of any book and make sure you're in a section or pedagogical element
- Upload an image and insert it
- Give the image a caption
- Try Enter x 2 to get out of the caption onto the next line, see that it doesn't work
- If you have sections below the image, you can simply click on them. But this doesn't work if you don't have a section or new line below the image already. Alternatively you can click on the image and Enter x 2 to get onto the next line below the caption. But enter x 2 to get out of the caption would be ideal.
Environment
Mac 10.12. Chrome Version 103.0.5060.134 (Official Build) (x86_64)