ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Ninja Editor

September 02, 2008 11:11am

Subscribe [4]
  • #1 / Sep 02, 2008 11:11am

    recoilme

    13 posts

    Ninja editor it’s tiny editor for blog, comment form and etc.
    Very simple and fast(~1kb).
    Avialable as codeigniter helper.
    Its looks like
    Example:
    1st:

    $this->load->helper("ninja");

    2nd:

    <html>
    <head>
    <title>Ninja editor</title>
    <?php echo js_insert_ninja(); ?>
    <?php echo css_insert_ninja(); ?>
    </head>
    <body>
    <form name="blog">
    <?php echo html_insert_ninja('comments'); ?>
    <textarea name="comments" cols="40" rows="4"/textarea>
    </form>
    </body>
    </html>

    Where are:

    js_insert_ninja();//script
    css_insert_ninja();//style
    html_insert_ninja('comments');//panel

    Download and example

  • #2 / Sep 02, 2008 1:48pm

    Jamie Rumbelow's avatar

    Jamie Rumbelow

    546 posts

    Nice!

    I am quite interested in modifying this for use in my brand new blog platform, could you email me later?

    Thanks,

    Jamie.

  • #3 / Sep 03, 2008 1:27am

    recoilme

    13 posts

    Hi, Jemgames

    You may use it as you like. Ninja editor avialable under MIT licence.

    BR, recoilme

  • #4 / Sep 24, 2008 8:02am

    recoilme

    13 posts

  • #5 / Sep 24, 2008 8:20am

    manilodisan's avatar

    manilodisan

    223 posts

    Very nice. Can it be extended to add more tags?

  • #6 / Sep 24, 2008 8:58am

    recoilme

    13 posts

    Very nice. Can it be extended to add more tags?

    Yes, its easy. just copy-paste strings with some tag and change it on tag what you need

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases