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
- Template tags to integrate with modconcat by matthanger 2 years, 6 months ago
- A dict template tag by Batiste 3 years, 9 months ago
- Add special field lookups to the Admin list_filter display by whiteinge 4 years ago
- Unobtrusvie Foldable Admin Interface by whiteinge 4 years ago
- Versioned media files using template tags by matterk 3 years, 10 months ago
Comments