-
Notifications
You must be signed in to change notification settings - Fork 0
A live javascript preview for to simulate Ruby on Rails' simple_format helper written in Prototype
License
jarrettmeyer/simple-format-live-preview
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple Format Live Preview by Jarrett Meyer ------------------------------------------------------------ This is my first Prototype class for putting together a live preview for Rails' simple_format() text helper method. ------------------------------------------------------------ <html> <body> <form id="my-form"> <textarea id="my-textarea"></textarea> <div id="my-live-preview"></div> </form> <script type="text/javascript" src="./path/to/prototype.js"></script> <script type="text/javascript" src="./path/to/simple-format-preview.js"></script> <script type="text/javascript"> new SimpleFormatPreview('my-textarea', 'my-live-preview'); </script> </body> </html> ------------------------------------------------------------ Licensed under MIT-style license. See license.txt for more details.
About
A live javascript preview for to simulate Ruby on Rails' simple_format helper written in Prototype
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published