Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanickrochon/jquery.uix.synthed
Yet another lightweight markup language editor using jQuery
https://github.com/yanickrochon/jquery.uix.synthed
Last synced: about 1 month ago
JSON representation
Yet another lightweight markup language editor using jQuery
- Host: GitHub
- URL: https://github.com/yanickrochon/jquery.uix.synthed
- Owner: yanickrochon
- License: mit
- Created: 2013-01-21T05:08:28.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-20T14:19:35.000Z (over 11 years ago)
- Last Synced: 2024-10-05T01:46:42.077Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://mind2soft.com/labs/jquery/synthed/
- Size: 477 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
jQuery UIx SynthEd
==============
Version 0.1 (alpha)Introduction
------------Synthetic Editor (SynthEd) is a markup language editor using jQuery and jQuery UI themes ready. It is fully customizable and
can be used with just about *any* markup parser. It's smart update system automatically triggers the parsing event (that can
be stoped through `synthedbeforeparse` and `synthedparsed` jQuery events bound to the textarea) in a fully configurable way.
This widget can even be used without any parser, as a live textarea, automatically notifying any listeners about changes.This widget is fully functional as it is, however it has only been tested on IE9, FF and Chrome. Feedbacks are welcome!
Requirements
------------* jQuery 1.7.2+
* jQuery UI 1.8+Usage
-----// transform the specified textarea into a textile markup editor (require ./parsers/textile.js)
$('#textarea').synthed({ parser: 'textile' });// insert and select text (last arguments reposition selection relative to it's original location)
$('textarea').synthed('insert', '*Specify text*', 1, 13);// restore original element behaviour
$('textarea').synthed('destroy');