Created
February 26, 2012 15:02
-
-
Save mafice/1917193 to your computer and use it in GitHub Desktop.
textarea with Edit area
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- ===================================================== | |
Edit area - http://www.cdolivet.com/editarea/ | |
====================================================== --> | |
<meta charset="utf-8"> | |
<title>text editor</title> | |
<script src="edit_area/edit_area_full.js"></script> | |
<script> | |
editAreaLoader.init({ | |
id: "textarea_EditArea", | |
start_highlight: true, | |
allow_resize: "both", | |
allow_toggle: true, | |
word_wrap: false, | |
language: "en", | |
syntax: "php", | |
min_height: 400, | |
}); | |
</script> | |
</head> | |
<body> | |
<textarea id="textarea_EditArea" wrap="off" style="width:100%;"> | |
<?php | |
echo "Hello, World!"; | |
</textarea> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment