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

Allow the caption side in atto_table to be set

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-50801_master
    • 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

      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.

            dmonllao David Monllaó
            dmonllao David Monllaó
            John Okely John Okely
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            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.