W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2014

[editing] JavaScript implementation

From: Michael Hill <asiral@gmail.com>
Date: Sun, 9 Mar 2014 00:33:22 +0400
Message-ID: <CAGKLGGw76h8Dv=ctZWWfWU__k9NXP4KLJbNKfFfimtLjphug+w@mail.gmail.com>
To: public-webapps@w3.org

I'm really benefiting from all the hard work here (
https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html) and I think it's
a great subject to address.  Specifically, I've really found the JavaScript
implementation (
https://dvcs.w3.org/hg/editing/raw-file/tip/implementation.js) a much
needed tool for in-browser editing.

While working with that implementation, I noticed what I would call a bug.
Specifically, line 2278 returns "undefined" for the "strikethrough" and
"underline" commands, causing unnecessary "span" elements to wrap
selections when executing some commands.  I imagine either the
"relevantCssProperty" for these two commands should be set to
'textDecoration' or perhaps there are implementation-specific issues and it
should be set to "null".

I hope this is the correct channel to provide this feedback; I did not see
a better-fitting place to comment on the page.

Received on Monday, 10 March 2014 10:23:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:22 UTC