Closed Comandeer closed 7 years ago
In my personal opinion, s
is the one and only way to go.
s
is more generic, so it can be "abused" to use cases where del
is more appropiate (as document edits are also the parts of content that are not longer relevant), so I also think that it's better choice here. del
is too "formal" for generic feature (datetimes, sources of edit…) - it's intended to be uses in documents such as HTML5 spec.
Some stats. I've checked 22 editors to see how they implement some basic features.
"Strike" is absent in 9 editors, the rest implements it as follows:
s
strike
span[style]
del
text:span
)Actually the name of that feature is "strikethrough", not "strike". I've changed it.
I created the first version of draft for that feature: http://ckeditor.github.io/editor-recommendations/features/strikethrough.html Feel free to comment or even prepare some PR to improve it!
Ok, it seems like a stable feature. I propose moving it from draft to the recommendation status. I'll wait 3 days for objections and then do what should be done ;)
That feature is probably also neccessary, as it's the easiest way to mark something as not longer appropiate or had been deleted.
Therefore we should consider two elements for that:
s
element - the most generic element used to mark something not longer relevantdel
element - the element used to mark the removal of some parts of content (it probably suits better to some kind of "Suggestions" feature, but should be also considered here).CKE4 is using
s
orstrike
elements for it as a part of basicstyles plugin.