Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8090008

Extra <br> tag in HTMLEditor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • None
    • javafx
    • win7, b46, jdk1.6

    • web

      To reproduce:
      - run HTMLEditor
      - press ENTER
      - press BACKSPACE

      Expected that getHTML() returns empty HTML string, but it returns something like "<html><head></head><body contenteditable="true"><br><div style="text-align: left;"></div></body></html>". It looks ok in the editor, but after opening in any browser there is an extra break line.

            rkamath Rajath Kamath
            dkozorez Dmitry Kozorez (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: