Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14120

page-fragments: editor: type method is changing editor's text even if in readonly mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.5.9
    • Component/s: page-fragments
    • Labels:
      None

      Description

      The type method is always using JavaScript:

      executor.executeScript(String.format("document.body.textContent= document.body.textContent + '%s'", text));

      for setting the editor's text, which produces unwanted behaviour in read only mode.

      The other thing is, that the mentioned JavaScript is only needed as a workaround for PhantomJS driver bug 335.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jstefek Jiří Štefek
                Reporter:
                jstefek Jiří Štefek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: