NAWTE0.4: Finally! MooTools1.2 compatibility…

Well I’m pretty much done porting nawte to MooTools1.2… I still haven’t updated nawte’s main site, but the latest source can be grabbed at nawte’s git repository located at http://github.com/SilverTab/nawte/. If you are not familiar with git, you can just browse the source and grab it from there…

Besides 1.2 compatibility there’s also one small change. I merged the insertBefore and insertAfter functions to create the insert function which takes a where parameter (eighter before or after).

The site and the doc should get updated soon…

8 Comments

  1. brian
    Posted October 11, 2008 at 2:40 am | Permalink

    This is the greatest thing ever. I’ve been looking for something exactly like this for a long long time. Woohoo for 1.2 compatibility!

    Thank you so much!

  2. Posted October 11, 2008 at 3:28 am | Permalink

    @brian: Glad you like it! :) Let me know if you have any suggestions/questions…!

    this reminds me… I still have to update NAWTE’s main page… right now the latest version( 1.2 compatible) is only available at the github repo, I’m definitely slacking!…

  3. johnn
    Posted November 23, 2008 at 5:27 pm | Permalink

    thanks so much for this, its an excellent bit of script!

    if I might be so bold as to suggest a direct link to this on the nawt page?

    thanks again=]

  4. Posted November 23, 2008 at 5:43 pm | Permalink

    Hey johnn! Thanks for the comment! Glad you find nawte useful! I did post a notification on NAWTE’s site about the new version as you mentioned! ;)

  5. Posted December 22, 2008 at 3:39 am | Permalink

    options: {
    displatchChangeEvent: false,
    changeEventDelay: 200,
    interceptTabs: true
    },

    I think there is a typo here : definitely, the first option should be ‘dispatchChangeEvent’ and not ‘displatch…’.

    Prasad.

  6. Posted December 23, 2008 at 4:45 am | Permalink

    I think in the add function of nawte 0.4 which is supposed to be 1.2 compatible, has injectInside function. Should that be changed. ?

    itemlink.set(’html’, ” + name + ”);
    itemlink.setProperties(args || {});
    itemlink.inject(item, ‘bottom’);
    item.injectInside(this.list);

  7. Hugo
    Posted January 28, 2009 at 1:10 am | Permalink

    How can I create multiple instances of the editor? I have a webpage with three forms. Each form has a textarea. I’d like to add an NAWTE editor to each textarea. I’ve tried but haven’t been able to get it to work properly. Can someone show me how to create multiple instances of NAWTE on the same page? Thanks!

  8. Kit Grose
    Posted July 21, 2009 at 12:56 am | Permalink

    One important feature is to allow actions to apply to an entire line of text (based on where the insertion point is). That feature would suit block level element changes like headings and lists, particularly in Textile/Markdown.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*