k-int / gokb-phase1

Original GOKb repo - Moving to https://github.com/openlibraryenvironment/gokb
http://www.gokb.org
Other
11 stars 5 forks source link

Make Macro Refine Transformations field more readable #456

Closed kristenwilson closed 8 years ago

kristenwilson commented 8 years ago

When the Refine Transformations field on a macro is saved, it displays the code nicely formatted. However, when you switch to the edit view of a field, you just see a block of text with no formatting. Would it be possible to display an easier-to-read view of the text while you're editing it?

sosguthorpe commented 8 years ago

I'm afraid this is not possible. The textarea in HTML removes formatting when displaying the text. In actual fact the text is formatted as it is when saved under the hood and it is the browser element removing it.

sosguthorpe commented 8 years ago

Scratch what I just said. We can do this.

kristenwilson commented 8 years ago

Confirmed testing complete.