Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47898

Quiz using popup window with JavaScript secuity, not possibel to use Atto text formatting tools

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a quiz with "Browser security" to "Full screen pop-up with some JavaScript security"
      2. add an essay question.
      3. As a student, start an attempt at the quiz. (A teacher preview is not enough.)
      4. Ensure that you can click to focus the editor, and then type into it.

      Please also test other actions with mouse and keyboard for interacting with the editor, however, the above is the only thing I could find that was broken before the bug fix.

      Show
      Create a quiz with "Browser security" to "Full screen pop-up with some JavaScript security" add an essay question. As a student, start an attempt at the quiz. (A teacher preview is not enough.) Ensure that you can click to focus the editor, and then type into it. Please also test other actions with mouse and keyboard for interacting with the editor, however, the above is the only thing I could find that was broken before the bug fix.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-47898-master

      Description

      This follows from MDL-46088, where we made Atto basically work.

      Now we have the problem that you can't reliably select text and apply formatting in a range of browsers.

      From Adrian Greeve's testing there:

      {blockquote}
      With a bit more testing I found that browsers under windows had some unexpected problems.


      IE10: I can click in the text area, but I can not highlight anything.
      Using the keyboard I can highlight something, but trying to implement some formatting results in the one area being affected only, and attempts to use any sort of text formatting elsewhere will not work.

      Chrome: Highlighting in the text area works, but similar problems to highlighting and formatting in IE are present.

      Firefox: The same problems as Chrome.

      edit I don't know what I was doing before, but I can see that this behaviour is actually on all operating systems.{blockquote}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dobedobedoh Andrew Nicols
                Reporter:
                timhunt Tim Hunt
                Peer reviewer:
                Tim Hunt
                Integrator:
                Damyon Wiese
                Tester:
                Frédéric Massart
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Nov/14