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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.2, 2.8
    • 2.7.3
    • Quiz, Text editor Atto
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE
    • MDL-47898-master
    • 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.

    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 abgreeve'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

              dobedobedoh Andrew Lyons
              timhunt Tim Hunt
              Tim Hunt Tim Hunt
              Damyon Wiese Damyon Wiese
              Frédéric Massart Frédéric Massart
              Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14