You are not logged in.
Pages: 1
Hi there, I'm wondering if it is possible to reposition a button. My problem is that the FindReplace plugin inserts its button like so:
cfg.addToolbarElement(["FR-findreplace"], ["formatblock","fontsize","fontname"], +1);
But I would rather have it after the "paste" button (those other buttons dont exist in my instance). I dont want to change this plugin because I will have to fix it every time I upgrade.
Does anyone know of a way I can reposition this button?
Offline
I couldn't get it to move either. I attempted to manually place it in my_config.js as such:
xinha_config.toolbar =
[
["separator"],
["formatblock","fontname","fontsize"],
["separator"],
["FR-findreplace"],
["textindicator"],
["linebreak"],
["bold","italic","underline","strikethrough","subscript","superscript"],
["separator"],
["justifyleft","justifycenter","justifyright","justifyfull"],
["separator"],
["forecolor","hilitecolor"],
["separator"],
["killword","removeformat"],
["linebreak"],
["insertorderedlist","insertunorderedlist","outdent","indent"],
["separator"],
["inserthorizontalrule","createlink","insertimage"],
["separator"],
["undo","redo"],
// (HTMLArea.is_gecko ? [] : ["cut","copy","paste"]),
["separator"],
["metadescr","htmlmode"],
["separator"],
["inserttable","toggleborders","lefttoright", "righttoleft", "separator"]
];
But all that did was duplicate the button so it showed up in the front and in the position I placed it. Usually this method works, but not in the case of this plugin.
Offline
Offline
Pages: 1