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

Please allow blockquote to be chosen from the styles menu

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      With mulltiple browsers including IE11

      1. Run behat with --tags=@atto_title
      2. Create a new forum post
      3. Select some text and use the formating toolbar to set various paragraph styles
      4. Select text and use formating toolbar to select 'blockquote'
      5. VERIFY the text is enclosed in a blockquote
      6. Place cursor in a paragraph and select differ style with toolbar.
      7. Verify that the new style appears without being enclosed with blockquote.
      8. Type return at the end of a paragraph within blockquote and backspace.
      9. Verify that the new line now outdented so that it is no longer in the blockquote.
      10. Delete characters in the middle of a line with backspace, and make sure this does not affect blockquote.
      11. Enter return in middle of a quoted line of text and verify new paragraph formed in the quote.
      12. Backspace once and verify that line starts at beginning outside quotation
      13. then backspace again to join back again to the previous line.
        Note: The backspace escape will not work with line breaks. You need to be within a valid block element other than blockquote. If one is not set, then one needs to set one with the menu to exit the quotation.
      Show
      With mulltiple browsers including IE11 Run behat with --tags=@atto_title Create a new forum post Select some text and use the formating toolbar to set various paragraph styles Select text and use formating toolbar to select 'blockquote' VERIFY the text is enclosed in a blockquote Place cursor in a paragraph and select differ style with toolbar. Verify that the new style appears without being enclosed with blockquote. Type return at the end of a paragraph within blockquote and backspace. Verify that the new line now outdented so that it is no longer in the blockquote. Delete characters in the middle of a line with backspace, and make sure this does not affect blockquote. Enter return in middle of a quoted line of text and verify new paragraph formed in the quote. Backspace once and verify that line starts at beginning outside quotation then backspace again to join back again to the previous line. Note: The backspace escape will not work with line breaks. You need to be within a valid block element other than blockquote. If one is not set, then one needs to set one with the menu to exit the quotation.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45662-master

      Description

      One of my most commonly used formatting operators is block quote, I use it when responding to forum posts. I imagine teachers would use this too.

      Please can we have it back in the atto styles menu?

      (A brief conversation with Damo suggested it used to be in the menu, but there was buggy behaviour that caused it to be removed).

      [Sidenote: Its a bit of a pain to do it in html particularly because if you insert:

      <blockquote>
      some text
      </blockquote>
      

      In the html source view, its then impossible to get out of the block quote by pressing enter multiple times.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dthies Daniel Thies
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              12 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated: