I am looking for a plugin or code with a functionality like the “line count” or “line number” in common editors.
The line number usually is shown on the left border of the editors content.
Anyone got an idea how to do it with TinyMCE?
Example:
line number | content
- line number one
- number two
3. - one line skipped (three is empty)
5. - contents end
I solved this issue using a special stylesheet containing a png with the numbers from 1 to 999 placed on the left side of the editors iframe. Important is here that this solution only works for a predefined font size and line-height!