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

Allow TinyMCE to be smaller

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1, 2.2
    • Fix Version/s: 2.1.1
    • Component/s: HTML Editor (TinyMCE)
    • Labels:
    • Testing Instructions:
      Hide

      1. Create a new multiple-choice question (or edit an existing one)
      2. Verify that the Choice and Choice feedback HTML editors are small - just big enough for about one line of text.
      3. Verify that any HTML editor can be resized from to minimum size or any larger size.

      Note that it you web browser may not notice that the TinyMCE JavaScript has changed. You may need to do a forced reload (E.g. SHIFT + F5 in firefox) for it to work.

      Show
      1. Create a new multiple-choice question (or edit an existing one) 2. Verify that the Choice and Choice feedback HTML editors are small - just big enough for about one line of text. 3. Verify that any HTML editor can be resized from to minimum size or any larger size. Note that it you web browser may not notice that the TinyMCE JavaScript has changed. You may need to do a forced reload (E.g. SHIFT + F5 in firefox) for it to work.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      There is a minimum size of 100px for TinyMCE, which is unnecessarily big.

      Fixing this comes in two parts. It requires a change to TinyMCE to get rid of some unnecesary hard-coding of the 100px. See:
      http://tinymce.moxiecode.com/develop/bugtracker_view.php?id=3789
      https://github.com/tinymce/tinymce/pull/69

      Then we need to change our configuration, which I am about to create a commit for.

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            Aparup Banerjee
            Integrator:
            Sam Hemelryk
            Tester:
            Rajesh Taneja
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              1/Aug/11