瀏覽代碼

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

Change-Id: Idfb1c770d411b0516046e40852b79da6f9c7916c
tags/7.1.4^0
Artur Signell 10 年之前
父節點
當前提交
fca0f7a6b7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      client/src/com/vaadin/client/ui/VRichTextArea.java

+ 1
- 1
client/src/com/vaadin/client/ui/VRichTextArea.java 查看文件

@@ -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…
取消
儲存