tl-its-umich-edu / canvas-app-explorer

A Web application that presents a list of Canvas external (LTI) tools with details. When integrated within Canvas, the user can search for specific LTI tool(s), and add or remove those tools from Canvas courses.
Apache License 2.0
4 stars 6 forks source link

Card TinyMCE text fields: paragraphs separated by spaces instead of line breaks #274

Closed roujiawang closed 1 year ago

roujiawang commented 2 years ago

Expected behavior

Multiple paragraphs entered into the TinyMCE fields in the backend should be formatted properly as separate paragraphs in the frontend.

Current behavior

Multiple paragraphs are smashed together and only separated by a couple of spaces. This is likely due to CSS settings in the frontend.

Steps to recreate the problem

In the admin view, in any empty textbox of any cards, do

  1. type "Hello"
  2. hit Enter
  3. type "World"

Expected output:

Hello World

Actual output:

Hello World

roujiawang commented 2 years ago

Created a pull request to fix this issue.

ziegler1960 commented 1 year ago

This fix has been verified - the test paragraphs entered on the backend are correctly formatted when viewing the card in the CAE frontend.

Test Course: https://umich.beta.instructure.com/courses/587202/external_tools/48681