William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories

TinyMCE, Plupload

2 wonderful web plugins:

  • TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor. TinyMCE is very easy to integrate into other Content Management Systems.

    It seems many web apps use it as inline textarea editor.

  • Plupload is a files uploader GUI tool, upload files using HTML5 Gears, Silverlight, Flash, BrowserPlus or normal forms, providing some unique features such as upload progress, image resizing and chunked uploads.

They are the products of Swedish company Moxiecode, very wonderful tools. I used TinyMCE already, and going to add Plupload accompanying with TinyMCE.

TinyMCE is very easy to use, the only issue that I can remember is that it doesn’t use jQuery’s val() to get textarea’s context, instead, it use its method .getContent().

To get textarea context, the following desn’t work:

var textarea=$('textarea').val();

Instead, use the following to make it work:

var textarea=tinyMCE.get('txtEntry').getContent();

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: