WebView should insert paragraphs rather than line breaks in edit mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • fx2.0
    • Affects Version/s: fx2.0
    • Component/s: javafx
    • None
    • web

      When WebView is in edit mode mode, <br> tags are inserted into the document when the Enter key is pressed. Most modern browsers, including Safari 5, IE 9, Firefox 4, and Chrome 11, insert <p> tags when Enter is pressed. To reproduce, visit this page, position the caret in the middle of the word "paragraph", and press Enter:

      http://html5demos.com/contenteditable

      This breaks RichTextArea, which uses WebView internally and also expects paragraphs to be inserted on Enter.

            Assignee:
            Per Bothner (Inactive)
            Reporter:
            Greg Brown (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: