• 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.

Item6236: TWISTY breaks Tables

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TwistyPlugin Normal No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

TWISTYs have traditionally worked within table cells. Now they don't.

%EDITTABLE{format="textarea,2x20|"}%
%TABLE{}%
| *A* | *B* | *C* | 
|apple | banana| cherry |
| 1 | 2 | 3 |
| This is <br />%TWISTY{}% <br />more stuff <br />%ENDTWISTY% | stuff | things |

The table above should work. Instead, it is presented as a broken row below a working table:


Item6236_ss.jpg

View Source shows The EditTable code rendered, then the Twisty code rendered below

</table>
<input type="hidden" name="etrows" value="3" />
<input class="editTableEditImageButton" type="image" src="http://twiki.org/p/pub/TWiki04x02/EditTablePlugin/edittable.gif" alt="Edit this table" /> </form>
</div><!-- /editTable -->
| This is <br /><span class="twistyPlugin twikiMakeVisibleInline">
 <span id="twistyIdSandboxVickiBrownTest1show" class="twistyTrigger twikiUnvisited twistyHidden twistyInited"><a href="#"><span class="twikiLinkLabel twikiUnvisited">More...</span></a> </span> <span id="twistyIdSandboxVickiBrownTest1hide" class="twistyTrigger twikiUnvisited twistyHidden twistyInited"><a href="#"><span class="twikiLinkLabel twikiUnvisited">Close</span></a> </span>  </span><!--/twistyPlugin twikiMakeVisibleInline--> <div style="display:inline;" class="twistyPlugin"><div id="twistyIdSandboxVickiBrownTest1toggle" class="twistyContent twikiMakeHidden twistyInited"><br />more stuff<br /></div></div><!--/twistyPlugin--> | stuff | things |

It may be helpful to note that while this fails on twiki.org (see http://twiki.org/cgi-bin/view/Sandbox/VickiBrownTest) it appears to work as expected here on develop.twiki.org.

-- TWiki:Main/VickiBrown - 03 Apr 2009

Duplicate of Item6220, fixed in TWiki 4.3.

-- TWiki:Main.PeterThoeny - 04 Apr 2009

ItemTemplate
Summary TWISTY breaks Tables
ReportedBy TWiki:Main.VickiBrown
Codebase ~twiki4
SVN Range TWiki-5.0.0, Mon, 23 Feb 2009, build 17838
AppliesTo Extension
Component TwistyPlugin
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg Item6236_ss.jpg r1 manage 9.4 K 2009-04-03 - 21:11 UnknownUser screenshot
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2009-04-04 - PeterThoeny
 
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