What is WysihatKit?
WysihatKit is 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 A live demo is available here. WysihatKit is released under the MIT license. The source code is hosted over at GitHub.Demo
Screenshot

License
Authors
Download

