Color picker (edit check-in properties)
|User & Date:||Ratte 2010-09-26 13:23:31|
- Change comment to:
Is it doable to include code from http://jscolor.com/ in the check-in properties page?
I think there might be a license issue… please tell me
BMorgat added on 2010-09-23 08:46:58:
In particular, example at http://jscolor.com/try.php#setting-color seems interesting
wolfgang added on 2010-09-25 11:16:58 / edited on 15:20
i think, it should be possible by adding some scripting to the footer. there is an example for syntax highlighting in editor fields in the documentation.
The new button could be added by a pre/post entry in the css for the editor box. Eventually we have to add a new id to the color input. I´ll take a look at the sources.
Ratte added on 2010-09-26 11:38:55:
with my commit [5b2c837336] on my branch, i've added a version, with an user defined color edit on the checkin edit page.
With this change, you can add jscolor's script to the header and let the script generate the color picker. The classname/id of the input are documented in the default css view on admin/edit-css. For example, you can add the following to your footer: