Edgewall Software
Modify

Opened 10 years ago

Last modified 7 months ago

#11720 new defect

Table with inline diff can misposition the wiki editor textarea

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-stable-1.6.x
Component: wiki system Version: 1.0-stable
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Ryan J Ollos)

I've been unsuccessfully trying to edit the WikiProcessors page to append the content added in WikiProcessors@62 to the end of the table. I haven't been able to create a table with 3 rows. Along the way, I ran into an issue that can be reproduced with the following markup:

{{{#!tr
{{{#!td
Some examples:
 {{{
{{{
#!text/html
<h1>text</h1>
}}}
 }}}
}}}
{{{#!td
The result will be syntax highlighted HTML code:
 {{{
#!text/html
<h1>text</h1>
 }}}

The same is valid for all other [TracSyntaxColoring#SyntaxColoringSupport mime types supported].
}}}
}}}
{{{#!tr
{{{#!td
 {{{
{{{
#!diff
--- Version 55
+++ Version 56
@@ -115,8 +115,9 @@
     name='TracHelloWorld', version='1.0',
     packages=find_packages(exclude=['*.tests*']),
-    entry_points = """
-        [trac.plugins]
-        helloworld = myplugs.helloworld
-    """,
+    entry_points = {
+        'trac.plugins': [
+            'helloworld = myplugs.helloworld',
+        ],
+    },
 )
}}}
 }}}
}}}
{{{#!td
'''`#!diff`''' has a particularly nice renderer:
{{{
#!diff
--- Version 55
+++ Version 56
@@ -115,8 +115,9 @@
     name='TracHelloWorld', version='1.0',
     packages=find_packages(exclude=['*.tests*']),
-    entry_points = """
-        [trac.plugins]
-        helloworld = myplugs.helloworld
-    """,
+    entry_points = {
+        'trac.plugins': [
+            'helloworld = myplugs.helloworld',
+        ],
+    },
 )
}}}
}}}
}}}

Pressing Preview Page while in side-by-side edit mode results in the edit window being positioned in the preview area, inside one of the table cells.

Attachments (1)

MispositionedEditor.png (79.5 KB ) - added by Ryan J Ollos 10 years ago.

Download all attachments as: .zip

Change History (7)

by Ryan J Ollos, 10 years ago

Attachment: MispositionedEditor.png added

comment:1 by Ryan J Ollos, 10 years ago

Description: modified (diff)

comment:2 by Christian Boos, 9 years ago

Milestone: next-stable-1.0.x
Severity: normalminor

By the way, I reproduced it and yes, it's puzzling ;-)

comment:3 by Jun Omae, 9 years ago

#!table processor with || cell || has similar issues. See #11305.

comment:4 by Ryan J Ollos, 7 years ago

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

comment:5 by Ryan J Ollos, 4 years ago

Milestone: next-stable-1.2.xnext-stable-1.4.x

comment:6 by Ryan J Ollos, 7 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.