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

Enable additional content filters by default on new installs

    XMLWordPrintable

Details

    • MOODLE_38_STABLE
    • MOODLE_39_STABLE
    • MDL-68563-master
    • Hide
      Setup
      1. Install a new site running the code from this issue.
      Filters testing
      1. Log in as admin.
      2. Go to Site administration > Plugins > Filters > Manage filters.
      3. Make sure the filter Display emoticons as images is enabled.
      4. Click on Settings link.
      5. Make sure it is enabled for Moodle auto-format, HTML format and Markdown format
      6. Go back to Manage filters page.
      7. Make sure the filter Convert URLs into links and images is enabled and its has higher priority than Multimedia plugins.
      8. Click on Settings link.
      9. Make sure it is enabled for Moodle auto-format, HTML format and Markdown format
      Atto editor emoji testing
      1. Still logged in as admin go to Site administration > Plugins > Text editors > Atto HTML editor > Atto toolbar settings.
      2. Make sure Toolbar config has emojipicker in the files parameter for instance:

        files = emojipicker, image, media, recordrtc, managefiles, h5p
        

      3. Go to Site home and click Add new course button.
      4. Have a look on Course summary field (atto).
      5. Make sure the emoticon icon is visible by default.
      Show
      Setup Install a new site running the code from this issue. Filters testing Log in as admin. Go to Site administration > Plugins > Filters > Manage filters. Make sure the filter Display emoticons as images is enabled. Click on Settings link. Make sure it is enabled for Moodle auto-format , HTML format and Markdown format Go back to Manage filters page. Make sure the filter Convert URLs into links and images is enabled and its has higher priority than Multimedia plugins . Click on Settings link. Make sure it is enabled for Moodle auto-format , HTML format and Markdown format Atto editor emoji testing Still logged in as admin go to Site administration > Plugins > Text editors > Atto HTML editor > Atto toolbar settings. Make sure Toolbar config has emojipicker in the files parameter for instance: files = emojipicker, image, media, recordrtc, managefiles, h5p Go to Site home and click Add new course button. Have a look on Course summary field (atto). Make sure the emoticon icon is visible by default.

    Description

      As a student/teacher, I want to easily be able to add emojis, links and videos to my entries so that I can create posts and content that will be more enjoyable for my audience. 

      Currently the below 4 filters are automatically enabled:

      • Display H5P
      • MathJax
      • Activity names auto-linking
      • Multimedia plugins

      This means that emoticons aren't automatically converted to images, URLs not converted to links and youtube links aren't automatically converted to videos, in places like forum quick replies. This is what people are used to and expect nowadays.

      Update the filters that are enabled by default to:

      • Display H5P
      • MathJax
      • Activity names auto-linking
      • Display emoticons as images (moodle auto-format, html and markdown ON)
      • Convert URLs into links and images (moodle auto-format, html and markdown ON)
      • Multimedia plugins

      Also update the atto toolbar to include the emoji picker by default (highlighted in bold below):

      collapse = collapse
      style1 = title, bold, italic
      list = unorderedlist, orderedlist
      links = link
      files = emojipicker, image, media, recordrtc, managefiles, h5p
      style2 = underline, strike, subscript, superscript
      align = align
      indent = indent
      insert = equation, charmap, table, clear
      undo = undo
      accessibility = accessibilitychecker, accessibilityhelper
      other = html

      Attachments

        1. image-2020-05-07-15-40-53-327.png
          image-2020-05-07-15-40-53-327.png
          28 kB
        2. installed_master.png
          installed_master.png
          106 kB
        3. installed_master-1.png
          installed_master-1.png
          106 kB
        4. Screenshot_1.png
          Screenshot_1.png
          121 kB
        5. Screenshot_2.png
          Screenshot_2.png
          29 kB
        6. screenshot-1.png
          screenshot-1.png
          70 kB

        Issue Links

          Activity

            People

              lameze Simey Lameze
              sanderbangma Sander Bangma
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Adrian Greeve Adrian Greeve
              Janelle Barcega Janelle Barcega
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 1 hour, 49 minutes
                  2d 1h 49m