A very common behavior : cut'n'paste in the wysiwyg editor some paragraphs from a web browser or from a word document.
I'm not talking about complex things. For example : a small paragraph in a word document. No pictures, "normal" style, something very common
Once pasted, things appear in the editor as if evrything is ok. Then I save. Huh ! Things disappeared, strange characters appear, new lines are inserted, etc... If I edit again, I've lost formatting things. I CAN UNDERSTAND THAT
and I know the company that sponsored the wysiwyg asked for a simplified editor that supports what twikiML supports.
BUT : the page can be really polluted by <fonts...> etc... html code, making it very difficult to read with the regular editor. I some filtering is done : 1) the user shoud be warned that maybe he's going to loose things and 2) all and other HTML formatting things should be filtered as well.
-- Michael Buffa
You might want to try the procedure I offer on Item1019 - Crawford is probably right in thinking that my change is too aggressive to allow it to pass the tests, but at least it shows the kind of thing that needs to be done.
This is a difficult one. If we start stripping font tags, there is a high risk that we will strip the wrong thing and end up losing some critical formatting. I decided on what to handle purely by examining the round trip i.e. TML document -> HTML -> edit -> TML, so the only tags that are "properly" handled are those covered in those two transformations. Very deliberately, I left everything else alone. Otherwise, a user would never be able to change the font in their topic using the WYSIWYG editor, even in source-edit mode.
It would be good to do something about this, but it isn't going to happen in the near future.
Undeferred, post Dakar CC
Duplicate of Item944