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

Missing Atto Math Equation buttons

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test square root button

      1. Navigate to a page where the text editor displays
      2. Click the show more buttons button
      3. Click the equation editor button
      4. Click the advanced tab
      5. Click the square root button
      6. Validate the text \sqrt[a] {b+c} appear in the text area
        # Save the equation
        # Save the page
        # Validate the square root of b+c is a in the equation

        Test fraction button
        # Navigate to a page where the text editor displays
        # Click the show more buttons button
        # Click the equation editor button
        # Click the advanced tab
        # Click the fraction button
        # Validate the text \frac{a}{b+c}

        appear in the text area

      7. Save the equation
      8. Save the page
      9. Validate the a /b+C is rendered

      Test vector button

      1. Navigate to a page where the text editor displays
      2. Click the show more buttons button
      3. Click the equation editor button
      4. Click the advanced tab
      5. Click the vector button
      6. Validate the text \vec {a} appear in the text area
        # Save the equation
        # Save the page
        # Validate the a is rendered with an arrow above it

        Test binomial button
        # Navigate to a page where the text editor displays
        # Click the show more buttons button
        # Click the equation editor button
        # Click the advanced tab
        # Click the binomial button
        # Validate the text \binom {a}

        {b}

        appears in the text area

      7. Save the equation
      8. Save the page
      9. Validate the a is over b is rendered inside ().

      Test bracket button

      1. Navigate to a page where the text editor displays
      2. Click the show more buttons button
      3. Click the equation editor button
      4. Click the advanced tab
      5. Click the bracket button
      6. Validate the text {a \brack b}

        appears in the text area

      7. Save the equation
      8. Save the page
      9. Validate the a is over b is rendered inside [].

      Test brace button

      1. Navigate to a page where the text editor displays
      2. Click the show more buttons button
      3. Click the equation editor button
      4. Click the advanced tab
      5. Click the brace button
      6. Validate the text {a \brace b}

        appears in the text area

      7. Save the equation
      8. Save the page
      9. Validate the a is over b is rendered inside {}.

      Test the upgrade process

      1. In a site with the older version of the equation plugin (2015051100) test the upgrade process when the setting has not been changed from the default
        1. Ensure that the atto_equation librarygroup4 setting is set to the old default (prior to this ticket)
        2. Upgrade to the new version
        3. Check to see that the new value for atto_equation librarygroup4 setting is the new default (in this ticket)
      2. In a site with the older version of the equation plugin (2015051100) test the upgrade process when the setting has been changed from the default
        1. Ensure that the atto_equation librarygroup4 setting is set to something other than the old default (prior to this ticket)
        2. Upgrade to the new version
        3. Check to see that the value for atto_equation librarygroup4 setting is the same as before the upgrade
      Show
      Test square root button Navigate to a page where the text editor displays Click the show more buttons button Click the equation editor button Click the advanced tab Click the square root button Validate the text \sqrt [a] {b+c} appear in the text area # Save the equation # Save the page # Validate the square root of b+c is a in the equation Test fraction button # Navigate to a page where the text editor displays # Click the show more buttons button # Click the equation editor button # Click the advanced tab # Click the fraction button # Validate the text \frac{a}{b+c} appear in the text area Save the equation Save the page Validate the a /b+C is rendered Test vector button Navigate to a page where the text editor displays Click the show more buttons button Click the equation editor button Click the advanced tab Click the vector button Validate the text \vec {a} appear in the text area # Save the equation # Save the page # Validate the a is rendered with an arrow above it Test binomial button # Navigate to a page where the text editor displays # Click the show more buttons button # Click the equation editor button # Click the advanced tab # Click the binomial button # Validate the text \binom {a} {b} appears in the text area Save the equation Save the page Validate the a is over b is rendered inside (). Test bracket button Navigate to a page where the text editor displays Click the show more buttons button Click the equation editor button Click the advanced tab Click the bracket button Validate the text {a \brack b} appears in the text area Save the equation Save the page Validate the a is over b is rendered inside []. Test brace button Navigate to a page where the text editor displays Click the show more buttons button Click the equation editor button Click the advanced tab Click the brace button Validate the text {a \brace b} appears in the text area Save the equation Save the page Validate the a is over b is rendered inside {}. Test the upgrade process In a site with the older version of the equation plugin (2015051100) test the upgrade process when the setting has not been changed from the default Ensure that the atto_equation librarygroup4 setting is set to the old default (prior to this ticket) Upgrade to the new version Check to see that the new value for atto_equation librarygroup4 setting is the new default (in this ticket) In a site with the older version of the equation plugin (2015051100) test the upgrade process when the setting has been changed from the default Ensure that the atto_equation librarygroup4 setting is set to something other than the old default (prior to this ticket) Upgrade to the new version Check to see that the value for atto_equation librarygroup4 setting is the same as before the upgrade
    • Workaround:
      Hide

      Under Site administration > Plugins > Test Editor > Atto HTML Editor > Equation Editor settings

      add the following text to the advanced text area:
      \sum

      {a,b}

      \sqrt[a]

      {b+c}
      \int_{a}^{b}{c}
      \iint_{a}^{b}{c}
      \iiint_{a}^{b}{c}
      \oint{a}
      (a)
      [a]
      \lbrace{a}\rbrace
      \left| \begin{matrix} a_1 & a_2
      a_3 & a_4 \end{matrix} \right|
      \frac{a}{b+c}

      \vec

      {a}
      \binom {a}

      {b} {a \brack b} {a \brace b}
      Show
      Under Site administration > Plugins > Test Editor > Atto HTML Editor > Equation Editor settings add the following text to the advanced text area: \sum {a,b} \sqrt [a] {b+c} \int_{a}^{b}{c} \iint_{a}^{b}{c} \iiint_{a}^{b}{c} \oint{a} (a) [a] \lbrace{a}\rbrace \left| \begin{matrix} a_1 & a_2 a_3 & a_4 \end{matrix} \right| \frac{a}{b+c} \vec {a} \binom {a} {b} {a \brack b} {a \brace b}
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-50936_master

      Description

      Atto is missing the following math equation buttons in the equation editor:

      1. Square root - there is no way to add the \sqrt function that creates a square root using a button
      2. Fractions - There is no way to create a vertical line for division using the \frac function
      3. Vector - This is a special column matrix

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  16/Nov/15