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

data module html editor can be switched off on the fly for templates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.8
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      I really like the templating scheme, but the html editor clobbers any useful templates.

      Consider the following header,body,footer input via non-wysiwyg editor:

      Header:

      <table><tr><th>col1</th><th>col2</th><th>col3</th></tr>

      Body:

      <tr><td>[[field1]]</td><td>[[field2]]</td><td>[[field3]]</td></tr>

      Footer:

      </table>

      This saves fine. If you go back to the templates the HTML editor takes the liberty of fixing the html.

      Header:

      <table><tbody><tr><th>col1</th><th>col2</th><th>col3</th></tr></tbody></table>

      Body:

      [[field1]] [[field2]] [[field3]]

      Footer:

      If you hit submit... your settings are hosed even though you may have not changed anything. less than ideal behavior

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            jgraham Jeff Graham
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Mar/07