Lon Boonen
2002-12-10 10:58:10 UTC
Hi developers all over these mailing lists,
we have today released a new sub-release of Xopus: contenteditable for
Mozilla.
Please look it up at http://xopus.org
In preparation for Xopus going for a feature-complete and stable Mozilla
version we have developed a library that emulates contenteditable
behavior in Mozilla 1.3a and up.
Mozilla 1.3 supports editing of pages, but only by entering designmode
for a complete page.
This obviously isn't how you and me would want it, but still it's a
start.
Our unsurpassed moz2ie.js library has now been extended to tweek this
designmode behavior and make it look like true contenteditable the way
Bill intended it to be.
You can make almost any HTML element editable using one of two ways:
1. <div contenteditable="true">you can edit this!</div>
2. <div id="test">you can edit this</div>
<script language="javascript">
document.getElementById('test').contentEditable = true;
</script>
We hope this will help developers build richer Mozilla based internet
applications.
Our implementation isn't complete yet, of course. Some missing features:
1. cursor movement should be restricted to editable areas
in this version the cursor will be hidden if moved outside of an
editable area
in reality it should bounce
implementation isn't hard, it's more that we were lazy
2. selecting text outside of editable regions is forbidden now
because we don't trust a selection outside of an editable region
but some are harmless... we should allow them as long as you
don't try to edit them
3. probably many more
Please feel free to enhance the code. That's why it's called open
source!
Please feel free to return the enhanced code. We will make sure
enhancements will be processed in Xopus and in newer versions of this
sub-release.
Thank you for your attention! Have fun,
greetings Lon, Q42
we have today released a new sub-release of Xopus: contenteditable for
Mozilla.
Please look it up at http://xopus.org
In preparation for Xopus going for a feature-complete and stable Mozilla
version we have developed a library that emulates contenteditable
behavior in Mozilla 1.3a and up.
Mozilla 1.3 supports editing of pages, but only by entering designmode
for a complete page.
This obviously isn't how you and me would want it, but still it's a
start.
Our unsurpassed moz2ie.js library has now been extended to tweek this
designmode behavior and make it look like true contenteditable the way
Bill intended it to be.
You can make almost any HTML element editable using one of two ways:
1. <div contenteditable="true">you can edit this!</div>
2. <div id="test">you can edit this</div>
<script language="javascript">
document.getElementById('test').contentEditable = true;
</script>
We hope this will help developers build richer Mozilla based internet
applications.
Our implementation isn't complete yet, of course. Some missing features:
1. cursor movement should be restricted to editable areas
in this version the cursor will be hidden if moved outside of an
editable area
in reality it should bounce
implementation isn't hard, it's more that we were lazy
2. selecting text outside of editable regions is forbidden now
because we don't trust a selection outside of an editable region
but some are harmless... we should allow them as long as you
don't try to edit them
3. probably many more
Please feel free to enhance the code. That's why it's called open
source!
Please feel free to return the enhanced code. We will make sure
enhancements will be processed in Xopus and in newer versions of this
sub-release.
Thank you for your attention! Have fun,
greetings Lon, Q42
--
bx-editor-dev mailing list
bx-editor-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev
bx-editor-dev mailing list
bx-editor-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev