1 2 3 4 5 6 7 8 9 10 11 12 13 14 | window.onload = function () {
var allPageTags = document.getElementsByTagName("textarea");
var editors = new Array();
for (i = 0; i < allPageTags.length; i++) {
if (allPageTags[i].className == "vLargeTextField") {
var oFCKeditor = new FCKeditor(allPageTags[i].id);
oFCKeditor.Config["CustomConfigurationsPath"] = "/static/fckeditor/custom/myconfig.js";
oFCKeditor.BasePath = "/static/fckeditor/";
oFCKeditor.Height = "400";
oFCKeditor.ReplaceTextarea();
editors.push(oFCKeditor);
}
}
};
|
More like this
- Unobtrusvie Foldable Admin Interface by whiteinge 5 years, 3 months ago
- Add special field lookups to the Admin list_filter display by whiteinge 5 years, 3 months ago
- Template tags to integrate with modconcat by matthanger 3 years, 10 months ago
- A dict template tag by Batiste 5 years, 1 month ago
- Generic CSV Export by zbyte64 4 years, 11 months ago
Comments