Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: Get current selected color?
Re: Get current selected color?
02-15-2011, 11:39 PM
Kenneth
Joined on 02-13-2008
Posts 3,886
Re: Get current selected color?
Reply
Quote
Hi AWilderbeast,
Please try the code below, the value is the color value what you selected.
<script>
function
CuteEditor_OnCommand(editor,command,ui,value)
{
if
(command==
"ForeColor"
)
{
alert(value);
}
}
</script>
Regards,
Ken
View Complete Thread