Re: [fossil-users] Change textarea for textnotes to placeholder text
On Sun, Jun 17, 2018, 15:26 Zack Scholl wrote: > > > [1]: https://www.w3schools.com/tags/att_textarea_placeholder.asp > > [2]: > https://www.fossil-scm.org/index.html/artifact?udc=1&ln=on&name=5d4a12252f765b5a > Just fyi: the ln= param accepts both a single line number or range of lines (e.g. ln=20-30): https://www.fossil-scm.org/index.html/artifact?udc=1&ln=544&name=5d4a12252f765b5a - stephan Sent from a mobile device, possibly left-handed from bed. Please excuse brevity, typos, and top-posting. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Change textarea for textnotes to placeholder text
On Sun, Jun 17, 2018 at 06:26:06AM -0700, Zack Scholl wrote: > > I made this change in a forked copy of fossil (simply change are line 544 > of event.src to add the placeholder [2] and delete "Insert new content > here..." from line 474) ... > > [2]: > https://www.fossil-scm.org/index.html/artifact?udc=1&ln=on&name=5d4a12252f765b5a Hi Zack, Here's a Useful trick when passing link to source on fossil repo, you can specify lines to highlight. (in your case, for 2 separate lines, you can edit the url and change "ln=on" to "ln=474+544" like this [1] See all the options for the /artifact page here: [2] [1]: https://www.fossil-scm.org/index.html/artifact?udc=1&ln=474+544&name=5d4a12252f765b5a [2]: https://www.fossil-scm.org/index.html/help?cmd=/artifact Regards, -- Martin G. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Change textarea for textnotes to placeholder text
Hi, I had a very small and mildly useful change in mind: to move the "Insert new content here..." text for the technical note textarea to a textarea placeholder [1]. Basically I like to make tech notes on my phone and every time I do I have to highlight and delete the " Insert new content here... ". I made this change in a forked copy of fossil (simply change are line 544 of event.src to add the placeholder [2] and delete "Insert new content here..." from line 474) and I thought I'd pass this along. I'd be happy to contribute to the code (though I don't know how) and equally happy if you choose to ignore this! - Zack [1]: https://www.w3schools.com/tags/att_textarea_placeholder.asp [2]: https://www.fossil-scm.org/index.html/artifact?udc=1&ln=on&name=5d4a12252f765b5a ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users