In the discussion if TMCE can be the only editor here is an example of a task you cannot do.
When you take the raw viewed text from
http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/ReleaseBlocker?raw=on;rev=7
and paste it in TMCE you end up with
Core Code Release Blockers
Warning: Can't find topic br/Bugs/Tabulatorbr/STATUS=NewConfirmedWaitingforFeedbackBeingWorkedOnbr/SUMMARY=/br/DETAIL=/br/PRIORITY=Urgentbr/CLASS=Enginebr/WAITINGFOR=/br/REPORTEDBY=/br/CODEBASE=042br/COMPONENT=/br/LIMIT=br.WebHome
Distributed Extensions Release Blockers
Warning: Can't find topic br/Bugs/Tabulatorbr/STATUS=NewConfirmedWaitingforFeedbackBeingWorkedOnbr/SUMMARY=/br/DETAIL=/br/PRIORITY=Urgentbr/CLASS=Extensionbr/WAITINGFOR=/br/REPORTEDBY=/br/CODEBASE=042br/COMPONENT=BehaviourContribClassicSkinCommentPluginEditTablePluginEmptyPluginInterwikiPluginJSCalendarContribKupuContribMailerContribPatternSkinPreferencesPluginRenderListPluginSlideShowPluginSmiliesPluginSpreadSheetPluginTablePluginTipsContribTinyMCEPluginTWikiUserMappingContribTwistyContribTwistyPluginWysiwygPluginbr/LIMIT=br.WebHome
--
TWiki:Main/KennethLavrsen
- 27 Aug 2007
Core Code Release Blockers
- CurrentState : New|Confirmed|Waiting for Feedback|Being Worked On
- Summary : .*
- AppliesTo : Engine
- Component : .*
- Codebase : [^\042]*
- WaitingFor : .*
- Priority : Urgent
- ReportedBy : .*
Distributed Extensions Release Blockers
- CurrentState : New|Confirmed|Waiting for Feedback|Being Worked On
- Summary : .*
- AppliesTo : Extension
- Component : BehaviourContrib|ClassicSkin|CommentPlugin|EditTablePlugin|EmptyPlugin|InterwikiPlugin|JSCalendarContrib|KupuContrib|MailerContrib|PatternSkin|PreferencesPlugin|RenderListPlugin|SlideShowPlugin|SmiliesPlugin|SpreadSheetPlugin|TablePlugin|TipsContrib|TinyMCEPlugin|TWikiUserMappingContrib|TwistyContrib|TwistyPlugin|WysiwygPlugin
- Codebase : [^\042]*
- WaitingFor : .*
- Priority : Urgent
- ReportedBy : .*
I just pasted it above and, as you can see, it worked perfectly (
FireFox). Can you reproduce this problem, preferably on a smaller example?
CC
That proves nothing. Once I had pasted text in the TMCE turns off with the "WYSIWYG could not be started: Text contains calls" message
I tried to copy paste just one of the INCLUDES into a copy and the same things happens.
Do you test with IE? You should always reproduce the errors with IE. IE is the browser I test with all the time because that is the browser businesses use.
KJL
I cannot even paste the text in between verbatim tags in TMCE. I have to edit the text files on my test TWiki right now to get out of the mess I make. We need that "Raw Edit" added - also here on bugs. Is there no way to edit raw now?
--
TWiki:Main.KennethLavrsen
- 28 Aug 2007
The problem in this case seems to be that this Twiki variable is spanning multiple lines and TMCE adds <br /> tags in the middle which goofs the include up completely.
--
TWiki:Main.KennethLavrsen
- 28 Aug 2007
I tried some more simple examples.
I will try and paste it in here via the comment plugin. Without the raw edit I cannot report bugs with verbatim at the moment.
this text
%INCLUDE{
"Bugs.Tabulator"
PRIORITY="Urgent"
}%
gets distorted into
<br />%INCLUDE{<br />"Bugs.Tabulator"<br />PRIORITY="Urgent"<br />}%
It seems TMCE adds these breaks everywhere.
It may only be in IE but this is simply just breaking so many things.
--
TWiki:Main.KennethLavrsen
- 28 Aug 2007
This is a question of understanding what it is you are pasting.
You are in a WYSIWYG, HTML editor. if you paste some text, as you did, then the editor tries it's hardest to retain the formatting. It has no way of knowing that you intended that text to be TML unless you mark it as "PROTECTED". If you protect the text, then the BRs get converted into \n's. Please try that now, and close this report is it works. Of course there may be another bug, which is why I am not closing it myself.
--
TWiki:Main.CrawfordCurrie
- 29 Aug 2007
Confirmed. Just as a last thing. If I could not figure this out - what about normal users?
Is there a usability/UI thing we should consider?
--
TWiki:Main.KennethLavrsen
- 30 Aug 2007
Yes, for sure. This is why I have asked Koen to work with me on some user-friendly doc. Any usability feedback that proposes better language, for example, or simpler use models, will certainly be entertained.
Reattributing to
Documentation
CC
Changed the headline approriately
CC
The TMCE doc seems pretty OK now on Codev.
Should I SVN it into the
TinyMCEPlugin. It is just a work that has to be done and no code so it can relief Crawford from spending time on it.
--
TWiki:Main.KennethLavrsen
- 16 Sep 2007
Tracked in
Item4603. Setting this no action.
CC