https://bugzilla.wikimedia.org/show_bug.cgi?id=45344

       Web browser: ---
            Bug ID: 45344
           Summary: VisualEditor: You cannot create pre-formatted blocks
                    spanning multiple lines
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

1. Create a document "First line.Second line"
2. Select this text and insert a newline between the '.' and the 'S'
(currently, using the Enter key).

Expected result: a single <pre> block with a single newline after the full
stop, converting to " First line.\n Second line" in wikitext. Note that this is
trivially-obvious on MW Vector due to the "border: 1px dashed #2f6fab;".

Actual result: two separated <pre> blocks (with a slug between them),
converting to " First line.\n\n Second line" in wikitext.

I presume that we'll want to retain Enter as a break-me-out-of-this-context
newline, and use Shift-Enter to allow insertion of the above.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to