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

TinyMCE can't add preformatted text or plaintext code block

    XMLWordPrintable

Details

    • 2
    • Team Hedgehog 2023 Sprint 4.3, Team Hedgehog 2023 Review 4

    Description

      The latest TinyMCE itself can change the current paragraph into preformatted text via Formatted→Blocks→Preformatted, but TinyMCE built in Moodle 4.1 & 4.3 has intentionally removed "Preformatted" from "Formatted→Blocks".
      We have no way to insert source code or commands in unsupported languages by Code Sample without editing the raw source code.

      Attachments

        1. original-component.png
          original-component.png
          208 kB
        2. moodle-4-3.png
          moodle-4-3.png
          38 kB
        3. MDL-80058_code.png
          MDL-80058_code.png
          36 kB
        4. (1) Passed -- (Main)MDL-80058.png
          (1) Passed -- (Main)MDL-80058.png
          23 kB

        Activity

          People

            meirza.arson@moodle.com Meirza
            tats-u tats-u
            Huong Nguyen Huong Nguyen
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 26 minutes
                3h 26m

                Clockify

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