Page MenuHomePhabricator

VisualEditor: Indent buttons should be used for in-/out-denting paragraphs as well as lists.
Open, MediumPublicFeature

Description

The indent and outdent buttons are always grayed out.

(reported at http://de.wikipedia.org/wiki/Wikipedia:Technik/Text/Edit/VisualEditor/Alpha2013-04#Link_einbinden_.2F_Einzug)


Version: unspecified
Severity: enhancement

Details

Reference
bz48010

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:33 AM
bzimport set Reference to bz48010.

These are for list indenting currently, and do not (yet) do text block indenting. Setting as an enhancement, likely to be after the 'beta' is released.

This would be lovely (as a nice-to-have) to get done for the beta.

In practical terms, it means that <p>Foo</p> gets wrapped into <dl><dd><p>Foo</p></dd></dl> and vice versa; all the DM/Parsoid plumbing is there, just needs the indent/outdent commands to be aware of how to operate in the paragraph/preformatted context.

mcdevitd wrote:

Would this also allow the tab key to be used for paragraph indenting (like for lists), or should that be filed as a separate bug report?

(In reply to comment #3)

Would this also allow the tab key to be used for paragraph indenting (like
for lists), or should that be filed as a separate bug report?

That'd be the same (the tab and shift-tab keys are bonded to these buttons), so no need for a separate bug report.

  • Bug 51530 has been marked as a duplicate of this bug. ***

I don't know if this is related, or whether it should be a new bug. In this edit:

https://en.wikipedia.org/w/index.php?title=User:Spinningspark/Work_in_progress/Mobility_analogy&diff=626824709&oldid=626823704

VE adds a number of spurious indents. The intended edit was to swap over the order of two blocks of text containing math markup. Very frustrating that the problem could not even be fixed from within VE since indenting does not function in general.

(In reply to Spinningspark from comment #6)

Sorry, posted this in wrong place. It was intended for bug 59849

Hi,

is this task still active? Indenting (of text) is a much requested feature on my companies wiki.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM
Aklapper removed a subscriber: rmoen.