Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #25881

Re: new line in a contentEditable div

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: new line in a contentEditable div
Date Fri, 03 Oct 2014 18:54:09 +0200
Organization solani.org
Lines 13
Message-ID <m0mkb7$4i0$1@solani.org> (permalink)
References <4b3afe79c9bbea3371221c48e0b0690a346b72d8@news.nemoweb.net> <XnsA3BB98A83307Ceejj99@194.109.133.133> <a2dd0d703703f18542e89ab7f7458b3adb0b296f@news.nemoweb.net> <XnsA3BBA6B09F610eejj99@194.109.133.133> <f8eb75a99cf32a4f76c97abbc34285dadf024206@news.nemoweb.net> <XnsA3BBBBDC1124Eeejj99@194.109.133.133>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 7bit
X-Trace solani.org 1412355239 4672 eJwFwQERACAIA8BKChtoHNxB/wj+02OHEsEAh+M2znsgUSvVFYmaerbKvKHzNl7bpcpzrD8hAxGF (3 Oct 2014 16:53:59 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 3 Oct 2014 16:53:59 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
X-User-ID eJwNysEBwCAIA8CVNJJQxgEs+4/Q3vt4tNVuoozDubRuY9yNw0GG8FZ5dTB9MpeWAPyDDyvrAx2rEPs=
In-Reply-To <XnsA3BBBBDC1124Eeejj99@194.109.133.133>
Cancel-Lock sha1:c0MZeYxKGGXMc9vVm0gyzrkTRBc=
X-NNTP-Posting-Host eJwFwQkBwEAIAzBLg1IeOzDwL+ESwsUnzOnG4wm1p3ZpmenAh7vEbMR/J6aGJnaDtdpW+gATahC7
Xref csiph.com comp.lang.javascript:25881

Show key headers only | View raw


Evertjan. wrote:

> Content-editable is not designed to change anything other 
> than plain text-nodes.

No.  The contentEditable as well as designmode attribute have been
invented to allow so-called rich-text editing[1].  Otherwise a textarea
would be sufficient.

[1] <https://developer.mozilla.org/en/docs/Rich-Text_Editing_in_Mozilla>

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

new line in a contentEditable div Julien Arlandis <julien.arlandis@laposte.net> - 2014-10-03 11:33 +0000
  Re: new line in a contentEditable div JJ <jj4public@vfemail.net> - 2014-10-03 19:46 +0700
    Re: new line in a contentEditable div Julien Arlandis <julien.arlandis@laposte.net> - 2014-10-03 13:13 +0000
      Re: new line in a contentEditable div JJ <jj4public@vfemail.net> - 2014-10-04 09:29 +0700
        Re: new line in a contentEditable div Julien Arlandis <julien.arlandis@laposte.net> - 2014-10-04 06:09 +0000
          Re: new line in a contentEditable div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-04 08:47 +0200
          Re: new line in a contentEditable div JJ <jj4public@vfemail.net> - 2014-10-04 21:34 +0700
            Re: new line in a contentEditable div Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-22 20:09 +0200
  Re: new line in a contentEditable div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-03 15:00 +0200
    Re: new line in a contentEditable div Julien Arlandis <julien.arlandis@laposte.net> - 2014-10-03 13:18 +0000
    Re: new line in a contentEditable div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-03 16:23 +0200
      Re: new line in a contentEditable div Julien Arlandis <julien.arlandis@laposte.net> - 2014-10-03 15:16 +0000
        Re: new line in a contentEditable div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-03 18:28 +0200
          Re: new line in a contentEditable div "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-10-03 18:54 +0200
            Re: new line in a contentEditable div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-03 19:07 +0200
              Re: new line in a contentEditable div "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-10-03 19:32 +0200
  Re: new line in a contentEditable div "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-10-03 16:21 +0300

csiph-web