Evertjan.
10/3/2014 4:28:00 PM
Julien Arlandis <julien.arlandis@laposte.net> wrote on 03 okt 2014 in
comp.lang.javascript:
> Even in a text-message there is coloration for level citation, and further
> the nemo client can display images and formatting text, so a textarea is
> not sufficient for my application.
>
> Look for example this message on Nemo, there is strong,
> italic and underline words that you can't see on usenet :
This is silly,
why bother making a usenet client that can produce
what cannot be seen on usenet anyway.
Usenet is for plain text, usenet has no italics.
==========================
But say you are making a non-usenet application,
wouldn't it be much better just to detect text input,
also of html-elements perhaps,
and do a DOM-repaint after every stroke.
You could have a stroke of luck that it actually works,
and not as stuttering as some highly complex applications
I have seen on the web, as DOM-repainting takes time.
Content-editable is not designed to change anything other
than plain text-nodes.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)