Moodle
  1. Moodle
  2. MDL-9556

HTML editor shortcuts button appears when JavaScript disabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9
    • Fix Version/s: 1.8.1, 1.9
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      When using a supported browser but with JavaScript disabled, print_textarea still displays the keyboard shortcut help icon - even though no keyboard shortcuts are available as only an ordinary text area is provided. This could confuse users.

        Gliffy Diagrams

          Activity

          Hide
          Sam Marshall added a comment -

          I made it use document.write to output this button so that it does not appear if JS is disabled.

          Show
          Sam Marshall added a comment - I made it use document.write to output this button so that it does not appear if JS is disabled.

            People

            • Assignee:
              Sam Marshall
              Reporter:
              Sam Marshall
              Tester:
              Nobody
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: