User talk:Cacycle/editor.js

Latest comment: 17 years ago by Chidom in topic Quick fix: typo

Quick fix: typo

edit

Hi - and thank you! I may actually be able to stop copying and pasting everything into Word to do serious editing. Bless you.

I can't edit this page (gee, wonder why?); I noticed a small "glitch" when hovering over the "Fix spaces before punctuation" button. What it actually says is "Fix spaces before puntuation; it's missing the "c".

The line of code you'll need to change. is near the end of the "// fixing functions" section, so I've included the small section after it in case you want to search backwards:

 html += '<input class="customEdit" type="button" value=".,:" onclick="javascript:Edit(\'punct\');" title="Fix spaces before puntuation">';
 html += '<input class="customEdit" type="button" value="Aa" onclick="javascript:Edit(\'caps\');" title="Fix caps in headers and lists">';
 html += '</div>';
 customEditButtons.innerHTML = html;
 buttonsWrapper.appendChild(customEditButtons);

// add elements to buttonsWrapper
 var element = document.getElementById('editpage-copywarn');
 while (element != null) {
 if (element.id == 'editpage-specialchars') {
 break;
 }
 next_element = element.nextSibling;
 buttonsWrapper.appendChild(element);
 element = next_element;
 }

// add preview and changes buttons

Thanks again; have good days.Chidom talk  11:05, 24 October 2006 (UTC)Reply