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

Allow inline editing and blockquotes in forum

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.6
    • Forum
    • None
    • MOODLE_36_STABLE
    • MDL-64760-master_forum_inline_quote
    • Hide

      Testing the new atto plugin “atto_blockquote”:

      Test Atto Plugin

      1. Add the "blockquote" button to the toolbar of atto editor by inputting "blockquote = blockquote" to toolbar configuration in texteditor configuration (see screenshot below).
      2. Create a course, go to forum and add a new discussion topic
      3. Enter some text containing some paragraphs.
      4. Set the cursor to begin of the first line and press the quote button.
      5. Ensure that the first paragraph is wrapped into blockquotes
      6. Set cursor to an inner line of the message text and press “enter”.
      7. Ensure that blockquoted text breaks up and inserting text within the block quoted text is possible.
      8. Select some text within a paragraph or set the cursor anywhere inside a paragraph and press the quote button
      9. Ensure that the first paragraph is wrapped into blockquotes
      10. Press the quote button again
      11. Ensure that the text is enclosed in nested blockquotes.

      Testing forum features:

      A. Test quoted replies (no inline editing)

      1. Setup: Ensure that "Enable quoted replies" is checked and "Enable inline editing" is NOT checked in global settings of mod_forum.
      2. Create a course and a forum
      3. Login as a user, who can start a discussion and create forums posts.
      4. Go to forum and create a discussion
      5. Click the “Quote” Link of the replying post.
      6. Ensure that the text of the previous post is enclosed in blockquotes and shown in the editor of message text.
      7. Ensure you may add some lines below the quoted text and save the post.

      B. Test inline editing (no quoted replies)

      1. Setup: Ensure that "Enable quoted replies" is NOT checked and "Enable inline editing" is checked in global settings of mod_forum.
      2. Create a course and a forum
      3. Login as a user, who can start a discussion and create forums posts.
      4. Go to forum and create a discussion
      5. Click the “Reply” Link of the replying post.
      6. Ensure the inline editor is shown up
      7. Enter some text with an image embedded via filepicker.
      8. Click “Post to forum”
      9. Ensure that the post is saved as expected
      10. Click “Edit”
      11. Ensure the inline editor is shown up
      12. Edit the text of message and click “Post to forum”
      13. Ensure that the post is saved as expected

      C. Test quoted replies and inline editing

      1. Setup: Ensure that "Enable quoted replies" is checked and "Enable inline editing" is checked in global settings of mod_forum.
      2. Do testing steps A.2 – A.7 from above
      3. Do testing steps B.2 – B.13 from above

      D. Test quoted replies and inline editing switched off

      1. Setup: Ensure that "Enable quoted replies" is NOT checked and "Enable inline editing" is NOT checked in global settings of mod_forum.
      2. Do testing steps B.2 – B.13 from above
      3. Ensure that the inline editor is not used and the steps are working as they do using unmodified moodle installation.

      E. Putting it all together (quoted replies, inline editing, atto_blockquote)

      1. Setup: Ensure that "Enable quoted replies" is checked and "Enable inline editing" is checked in global settings of mod_forum and the atto_plugin “blockquote” is setup (see above).
      2. Create a course and a forum
      3. Login as a user, who can start a discussion and create forums posts.
      4. Go to forum and create a discussion
      5. Click “Edit”, change message of post and include an image, press “Post to forum”
      6. Ensure that message is changed and image is visible
      7. Click “Reply”, enter a message with more than one line and press “Post to forum”
      8. Ensure new replying post is created.
      9. Click the “Quote” Link of the replying post, set cursor to an inner line of the message text and press “enter”.
      10. Ensure that blockquoted text breaks up and inserting text within the blockquoted text is possible. Press “Post to forum” to save the text.
      11. Click “Quote” of this post again and ensure that nesting block quotes are created correctly. Save the quoted reply by pressing “Post to forum”.
      Show
      Testing the new atto plugin “atto_blockquote”: Test Atto Plugin Add the "blockquote" button to the toolbar of atto editor by inputting "blockquote = blockquote" to toolbar configuration in texteditor configuration (see screenshot below). Create a course, go to forum and add a new discussion topic Enter some text containing some paragraphs. Set the cursor to begin of the first line and press the quote button. Ensure that the first paragraph is wrapped into blockquotes Set cursor to an inner line of the message text and press “enter”. Ensure that blockquoted text breaks up and inserting text within the block quoted text is possible. Select some text within a paragraph or set the cursor anywhere inside a paragraph and press the quote button Ensure that the first paragraph is wrapped into blockquotes Press the quote button again Ensure that the text is enclosed in nested blockquotes. Testing forum features: A. Test quoted replies (no inline editing) Setup: Ensure that "Enable quoted replies" is checked and "Enable inline editing" is NOT checked in global settings of mod_forum. Create a course and a forum Login as a user, who can start a discussion and create forums posts. Go to forum and create a discussion Click the “Quote” Link of the replying post. Ensure that the text of the previous post is enclosed in blockquotes and shown in the editor of message text. Ensure you may add some lines below the quoted text and save the post. B. Test inline editing (no quoted replies) Setup: Ensure that "Enable quoted replies" is NOT checked and "Enable inline editing" is checked in global settings of mod_forum. Create a course and a forum Login as a user, who can start a discussion and create forums posts. Go to forum and create a discussion Click the “Reply” Link of the replying post. Ensure the inline editor is shown up Enter some text with an image embedded via filepicker. Click “Post to forum” Ensure that the post is saved as expected Click “Edit” Ensure the inline editor is shown up Edit the text of message and click “Post to forum” Ensure that the post is saved as expected C. Test quoted replies and inline editing Setup: Ensure that "Enable quoted replies" is checked and "Enable inline editing" is checked in global settings of mod_forum. Do testing steps A.2 – A.7 from above Do testing steps B.2 – B.13 from above D. Test quoted replies and inline editing switched off Setup: Ensure that "Enable quoted replies" is NOT checked and "Enable inline editing" is NOT checked in global settings of mod_forum. Do testing steps B.2 – B.13 from above Ensure that the inline editor is not used and the steps are working as they do using unmodified moodle installation. E. Putting it all together (quoted replies, inline editing, atto_blockquote) Setup: Ensure that "Enable quoted replies" is checked and "Enable inline editing" is checked in global settings of mod_forum and the atto_plugin “blockquote” is setup (see above). Create a course and a forum Login as a user, who can start a discussion and create forums posts. Go to forum and create a discussion Click “Edit”, change message of post and include an image, press “Post to forum” Ensure that message is changed and image is visible Click “Reply”, enter a message with more than one line and press “Post to forum” Ensure new replying post is created. Click the “Quote” Link of the replying post, set cursor to an inner line of the message text and press “enter”. Ensure that blockquoted text breaks up and inserting text within the blockquoted text is possible. Press “Post to forum” to save the text. Click “Quote” of this post again and ensure that nesting block quotes are created correctly. Save the quoted reply by pressing “Post to forum”.

      This development modifies the forum to improve the usability for user which uses the atto editor.

      The development includes:

      • a new atto plugin (atto_blockquote), that provides a blockquote button and controls the editing of blockquote markup in a way the user is used form editor today (for example spilt the blockquote, when pressing enter)
      • easy replying with blockquotes
      • inline editing of forum posts

      We (HS Hannover and SYNERGY LEARNING) like to contribute this to moodle core.

            wagner139 Andreas Wagner
            wagner139 Andreas Wagner
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m

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