D 2010-09-26T13:23:31 J comment Is\sit\sdoable\sto\sinclude\scode\sfrom\shttp://jscolor.com/\sin\sthe\scheck-in\sproperties\spage?\r\n\r\nI\sthink\sthere\smight\sbe\sa\slicense\sissue…\splease\stell\sme\r\n\r\nBMorgat\sadded\son\s2010-09-23\s08:46:58:\r\nIn\sparticular,\sexample\sat\s[http://jscolor.com/try.php#setting-color]\sseems\sinteresting\r\n\r\nwolfgang\sadded\son\s2010-09-25\s11:16:58\s/\sedited\son\s15:20\r\ni\sthink,\sit\sshould\sbe\spossible\sby\sadding\ssome\sscripting\sto\sthe\sfooter.\sthere\sis\san\sexample\sfor\ssyntax\shighlighting\sin\seditor\sfields\sin\sthe\sdocumentation.\r\n\r\nThe\snew\sbutton\scould\sbe\sadded\sby\sa\spre/post\sentry\sin\sthe\scss\sfor\sthe\seditor\sbox.\s\sEventually\swe\shave\sto\sadd\sa\snew\sid\sto\sthe\scolor\sinput.\sI´ll\stake\sa\slook\sat\sthe\ssources.\r\n\r\nUsing\scss/javascript\sin\sthe\sfooter\senables\sus\sto\shave\sa\ssmall\sbinary\sand\sprevent\sany\slicence\sproblems,\sbecause\sadding\scode\sis\san\suser\sdecission\sinside\sfossil\sconfiguration.\r\n\r\nRatte\sadded\son\s2010-09-26\s11:38:55:\r\nwith\smy\scommit\s\t[5b2c837336]\son\smy\sbranch,\si've\sadded\sa\sversion,\swith\san\suser\sdefined\scolor\sedit\son\sthe\scheckin\sedit\spage.\r\n\r\nWith\sthis\schange,\syou\scan\sadd\sjscolor's\sscript\sto\sthe\sheader\sand\slet\sthe\sscript\sgenerate\sthe\scolor\spicker.\sThe\sclassname/id\sof\sthe\sinput\sare\sdocumented\sin\sthe\sdefault\scss\sview\son\sadmin/edit-css.\sFor\sexample,\syou\scan\sadd\sthe\sfollowing\sto\syour\sfooter:\r\n\r\n
\r\n\r\n\s\sif\s{\s"$current_page"\seq\s"ci_edit"\s}\s{\r\n\s\s\s\shtml\s""\r\n\s\s\s\shtml\s""\r\n\s\s\s\shtml\s"var\smyPicker\s=\snew\sjscolor.color(document.getElementById('clrcust'),\s{hash:true})"\r\n\s\s\s\shtml\s""\r\n\s\s}\r\n\r\n
K 8e291053ef80e56d06ad9c192ea80ce94e04d762 U Ratte Z e9d378316d21a9cf077f491585703337