Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (31 sloc) 823 Bytes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
<title>Rich Text Area</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style type="text/css">
* {
border: 0px;
margin: 0px;
overflow: hidden;
#rich_text {
width: 100%;
height: 600px;
overflow: auto;
<div contenteditable="true" designmode="on" id="rich_text"><strong><em>rich text</em></strong> area drop target<br/></div>
<script type="application/javascript">
function maximizeRichTextEditor() {
document.getElementById('rich_text').style.height = window.innerHeight+'px';
window.onresize = maximizeRichTextEditor;
You can’t perform that action at this time.