Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34875 TinyMCE improvements in 2.4 - META
  3. MDL-35284

TinyMCE custom toolbar leads to broken editor when a whole conf line is wrong

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: HTML Editor (TinyMCE)
    • Labels:

      Description

      This is one followup, discovered when testing MDL-35172. From that issue:

      ...there is one simple case where it seems to be borking the editor and it's when you add one line having ALL elements invalid (dupe or incorrect).

      So for example, simply by adding one 4th line with "fontselect" it causes the editor not to be rendered (it is a dupe from first line). But if you add one 4th line with "fontselect, blockquote", it works perfectly, the dupe (fontselect) is ignored and the blockquote is shown.

      And that is, all elements (in a line) invalid lead to editor not rendered. Just guessing if you could pre-detect that or no (certainly you don't know in advance all the possible valid elements, or yes?)

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skodak Petr Skoda
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Tim Barker
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/12