xwiki-contrib/xwiki-platform-wiki30 — comment on commit 821a7050b212308d491de7851df25ff5478c1386
File:  line 0
By bflueras:

Yes, I do.
To "strikethrough" a selected text, you previously had to apply the STRIKE_THROUGH command which added a tag.
As in RealTimePlugin we don't use tags but CSS properties on span elements (the STRIKE_THROUGH cmd was not designed this way), there wasn't any command to apply the "line-through" CSS property on a span.
If I were to use the existing STRIKE_THROUGH command, I would have been forced to deal with it in RealTimePlugin (thus messing the code with a lot of if-else statements) and still use the "line-through" CSS property for the Tree style operations.
Find also the diff: https://github.com/xwiki-contrib/wiki30/commit/886cca40a63c88df27c0139cbc1ffc6a9c92d5d3