JavaScript Library For Editable Box with Line Numbers – NumberedTextBox

Category: Javascript | July 7, 2015
Author:walruskhan
Views Total:163 views
Official Page:Go to website
Last Update:July 7, 2015
License:MIT

Preview:

JavaScript Library For Editable Box with Line Numbers – NumberedTextBox

Description:

NumberedTextBox is a pure JavaScript library that converts an html element into an editable, resizable text box with support for line numbers.

How to use it:

Download and include the lntextarea.js script on your web page.

<script src="lntextarea/lntextarea.js"></script>

Addthe required CSS class ‘numberedTextBox’ to a DIV element and you’re done.

<div class="numberedTextBox">
  ...
</div>

Disable resizable option using data-resizable attribute.

<div class="numberedTextBox" data-resizable="true">
  ...
</div>

You Might Be Interested In:


One thought on “JavaScript Library For Editable Box with Line Numbers – NumberedTextBox

Leave a Reply