You are not logged in.
Pages: 1
Hi all
I have a problem to configure the formatblock. As far as I can see the configuration is correct but when the editor is displayed the default formatblock is prepared. Rest of the configuration is working properly. Here is the part of the configuration:
xinha_config.toolbar =
[
["popupeditor"],
["separator","formatblock","fontname","fontsize","bold","italic","underline","strikethrough"],
["separator","forecolor","hilitecolor","textindicator"],
["separator","subscript","superscript"],
["linebreak","separator","justifyleft","justifycenter","justifyright","justifyfull"],
["separator","insertorderedlist","insertunorderedlist","outdent","indent"],
["separator","inserthorizontalrule","createlink","insertimage","inserttable"],
["linebreak","separator","undo","redo","selectall"], (Xinha.is_gecko ? [] : ["cut","copy","paste","overwrite","saveas"]),
["separator","killword","clearfonts","removeformat","toggleborders","splitblock","lefttoright", "righttoleft"],
["separator","htmlmode","showhelp","about"]
];
//^^ this configuration is working ok
// this declaration is not used
xinha_config.formatblock =
{
"— format —" : "",
"Normal": "p",
"Heading 1": "h3",
"Heading 2": "h4",
"Heading 3": "h5",
"Heading 4": "h6",
"Address" : "address",
"Formatted": "pre"
};
Thank you for your feedback/help
Best regards
herbie
Offline
Sorry for this message, It's working like expected. I was struggling because of the automatic translation of the format names in german.
Best regards and a happy new year
Offline
Pages: 1