JavaScript Library For Editable Box with Line Numbers – NumberedTextBox

Category: Javascript | July 7, 2015
Authorwalruskhan
Last UpdateJuly 7, 2015
LicenseMIT
Views199 views
JavaScript Library For Editable Box with Line Numbers – NumberedTextBox

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