Page MenuHomePhabricator

VisualEditor: Cannot enable or disable formatting of lines starting with semicolon markup
Closed, DuplicatePublic

Description

If there is a line on a page that includes the semicolon syntax, VisualEditor does not handle this well. For example:

<example>
;Foo

Some more text.
</example>

In VE, if I place the cursor either immediately before or immediately after the (bold-formatted) text "Foo", and then I add several new lines, I end up with multiple lines that include the semicolon formatting, such as:

<example>
;Bar
;
;Foo
;Baz

Some more text.
</example>

There is no way (that I can tell) to disable such formatting, and highlighting the (apparently) bold text and trying to select "clear formatting" has no effect.


Version: unspecified
Severity: normal

Details

Reference
bz71721

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:49 AM
bzimport added a project: VisualEditor.
bzimport set Reference to bz71721.
Ragesoss created this task.Oct 6 2014, 10:33 PM

In 'Edit source' - adding ; in front of a word makes a block displayed in bold in VE You cannot un-bold it in VE.

<dl class="ve-ce-branchNode"><dt class="ve-ce-branchNode"><p class="ve-ce-paragraphNode ve-ce-generated-wrapper ve-ce-branchNode">Foo sjhajshjahssdsd</p></dt><dt class="ve-ce-branchNode"><p class="ve-ce-paragraphNode ve-ce-branchNode">saksjdjskadja</p></dt></dl>

dt {
. 
display: block;
}

dt {
. 
font-weight: bold;
. 
margin-bottom: .1em;
}

Etonkovidova triaged this task as Medium priority.Feb 4 2015, 7:26 PM
Etonkovidova set Security to None.