handle <del> like <strike> for execCommand, like it was done for strong/b, and em/i (blink, contenteditable)
Reported by
cyril.au...@gmail.com,
Jul 28 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.30 Safari/537.36 Example URL: https://jsfiddle.net/kbre3dqs/ Steps to reproduce the problem: 1. https://jsfiddle.net/kbre3dqs/ 2. 3. What is the expected behavior? strikethough should work on <strike> and <del> What went wrong? doesn't work on <del> Does it occur on multiple sites: N/A Is it a problem with a plugin? N/A Did this work before? N/A Does this work in other browsers? No Firefox Chrome version: 53.0.2785.30 Channel: dev OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0 like said, it works for <strong> and <b> , and for <em> and <i> so that could be consistent to do it for <del>
,
Jul 29 2016
Tested the issue on Windows 7, Mac 10.11.5, Ubuntu 14.04 using 53.0.2785.30, latest 54.0.2810.2 with below steps: 1.Opened URL: https://jsfiddle.net/kbre3dqs/ in chrome and firefox. 2.Strikethough is seen on both chrome and firefox. Please find attached screenshot and update if anything missed here in triaging the issue. cyril.auburtin@Could you please provide actual and expected behavior screencast for further triaging the issue.
,
Jul 29 2016
Sorry, http://recordit.co/scyAqAHLuy I hope it's clear
,
Aug 1 2016
Mark WontFix since logical meaning of DEL is different of STRONG, EM, STRIKETHROUGH. I think "strikethrough" command should make different between DEL and STRIKETHROUGH and Chrome and Edge do same thing.
,
Aug 1 2016
Oh thanks Yosin, I just find out that <s> work https://developer.mozilla.org/en/docs/Web/HTML/Element/strike |
|||
►
Sign in to add a comment |
|||
Comment 1 by cyril.au...@gmail.com
, Jul 28 2016