Borocade   Networks

How to create Textarea using Codemirror

Hello Friends, Today am going to show you how you can create a function textarea using codemirror. First of all lets check out what is a codemirror and for which purpose we can use it.

CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code, and comes with a number of language modes and addons that implement more advanced editing functionality. A rich programming API and a CSS theming system are available for customizing CodeMirror to fit your application, and extending it with new functionality.


Support for over 100 languages out of the box
A powerful, composable language mode system
Autocompletion (XML)
Code folding
Configurable keybindings
Vim, Emacs, and Sublime Text bindings
Search and replace interface
Bracket and tag matching
Support for split views
Linter integration
Mixing font sizes and styles
Various themes
Able to resize to fit content
Inline and block widgets
Programmable gutters
Making ranges of text styled, read-only, or atomic
Bi-directional text support
Many other methods and addons...


CodeMirror is an open-source project shared under an MIT license. It is the editor used in the dev tools for Firefox, Chrome, and Safari, in Light Table, Adobe Brackets, Bitbucket, and many other projects. Development and bug tracking happens on github (alternate git repository). Please read these pointers before submitting a bug. Use pull requests to submit patches. All contributions must be released under the same MIT license that CodeMirror uses.

How to setup codemirror

First of all download codemirror by clicking the link Download and create a file index.php

And copy the code below.

And place index.php file into the codemirror folder.

You may also like


How to make 3D text in after effects


Free Title Animation



Checkout our youtube channel

Borocade Tv

© 2017-2018