The edit link is leaving a
/twiki/bin/edit/Main/LeftBar?t=1193004862">edit
behind.
Example at
LitterTray.Item4871LeftBarExample.
Related: We could probably benefit from having more "simple" default links in the sidebar.
--
TWiki:Main/SteffenPoulsen
- 21 Oct 2007
Thoughts:
- How to handle existing sidebars? (A wysiwyg edit of existing sidebars leaves the same trail as above)
- Any changes to format in WebLeftBarPersonalTemplate should be reflected in examples at WebLeftBarExample, WebLeftBarCookbook and related
--
TWiki:Main.SteffenPoulsen
- 22 Oct 2007
I'm not clear what you are reporting here. Are you saying that a WYSIWYG edit of TWiki.WebLeftBarPersonalTemplate (who thinks up these names?) is saving something that is breaking some TML in that topic?
Later: There is an HTML link in that topic that is unprotected by either sticky or literal tags, and contains TWiki variables so is unparseable by the translator. Protect the <sticky="">..</sticky> tags, or use a TML (square bracket) link.
Reattributed to Documentation.
CC
That will work OK for future personal sidebars I guess. Any ideas on the existing ones (to provide an example, we have ~100 in our installation)?.
--
TWiki:Main.SteffenPoulsen
- 27 Oct 2007
What is going on in TMCE? See this topic in raw view.
Changed back from Documentation to TMCE and no longer waiting for feedback. We cannot document our way of of this.
KJL
How do you know it was TMCE? Exactly what steps did you go through to create the problem?
CC
How do I know? It is only TMCE / Wysiwyg that would add these stange tags. I can never tell if it is one or the other. I guess.
What did I do? Nothing. I actually hit Edit Raw and saw that the mysterious tags were already there. And now they are actually gone again. Maybe you removed them.
But that was just a remark and I did not open a new bug because I had not generated that funny problem myself.
The changed I made in the bug form was for the original bug: personal side bars are corrupted when edited with TMCE (not raw). Since no admin wants to edit hundreds of side bars adding sticky tags - this needs to be addressed in the
WysiwygPlugin / TMCE and not by documenting the problem and that is why I flipped from Documentation to TMCE. You as the expert may find it is
WysiwygPlugin that needs to be fixed.
KJL
The only thing I can suggest is to set WYSWIYG_EXCLUDE = html - which of course would disable WYSIWYG on any topic containing raw HTML. I suspect this would be a bit draconian for the sake of the sidebar topics, though.
This is a fundamental problem with TML, and I'm really not sure I can do anything about it. I will try. As I understand it this only impacts the editing of existing sidebar topics, as you have already fixed the template, right?
Later: after much experimentation I decided the only sensible solution is to treat A tags as unpalatable, and treat them as protected, always. For most users (who use TWiki links and not HTML links) this is best.
CC
Thanks for fix. Looks like sain solution. Merged to MAIN. Closing
KJL