Topic on Project:Support desk

Does VisualEditor support inserting a single line break?

5
Osnard (talkcontribs)

I have noticed that while using a <br /> element in wikitext is supported, there does not seem to be a easy way (e.g. SHIFT + ENTER) to insert it in VisualEditor.

Does anyone know the reason for this? It feels like this is a very common thing to have in a visual editor.

TheDJ (talkcontribs)

I suspect it is mostly because ppl would use it too much (because they are used to word and google docs) and then en.wp editors would complain about all the <br>'s in their wikitext. BRs, while valid, aren't really that common in wikitext.

Osnard (talkcontribs)

Thanks for the response. Attempts to create a "Gadget" that allows to use SHIFT + ENTER to add an <br /> have failed so far. VE doesn't seem to like this kind if interaction. I am still assuming some more technical reason.

Jdforrester (WMF) (talkcontribs)

This request is https://phabricator.wikimedia.org/T95518. In general, please make feature requests in Phabricator, or on an extension's talk page, not in the general support thread, so they're seen by the right people. :-)

Osnard (talkcontribs)

Thank you very much! This wasn't really meant as a feature request. I wanted to implement this into some gadget or extensions and was wondering if there were some blockers that I am not aware of. But it is nice to see this as a Phab ticket. Thanks again.

Reply to "Does VisualEditor support inserting a single line break?"