ear1grey / structured-start-tab

A browser extension that replaces default tab content with a page of organised links. Works in Google Chrome, Mozilla Firefox and Microsoft Edge.
10 stars 4 forks source link

preformatted text in the label #243

Closed jacekkopecky closed 1 year ago

jacekkopecky commented 1 year ago

I wish to have a multi-line label, like this:

 oOo 
oOXOo 
 oOo 

Before the beta, I put white-space: pre-line in the style attribute and included newlines in the label text. In the beta, the text looks like this: " oOo oOXOo oOo "

adrianoBP commented 1 year ago

Possible solution: allow text field to be switched between <input> and <textarea> (<input> by default)

jacekkopecky commented 1 year ago

sounds like that could work; a little checkbox labeled "multi-line" that triggers the switch?

adrianoBP commented 1 year ago

Potentially yes, but yet to be confirmed. For consistency, we may have it as a switch similar to how the colour switch or panel direction works.

I will pick this up again when working on #240.