PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

A rich text editor and spell check together

April25

Dont read talk or do anything if you want a good hassle free editor Click here to download it. Check the screenshot below. I have used this editor on this website.

Installation

  • Just download the whizzywig.js file
  • And type <script language=”JavaScript” type=”text/javascript” src=”whizzywig.js”></script> in the <head></head> of your webpage.
  • Add the the following just below the textarea you want to implement this editor:
    <script language=”JavaScript” type=”text/javascript”>
    buttonPath = “button/”;
    makeWhizzyWig(”txt1″, “fontsize | bold italic underline | indent outdent | left center right | undo redo | color hilite | bullet number | link html | spellcheck”);
    </script>

Done you can start using it!!!!

People are complaining that this editor does not work with firefox. Actually there is a very small change that is required to make it work in firefox.

Just add the id for the textarea you are using.
Example:
<textarea id=”txt1″ name=”txt1″>Type Description </textarea>
<script language=”JavaScript” type=”text/javascript”>
buttonPath = “button/”;
makeWhizzyWig(”txt1″, “fontsize | bold italic underline | indent outdent | left center right | undo redo | color hilite | bullet number | link html | spellcheck”);
</script>

posted under Javascript

Email will not be published

Website example

Your Comment:

 

12,958 spam comments
blocked by
Akismet