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

Textarea database field should honor preferred editor format

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE
    • MDL-77523-401
    • MDL-77523-master
    • Hide

      Setup

      1. Login as admin
      2. Create a user t1
      3. Create a course
      4. Add t1 as editingteacher to the course
      5. Add a database activity
      6. Add a new field of type Text area to the database activity

       

      Testing instructions

      1. Login as t1.
      2. In the user's editor preferences, choose "Plain text area"
      3. Add a new entry
      4. Verify you see "Moodle auto-format" in the list below the Text area field.
      5. Write something to the entry (for instance "This is a `text`.") and set the format to "Markdown format".
      6. Verify the text is correctly represented in the entry.
      7. Edit the entry.
      8. Verify that the format still is "Markdown format".
         
      Show
      Setup Login as admin Create a user t1 Create a course Add t1 as editingteacher to the course Add a database activity Add a new field of type Text area to the database activity   Testing instructions Login as t1. In the user's editor preferences, choose "Plain text area" Add a new entry Verify you see "Moodle auto-format" in the list below the Text area field. Write something to the entry (for instance "This is a `text`.") and set the format to "Markdown format". Verify the text is correctly represented in the entry. Edit the entry. Verify that the format still is "Markdown format".  

      The textarea field of database activity always show FORMAT_HTML regardless of the user's preferred editor.

      The preferred editor format should be presented IMHO.

        1. 400.gif
          400.gif
          869 kB
        2. 401.gif
          401.gif
          1.15 MB
        3. master.gif
          master.gif
          975 kB

            jsegarra Juan Segarra Montesinos
            jsegarra Juan Segarra Montesinos
            Jordi Pujol-Ahulló Jordi Pujol-Ahulló
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            27 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 6 minutes
                1h 6m

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