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

Emoticons are not added when using the TinyMCE text editor

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Enable emoticon filter

      Set your preferred editor to tinymce

      Edit your profile and use the emoticon plugin to add icons to the description.

      Save and re-edit it - verify the icons appear for editing.

      View your profile by clicking on your picture in the page header.

      Verify the icons are displayed.

      Show
      Enable emoticon filter Set your preferred editor to tinymce Edit your profile and use the emoticon plugin to add icons to the description. Save and re-edit it - verify the icons appear for editing. View your profile by clicking on your picture in the page header. Verify the icons are displayed.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58771-master

      Description

      As discovered by Luiggi Sansonetti in MDLQA-10545:

      Steps to reproduce

      1. Make sure the 'Display emoticons as images' filter is enabled.
      2. Log in, go to User menu > Preferences > Editor preferences and select TinyMCE. Save changes.
      3. Edit your profile and in the profile description insert an emoticon using the button in the TinyMCE editor. Save changes.
      4. View your profile page.

      Expected result: Emoticon is displayed.

      Actual result: Emoticon is not displayed.

      The bug can also be reproduced when logged in as a teacher and you attempt to insert an emoticon in a label. The emoticon is not displayed.

      The bug does not seem to exist in 3.2 (tested using https://demo.moodle.net).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17