If you click the justify (left, center, right, justify) buttons in the RadEditor in Mozilla Firefox 9 when you have text highlighted, nothing happens.
Example: I checked Google Chrome and it works fine when I click the "center" justify button after inspecting the element.
element.style {
text-align: center;
}
3 Answers, 1 is accepted

<tool name="FormatBlock" />
<paragraphs>
<paragraph name="<div>h3</div>" value="<div>" />
<paragraph name="<h3>h3</h3>" value="<h3>" />
<paragraph name="<h4>h4</h4>" value="<h4>" />
<paragraph name="<h5>h5</h5>" value="<h5>" />
<paragraph name="<h6>h6</h6>" value="<h6>" />
<paragraph name="<p>p</p>" value="<p>" />
</paragraphs>

By putting this script tag below my radeditor toolbar, it seemed to fix the issue, but this is a horrible hack. We don't have the standard toolbar, we have standard tools in a custom toolbar. See below this code for tools configuration. Any help to remove this hack would be appreciated. We can't see the Telerik RadEditor toolbar javascript because the newest version is using a resource (resx) file.
<telerik:radeditor spellchecksettings-ajaxurl="~/admin/Telerik.Web.UI.SpellCheckHandler.axd" DialogHandlerUrl="~/admin/Telerik.Web.UI.DialogHandler.axd" id="uberEditor" runat="server" width="821" height="322" tabindex="5" toolsfile="content_editor_tools.xml">
</telerik:radeditor>
<script type="text/javascript">
Telerik.Web.UI.Editor.CommandList["JustifyCenter"] = function(commandName, editor, args) {
editor.fire("FormatBlock", { value: "<div style='text-align:center'>" })
};
Telerik.Web.UI.Editor.CommandList["JustifyLeft"] = function(commandName, editor, args) {
editor.fire("FormatBlock", { value: "<div style='text-align:left'>" })
};
Telerik.Web.UI.Editor.CommandList["JustifyRight"] = function(commandName, editor, args) {
editor.fire("FormatBlock", { value: "<div style='text-align:right'>" })
};
Telerik.Web.UI.Editor.CommandList["JustifyFull"] = function(commandName, editor, args) {
editor.fire("FormatBlock", { value: "<div style='text-align:justify'>" })
};
</script>
==========
<?xml version="1.0" encoding="utf-8" ?>
<root>
<cssFiles>
<item name="~/App_Themes/Default/CustomStyles.css" />
</cssFiles>
<tools name="core_tools" dockable="false">
<tool name="Bold" shortcut="Ctrl+B" />
<tool name="Italic" shortcut="Ctrl+I" />
<tool name="Underline" shortcut="Ctrl+U" />
<tool name="StrikeThrough" />
<tool separator="true" />
<tool name="Undo" shortcut="CTRL+Z" />
<tool name="Redo" shortcut="CTRL+Y" />
<tool name="FormatStripper" shortcut="CTRL+F" />
<tool separator="true" />
<tool name="Cut" shortcut="Ctrl+X" />
<tool name="Copy" shortcut="Ctrl+C" />
<tool name="Paste" shortcut="Ctrl+V" />
<tool separator="true" />
<tool name="JustifyLeft" />
<tool name="JustifyCenter" />
<tool name="JustifyRight" />
<tool name="JustifyFull" />
<tool separator="true" />
<tool name="Indent" />
<tool name="Outdent" />
<tool separator="true" />
<tool name="InsertOrderedList" />
<tool name="InsertUnorderedList" />
<tool name="Superscript" />
<tool name="Subscript" />
<tool separator="true" />
<tool name="InsertTable" />
<tool name="FormatBlock" />
<tool separator="true" />
<tool name="AjaxSpellCheck" />
<tool separator="true" />
<tool name="InsertSymbol" />
<tool name="CreateLink" text="Create Link"/>
<cssFiles>
<item name="~/App_Themes/Default/CustomStyles.css" />
</cssFiles>
</tools>
<!--Used for "FormatBlock" dropdown-->
<paragraphs>
<paragraph name="<h3>h3</h3>" value="<h3>" />
<paragraph name="<h4>h4</h4>" value="<h4>" />
<paragraph name="<h5>h5</h5>" value="<h5>" />
<paragraph name="<h6>h6</h6>" value="<h6>" />
<paragraph name="<p>p</p>" value="<p>" />
</paragraphs>
<contextMenus>
<contextMenu forElement="A">
<tool name="Edit Link" />
<tool name="Unlink"/>
</contextMenu>
</contextMenus>
</root>
Please, see this forum thread on the subject: Problem with align buttons.
Best regards,
Rumen
the Telerik team