Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36641

Whitespace from CKEditor affects question text sorting and display in Question Pools table

    XMLWordPrintable

    Details

    • Previous Issue Keys:
      SAM-2499

      Description

      When creating questions using the CKEditor, the editor adds a paragraph tag around the question text.

      When the question text is displayed in the Questions table in Question Pools, the markup is removed, but the sort order is not correct. Behind the scenes, it is taking into account the markup and any leading/trailing whitespace in the question text when determining the sort order.

      Adding manual leading/tailing whitespace in the CKEditor will also affect the sort order.

      When viewing the table, leading/tailing whitespace for questions created with the basic (text area) editor is stripped for display in the UI, but questions created with the CKEditor do not get the whitespace striped for the UI.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  bjones86 Brian Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration