-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Labels
bugSomething isn't workingSomething isn't workingreleasedAvailable in a released installerAvailable in a released installer
Description
Problem to Solve
The Paste as Text command creates soft-breaks when it should create hard-breaks.
The sequence \r\n
is translated to the soft-break <br>
, resulting in a continuous paragraph with line breaks. But this sequence should be translated to a hard-break, resulting in separate paragraphs.
To Reproduce
Steps to reproduce the behavior:
- Copy CRLF text containing
\r\n
line breaks - Use the Paste as Text command (
Ctrl+Shift+V
) to paste the text on a page - The resultant block of text contains soft-breaks
<one:OE alignment="left" quickStyleIndex="1">
<one:T><![CDATA[Lorem ipsum dolor sit amet<br>
consectetur adipiscing elit<br>
sed do eiusmod tempor incididunt]]></one:T>
</one:OE>
Expected Behavior
CRLF text should be pasted with individual lines separated by hard-breaks into paragraphs
<one:OE alignment="left" quickStyleIndex="1">
<one:T><![CDATA[Lorem ipsum dolor sit amet]]></one:T>
</one:OE>
<one:OE alignment="left" quickStyleIndex="1">
<one:T><![CDATA[consectetur adipiscing elit]]></one:T>
</one:OE>
<one:OE alignment="left" quickStyleIndex="1">
<one:T><![CDATA[sed do eiusmod tempor incididunt]]></one:T>
</one:OE>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingreleasedAvailable in a released installerAvailable in a released installer