Wrap pre-formatted nodes at word boundaries, not window width

Bug: 38043
Change-Id: I9b5e3b3e62b52c86743ee345b1cc31beec0a061e
This commit is contained in:
James D. Forrester 2013-05-24 22:23:17 +02:00
parent 2e76271b4e
commit 83c79bd586

View file

@ -152,6 +152,7 @@
}
/* ve.ce.MWTemplateNode */
.ve-ce-MWtemplateBlockNode {
display: block;
}
@ -166,6 +167,12 @@
display: block;
}
/* ve.ce.MWPreformattedNode */
pre.ve-ce-branchNode {
white-space: pre-wrap;
}
.ve-ce-branchNode h1:empty:before,
.ve-ce-branchNode h2:empty:before,
.ve-ce-branchNode h3:empty:before,