Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 27th, 2012  |  syntax: None  |  size: 0.54 KB  |  hits: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. SharePoint 2010 - How to replace the default rich text editor used for multi-line fields in lists with TinyMCE?
  2. javascript:(function() {
  3.        h = document.getElementsByTagName("head")[0];
  4.        scriptT = document.createElement("script");
  5.        scriptT.src = "http://localhost/js/tiny_mce/tiny_mce.js";
  6.        scriptT.type = "text/javascript";
  7.        scriptT.onload = function(){
  8.           tinyMCE.init({mode: "textareas", theme:"advanced",
  9.              theme_advanced_toolbar_location:"top"});
  10.        };
  11.        h.appendChild(scriptT);
  12.     })()