Item5961: WysiwygPlugin and TWiki's odd idea of needing a space before *'s causes user surprise.
Current State: Closed
Released In: 1.0.0
Target Release: patch
If I write Some prose, and want to bold the 'n' in one, what happens?
If you select the 'n', then hit B
, when you save, you get spaces between the 'o', 'n', 'e'.
This is clearly not what the user intended.
- 26 Aug 2008
worse, if you hand hack in the html 'b' bold tag, next time around, TWiki removes it.
I was talking to Harlan the other day, and I wondered if we should write some code to convert all literal html to custom %TML% tags (that Wysiwyg can then round trip convert successfully - due to its knowledge..), so that they can be protected abstracted and managed automatically.
If I write Some prose, and want to bold the 'n' in on
e, what happens?
- 26 Aug 2008
As you have discovered, TML makes for a pretty poor text processor.
However the WYSIWYG converter should not put spaces into on
e. It's not supposed to convert to TML unless it has a suitably positioned space.
With regards to the hacking HTML tags to TML; so you want to extend TML to be a superset of HTML? Do you really
want to do that? How do you plan to pass parameters to these tags?
- 27 Aug 2008
I don't want to pass parameters, and I don't want to make it an important functionality - more a way to aggregate the literal html tag usages, abstract them, and help us developers and our users to identify which are common and should do with more support.
- 31 Aug 2008
Fixed on trunk and 04x02 release branch. Any unusual effects with emphasis, let me know; it's all a bit delicate.
- 22 Oct 2008