New in version 1.2.0

Live Demo

Form Content

This is the data that will be submitted with HTML form.




This is the original input HTML.

<textarea id="textarea" class="example" rows="1"></textarea>

<div style="margin-top: 20px">
	<input type="text" id="tagname" placeholder="tag name" />
	<button id="addtag" class="btn">Click to add tag</button>

This is the JavaScript source that was used to initialize this demo instance of TextExt.

<script type="text/javascript">
    $('#textarea').textext({ plugins: 'tags' });

    $('#addtag').bind('click', function(e)
        $('#textarea').textext()[0].tags().addTags([ $('#tagname').val() ]);
Fork me on GitHub