Browse Source

Add <br> as empty representation for webkit (#12490)

Change-Id: Idfb1c770d411b0516046e40852b79da6f9c7916c
tags/7.1.4^0
Artur Signell 10 years ago
parent
commit
fca0f7a6b7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      client/src/com/vaadin/client/ui/VRichTextArea.java

+ 1
- 1
client/src/com/vaadin/client/ui/VRichTextArea.java View File

@@ -403,7 +403,7 @@ public class VRichTextArea extends Composite implements Field, KeyPressHandler,
result = "";
}
} else if (browser.isWebkit()) {
if ("<div><br></div>".equals(result)) {
if ("<br>".equals(result) || "<div><br></div>".equals(result)) {
result = "";
}
} else if (browser.isIE()) {

Loading…
Cancel
Save