An open API service indexing awesome lists of open source software.

https://github.com/lambdalisue/jencil

JavaScript Crossbrowser Markup and WYSIWYG editor written in CoffeeScript
https://github.com/lambdalisue/jencil

Last synced: about 2 months ago
JSON representation

JavaScript Crossbrowser Markup and WYSIWYG editor written in CoffeeScript

Awesome Lists containing this project

README

        

******************************
Jencil
******************************

**Under developing**

Jencil is a JavaScript plugin which allows you to turn any textarea into
a markup editor. It is inspired by `markItUp! `_

While markItUp! is not meant to be "Full-Features-Out-of-theBox"-editor.
Jencil also is lightweight and customizable. The difference between markItUp!
is that Jencil is a little bit more powerful than markItUp! while Jencil has

- Resizable
- Fullscreen mode
- Tab indentation
- Autoindent
- Preview (Quick view) panel
- Help panel
- User can change document type (not yet)
- Plugabble editor/viewer/helper/profile
- Internationalization with i18next

Usage
==========

1. Include jQuery and Jencil javascript files::


.. Note::
If you want to enable Resizable feature, include jQuery-UI.

If you want to enable i18n feature, include i18next.

2. Include the CSS files::

3. Then plug Jencil on a specific textarea::


$(function() {
$("textarea#demo").jencil();
});

.. Note::
If you want to enable i18n feature, do like this::


$(function() {
i18n.init(function(t){
$("textarea#demo").jencil();
});
});

4. Check https://github.com/lambdalisue/Jencil/blob/master/src/coffee/core.coffee to find options available in Jencil

:Author: Alisue ([email protected])
:Version: 0.1.5
:License: MIT License
:Required: jQuery, jQuery-UI (Resizable option), i18next (i18n option)
:Url: http://github.com/lambdalisue/Jencil
:Supported: Firefox, Chrome, IE9
:Not confirmed yet: Safari, Opera, IE6-8