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

Allow the caption side in atto_table to be set

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Use atto editor to add a table
      2. Check that the default value is the blank option
      3. Click to add the table to the editor
      4. Inspect the editor html, you SHOULD only see <caption> with no style attribute
      5. Edit the table positioning the cursor over the table and clicking on the table icon
      6. Change the caption value and ensure that it is respecting what you set
      7. Editing the table, change the caption value to another value
      8. Check that once edited it respects what you chose
      9. Editing the table, change the caption value to empty
      10. Check that once edited it appears by default on top
      11. Inspect the editor html, you SHOULD only see <caption> with no style attribute
      12. Ensure that you saw no JS errors in the console during the process
      Show
      Use atto editor to add a table Check that the default value is the blank option Click to add the table to the editor Inspect the editor html, you SHOULD only see <caption> with no style attribute Edit the table positioning the cursor over the table and clicking on the table icon Change the caption value and ensure that it is respecting what you set Editing the table, change the caption value to another value Check that once edited it respects what you chose Editing the table, change the caption value to empty Check that once edited it appears by default on top Inspect the editor html, you SHOULD only see <caption> with no style attribute Ensure that you saw no JS errors in the console during the process
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50801_master

      Description

      This topic has been raised during the mootau15 hackfest. I've done a quick implementation. Posting it here.

      Reviewer: Note that caption's align attribute has been deprecated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              dmonllao David Monllaó
              Peer reviewer:
              John Okely
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Sep/15