• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4706: VERBATIM problem in TMCE

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Urgent Closed   minor  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


I am now going to write some text. I will first hit return. Then I choose the VERBATIM style. Then I type including typing some new lines. At the end I move the cursor after the verbatim area and write hello. If the bug manifest itself I see verbatims on each and every line instead of one set around the entire area
Here I type in verbatim And this is next line And now I write some <br> <b> tags </b>. Trying to write the literal0 Last line of verbatim 

And now I stepped out of the verbatim area.

The thing to look for now is that each line has their own verbatim start end. That is wrong. It creates line distance which is wrong.

Tested in IE6 / Win XP sp2 / MAIN branch

-- TWiki:Main/KennethLavrsen - 23 Sep 2007

Yes the verbatims are all wrong.

-- TWiki:Main/KennethLavrsen - 23 Sep 2007

Same in FF

-- TWiki:Main.KennethLavrsen - 23 Sep 2007

Unfortunately this is due to the way TinyMCE works (and if it was just editing HTML, what it does would be just fine. The only solution I have to this is to collapse adjacent verbatim sections together; this is something i tried, but had such problems with that I removed it again. Perhaps it is time to try again.

Note that your example above illustrates another problem; that literal tags embedded in a verbatim region get interpreted.


Bloody hell, that was a lot harder to fix than it ought to have been.


Do not close until merged into TWikiRelease04x02 branch.

And please merge right away when you check in. All we should care about right now is 4.2.0 and that is all I test at the moment.

I know that you started a discussion about refactoring subversion but please defer any such activities until 4.2.0 is out. We have to focus on 4.2.0 now. The urgent bug backlog is record high again.


Summary VERBATIM problem in TMCE
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.3.0, Sat, 22 Sep 2007, build 14996
AppliesTo Extension
Component TinyMCEPlugin
Priority Urgent
CurrentState Closed

Checkins TWikirev:15087 TWikirev:15089
TargetRelease minor

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2007-09-29 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback