Closed ohmoses closed 5 years ago
Oh, while I was touching the code, I changed a couple of instances of someFn.call(this, ...)
to someFn(...)
, it evaluates to the same thing when the function is not called as a method. Hope that's okay.
Added some minor style comments. Haven't tried the functionality yet. I think I'll try to change the CI box to use the repo API first. 🤞
@davidmacp Awesome, thanks! :tada:
Closes #389
String fields can now have a flag
publish.list
, which makes the field display in the edit view as a list of items which can be added, removed, and reordered with drag-and-drop.Behaves same as Google Keep:
publish.multiline
) to move everything after the cursor to a new item below.Fixed bugs
publish.display.link
being a string (e.g.https://twitter/{value}
) didn't work as intended; the preview link ("Open in new window") would only show if the value itself started with "http://" or "https://" → fixedAs a note, I also enabled using values that don't start with
http(s)
even without adisplay.link
template; in that case,http://
is added at the front, so that the user can write something likegithub.com
and still get a preview link.Future to-dos
heightType = 'content'
) with one line of text auto-sizes to 32px height, more than the height of the one line (20px). This is a bit ugly in lists, should be fixed eventually (but doesn't feel high priority).