javascriptjquerytextareajquery-autocompletejquery-tokeninput

Facebook jQuery autocomplete plugin for textarea & free text


Is there a jQuery plugin, similar to Facebook, that suggests/autocompletes with this criteria:

  1. Works for a textarea or contenteditable div. I'm finding many plugins that only support input fields (ex. http://loopj.com/jquery-tokeninput/).
  2. Supports free text, a combination of tags and non-tag text. This is an example that only allows tags after hitting enter: http://brianreavis.github.io/selectize.js/ - This is NOT free text. Examples of free text would be At.js (http://ichord.github.io/At.js), jquery-textcomplete (http://yuku-t.com/jquery-textcomplete), and jquery.mentionsInput (http://podio.github.io/jquery-mentions-input)
  3. Pill-like CSS effect with backspace/delete functionality. http://yuku-t.com/jquery-textcomplete/ gets pretty close but the styling example doesn't have the delete functionality found in other plugins. Example 1 has a good remove functionality.

Here is an example from Zapier that does it well:

Zapier


Solution

  • Found rich_textarea, which meets all the criteria.

    https://github.com/Yermo/rich_textarea