About Us

WireLoad, LLC is a startup geared towards internet products. For a complete listing of products, see the Products page.

Contact

By email:
info@wireload.net
By mail:
WireLoad, LLC
P.O. Box 390026
Mountain View CA 94039-0026
USA
 

A Cappuccino control providing rich text editing through use of the WyziHat editor.

This is mostly a hack for use until a proper rich text capable CPTextView is introduced.

Installation

Link the WyziHat folder into your Frameworks folder. Then copy Wyzihat/Resources/WKTextView into Resources/WKTextView.

Create and combine the wyzihat.js file:

git clone git://github.com/josh/wysihat.git
cd wysihat
rake
cat dist/prototype.js dist/wysihat.js >>wyzihat.js

Optionally minify the combined wyzihat.js – it will shrink very well.

Copy your combined wyzihat.js into Resources/WKTextView.

Usage

textView = [[WKTextView alloc] initWithFrame:effectiveFrame];
[textView setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable];
[textView setDelegate:self];

The view needs to load resources such as editor.html and wyzihat.js. Wait for the textViewDidLoad: delegate call before using.

Demo

A live demo is available here.

Screenshot

wysihat_0.2

License

WysihatKit is released under the MIT license.

Authors

Download

The source code is hosted over at GitHub.

Share and Enjoy:
  • del.icio.us
  • StumbleUpon
  • Digg
  • Facebook
  • Twitter
  • Mixx
  • Google Bookmarks
  • Sphinn
  • BlinkList