okeddy
11-10-2010, 12:46 PM
I have a text edit panel on a page which must have a .txt include file that can be edited by the user. It seems to work apart from some limitations on how many characters you can edit at a time (thats in IE) in Firefox there are little boxes showing aound the cursor, there is something going on which I don't understand, can anyone help?
<div id="TextEdit" class="editable" contenteditable="true" UNSELECTABLE="ON">
<?php include("select.txt"); ?>
</div>
.editable {
white-space:pre-line;
width:500px;
height:600px;
overflow:scroll;
overflow-x:hidden;
}
see what I mean here
https://docs.google.com/leaf?id=0B5c-qZPscnixM2FiNGViNzYtZTZjMS00ZWI3LWEwMzgtMDZlMjQwYzE1ZDhh&hl=en_GB
<div id="TextEdit" class="editable" contenteditable="true" UNSELECTABLE="ON">
<?php include("select.txt"); ?>
</div>
.editable {
white-space:pre-line;
width:500px;
height:600px;
overflow:scroll;
overflow-x:hidden;
}
see what I mean here
https://docs.google.com/leaf?id=0B5c-qZPscnixM2FiNGViNzYtZTZjMS00ZWI3LWEwMzgtMDZlMjQwYzE1ZDhh&hl=en_GB