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

[atto_equation] Repeating insertion from predefined buttons does not place them where the cursor is set

XMLWordPrintable

    • MOODLE_31_STABLE
    • MOODLE_33_STABLE
    • MDL-55461_atto_equation
    • Hide
      • Check the replication steps in the Description to familiarise yourself with the problem, and then attempt the test.
      1. Open up an Atto text editor (e.g. on a course forum)
      2. Click on the equation editor
      3. Go to 'Advanced' tab
      4. Click on the 'integral button'
      5. Put the cursor just before the 'a' character - check the next symbol will be inserted before the 'a'
      6. Put the cursor just after the 'a' character - check the next symbol will be inserted after the 'a'
      7. Delete the 'a' character - check the next symbol will be inserted within the brackets.
      Show
      Check the replication steps in the Description to familiarise yourself with the problem, and then attempt the test. Open up an Atto text editor (e.g. on a course forum) Click on the equation editor Go to 'Advanced' tab Click on the 'integral button' Put the cursor just before the 'a' character - check the next symbol will be inserted before the 'a' Put the cursor just after the 'a' character - check the next symbol will be inserted after the 'a' Delete the 'a' character - check the next symbol will be inserted within the brackets.

      Hi together,

      as working with the equation editor, we found the above mentioned behavior.

      Pre-Conditions
      1. User profile set to Atto HTML Editor.
      2. MathJax is enabled at site level (Site administrator > Plugins > Filters > Manage Filters)

      Steps to Replicate
      1. Login as User
      2. Access Course
      3. Open Atto text editor
      4. Click on the equation editor button.
      5. Go to tab Advanced
      6. Click on the integral button

      => See that the integral with Tex-notation is inserted into the editor
      7. Go to the upper limit of the integral (a), click after it and delete the letter
      8. Go to the tab Greek Symbols and click on the alpha button (α).

      => See that the Tex-notation for alpha is placed after the upper limit braces

      9. Go to the lower limit brace click after b and delete the letter b.
      10. Click on the button b (β).

      => See that this time the Tex-notation for beta is inserted after the whole integral.

      Expected behavior
      The further elements of this editor should be placed where the cursor is within the Tex-notation.

      Cheers, Kathrin

        1. step1.png
          step1.png
          36 kB
        2. step2.png
          step2.png
          43 kB
        3. step3.png
          step3.png
          50 kB
        4. step4.png
          step4.png
          46 kB

            davosmith Davo Smith
            kosswa Kathrin Osswald
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.