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

Editor in HTML mode destroys style elements


    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 2.1
    • Text editor TinyMCE
    • None

      While updating content with graphics used as CSS-background, editor in HTML mode destroys code.

      As long as I'm saving content in WYSIWYG mode, everything is OK. But when I go to HTML mode and then press 'Update', then code is destroyed and background is not displayed.

      Sample code changes:
      <td height="47" style="background-image: url('');"></td>
      <td height="47" style="background-image: url('"1.jpg');"></td>

      Problem occurs both on Chrome and Firefox.

      Renaming graphic files is not an option since similar style is used in too many courses. Now all our old courses cannot be edited properly.

            moodle.com Moodle HQ
            andrzej.filip@uj.edu.pl Andrzej Filip
            1 Vote for this issue
            1 Start watching this issue


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