How to add only one Text counter?
Let's do it on
cs_counters.aspx example from downloaded
Suite.
Make a copy of this file and edit this copy the following way.
Find in this file the following text:
<span style=" ... " >
HTML:
<input style=" ... " type="text" readonly id="totalHtml" value=""/>
Text:
<input style=" ... " type="text" readonly id="totalPlain" value=""/>
</span>
Edit this text:"
<span style=" ... " >
Text:
<input style=" ... " type="text" readonly id="totalPlain" value=""/>
</span>
Find in this file the following text:
<script type="text/JavaScript">
function onClientContentChanged(status)
{
document.getElementById(
"totalHtml") .value = status.current.htmlTextLength;
document.getElementById(
"totalPlain").value = status.current.plainTextLength;
}
</script>
Edit this text:"
<script type="text/JavaScript">
function onClientContentChanged(status)
{
// document.getElementById("totalHtml") .value = status.current.htmlTextLength;
document.getElementById(
"totalPlain").value = status.current.plainTextLength;
}
</script>
If you run edited example you will see such left-bottom corner of
HTML Editor control:
In a similar manner you can add only one
HTML counter.