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

Command 'undo' doesn't work on an editable WebView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u10
    • javafx
    • None
    • Windows 8

    • web

      Hi,

      I'm building a rich text editor with Webview, by setting the contenteditable value to 'true'. To apply format change on a selected text, i'm using the javascript method document.execCommand('commandName');

      Everything seems to work perfectly, except the commands undo & redo. When i executed document.execCommand('undo', false, null), nothing happens. I don't know if it is a bug of Webview or something else.

      Please help.

      Thank you.

            peterz Peter Zhelezniakov
            jbahatijfx Jiva Bahati (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: