adiwg / mdEditor

Web application for writing metadata, an ADIwg project
https://www.mdeditor.org
GNU General Public License v3.0
44 stars 25 forks source link

Blocks of text with line breaks are not imported correctly #294

Closed pshealy closed 4 years ago

pshealy commented 5 years ago

Issue

mdEditor Version (find version under settings): 0.6.1+da81ab74

mdEditor Web Address (enter the URL): https://go.mdeditor.org/#/dictionary/a0h6rvnj/edit/domain/0/item/0

Issue Description:

The field for the domain item description is a regular "input" so if there is a multiple line input the line breaks are stripped. Change the field type to a "textarea", so the line-breaks are rendered correctly.

Steps to reproduce (Bug reports only):

  1. Load a CSDGM file with attribute or value descriptions that have multiple lines (Land Cover file was provided to Josh.)

Observed Results (Bug reports only):

Blocks of text have words run together where the line breaks occurred in the original file.

Expected Results (Bug reports only):

Display properly spaced text.

jlblcc commented 5 years ago

Example:

image

jlblcc commented 5 years ago

Domain definition needs to be a md-textarea instead of md-input.