aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-10-30 08:29:17 -0500
committerColin Okay <colin@cicadas.surf>2022-10-30 08:29:17 -0500
commit32ed79e62f1c045c8a62504f76b8d505a1988f98 (patch)
tree1f6a6f5270ad3ff7b33b929ce9fdace474ab966e
parent6ddf222b87c61f0977c6a0becf32c5cb883ed710 (diff)
Add: usage hints for editors
-rw-r--r--playlist.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/playlist.lisp b/playlist.lisp
index 27deada..c222395 100644
--- a/playlist.lisp
+++ b/playlist.lisp
@@ -317,6 +317,7 @@
(label (:content "Paste a URL: " :bind url-label))
(form-element (:text :bind url-input))
(button (:content "Fetch Track" :bind button))
+ (p (:content "Paste from youtube, bandcamp, vimeo... anything really. Chances are it'll work."))
(div (:bind notice-area)))
(label-for url-label url-input)
(setf (size url-input) (length "https://www.youtube.com/watch?v=dQw4w9WgXcQ"))
@@ -417,6 +418,7 @@
(display title-elem) "inline")
(when (editorp ctl)
+ (setf (attribute title-elem "title") "Click to edit the title.")
(set-on-blur
input
(thunk*