Skip to main content
Topic: autosize support (Read 1539 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

autosize support

Something I really love to use in my current web projects:

http://www.jacklmoore.com/autosize/

Especially relevant if you write long(ish) texts. You might consider to add it.
-

Re: autosize support

Reply #1

 emanuele likes the idea.
Bugs creator.
Features destroyer.
Template killer.

Re: autosize support

Reply #2

 forumsearch0r would submit a pull request but he's at work, so here's the code:

Code: [Select]
$.fn.autosize = function() {
    // wrap it in a jQuery plug-in so it's easier not to mess up the syntax.
    return autosize(this);
};

$(document).ready(function() {
    $(".sceditor-container textarea").autosize();
});
-

 

Re: autosize support

Reply #3

Thats kind of a cool thing to do ...