clevertech/YiiBooster — pull request #121 by kazuo (2012-11-22 02:50:44+00:00)
Title: new form widget: Markdown Editor

Unsure if you had any plans of adding a Markdown Editor to YiiBooster, so here's my (simplistic) implementation of a pre-existing for Twitter Bootstrap.

Use it as $form->markdownEditorRow().

It will automatically place a realtime preview of the Markdown Editor
(ala StackExchange). Currently, it only works with a single
markdownEditorRow() widget on a page.

Original Javascript library can be found at
http://code.google.com/p/pagedown/

Twitter Bootstrap project port can be found at
https://github.com/samwillis/pagedown-bootstrap

The new widget uses the patched library from
https://github.com/roryf/pagedown-bootstrap that allows button
visibility configuration