Hi gim-matt,
Please add the code below in to your page and try again.
- <script>
- function CuteEditor_OnCommand(editor,command,ui,value)
- {
- if(command=="JustifyCenter")
- {
- editor.ExecCommand("CssStyle",false,"text-align: center;");
- return true;
- }
- if(command=="JustifyLeft")
- {
- editor.ExecCommand("CssStyle",false,"text-align: left;");
- return true;
- }
- if(command=="JustifyRight")
- {
- editor.ExecCommand("CssStyle",false,"text-align: right;");
- return true;
- }
- }
- </script>
Regards,
ken