prostoEscribir

JavaScript BBcode editor

View the Project on GitHub frol/prostoEscribir

prostoEscribir

Prosto Escribir is the JavaScript simple BBcode editor. Name explanation: Prosto ("просто") - simple in Russian, Escribir - write in Spanish.

Developers team homepage: http://prostoksi.com

prostoEscribir Screenshot

Quick overview

There are available buttons:

There are implemented buttons, but they are not tested, so commented in code:

Hotkeys work for some buttons. Toolbar and language are fully configurable!

Requirements

Supported browsers

Usage

Simple example::

$(function() {
    var prostoEscribir = $('#book_content').prostoEscribir();
    $('#book_form').submit(function() {
        // Sync last edited text version into textarea.
        prostoEscribir.doCheck();
    });
});

Settings

prostoEscribir options dict:

Toolbar syntax::

{
    <button id>: {
        name: <button name>,
        title: <button help text>,
        [exec: <ContentEditable command string>,]
        [func: <function name from >,]
        [hotkey: <hotkey function>]
    },
    . . .
}