User:Johnstonkl/vector.js

// install Wikipedia:User:Cacycle/wikEd in-browser text editor document.write('');

/*Change the presets of the toggle buttons in the wikEd control bar*/ var wikEdConfig = { 'highlightSyntaxPreset': true, 'useWikEdPreset': true, 'usingPreset': false, 'fullScreenModePreset': false, 'closeToolbarPreset': false, 'refHidePreset': false, 'diffPreset': false }; /*Change the history lengths*/ var wikEdConfig = { 'historyLength': { 'find': 15, 'replace': 15, 'summary': 20 } }; /*Change a user interface CSS style*/ var wikEdConfig = {}; wikEdConfig.mainCSS = { '.wikEdButton': 'background: blue;' }; /*Show the button to fix common typos using AutoWikiBrowser RegExTypoFix rules*/ var wikEdConfig = {}; var wikEdConfig.regExTypoFix = true;