josephtklein / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
GNU General Public License v2.0
0 stars 0 forks source link

IMPLIMENTATION: Autogrow #212

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys, I want to contribute autogrow feature.
I know that i make it wrong, but, anyway.

Many peoples trying to find way to make this feature.
I'm also tried to find that, but, i havn't found anything which i can use.

So i implement by myself.
I attached file with implementation to this post.

I hope you will enjoy this.

Some technical info.
row 555-556 had been added.
row 574-583 also has been added.

Switch ability on:
$('#anytextarea').wysiwyg({
..
  autogrow : true // just add this flag to config on creation
..
});

P.S. This autogrow support cut and paste (binded to keyup).

Original issue reported on code.google.com by glebmach...@gmail.com on 7 Oct 2010 at 11:28

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for this wonderful patch. I have added this to my fork at commit 
http://github.com/alecgorge/jwysiwyg/commit/138cab6f04e593f69be3f11c91c06c2e61a5
9266 .

This will likely be pulled into master in the next week.

Alec Gorge

Original comment by alecgo...@gmail.com on 21 Oct 2010 at 5:48

GoogleCodeExporter commented 9 years ago
You are welcome ;)

Original comment by glebmach...@gmail.com on 21 Oct 2010 at 6:11