Skip to content

Instantly share code, notes, and snippets.

//A script for use in a Visualforce page to override RichText inputFields with an expanded CKEditor
//values we need from the old editor
var instanceName;
var uploadURL;
var extraPlugins;
//the default editor exists in our scope as the variable 'editor'
//get the name of the text area element the editor lives in
instanceName = editor.name;