Currently, users can only add captions in wikitext but not in VE. We will add the option to add a caption to maps with a text input in Visual Editor.
Requirements
- Add simple text input field which accepts wikitext formatting
- Add help icon and help text
Mock and specs
See epic: T318834
Content
Caption
This caption will display below the map in the frame (same as image captions). Adding a caption forces the map to have a frame. Wikitext formatting can be used here, for example for bolding, links, or references.
Technical implementation
Goes into the attribute <mapframe text="…">