Hi Vincent,
On Tue, Sep 15, 2009 at 12:08 PM, Vincent Gerris <v.j.gerris(a)hhs.nl> wrote:
Hi Marius,
On Tue, 2009-09-15 at 12:03 +0300, Marius Dumitru Florea wrote:
Vincent Gerris wrote:
> Hi Marius,
>
>
>
> On Tue, 2009-09-15 at 11:15 +0300, Marius Dumitru Florea wrote:
>> Hi Vincent,
>>
>> Vincent Gerris wrote:
>>> Dear all,
>>>
>>> I have been struggling with lining out a table onder a numbering.
>>> For example, I have numbers 1-5 (in the referred to as 1.).
>>> When I create a table in the WYSIWYG editor, under lets say 2, at
first
>>> sometimes this goes right, and the
table is indented in the same way
>>> that text is (the expected behaviour).
>>>
>>> Sometimes when I change something on the page the table is suddenly
no
>>> longer indented, resulting in the
next number (3) changing to 1.
>> Your description is vague. Can you tell me the exact steps to
reproduce
>> the issue? What did you change on the
page before the numbered list
was
>> broken? Also, what browser did you use?
>>
>
> I use Firefox on Linux.
> Steps to reproduce:
>
> 1. Edit a page in WYSIWYG mode
> 2. Create a number list of 3 items by pressing the symbol (1,2,3).
> So I get 1. , input some text, then 2. appears, I input some text and
> press enter again.
> 3. I go back with the cursor to after 1. and the entered text and press
> SHIFT + ENTER, so the cursor moves to under the 1. , a bit indented.
> 4. Then I insert a table (2 by 2 for the test), which shows up at the
> place the cursor was.
> 5. I repeat this step for 2. , so that I have two tables, a bit
indented
> under 1. and 2. .
> 6. Then I press the Show button (to view the page) and then already the
> tables lose there indention and the numbering changes: 2. and 3.
changes
to 1.
I followed this steps on XE 2.0 RC1 and I couldn't reproduce the issue.
For two list items each with a 2x2 table I get this wiki syntax:
----------8<----------
1. abc(((|=1|=2
|3|4)))
1. xyz(((|=5|=6
|7|8)))
---------->8----------
Can you tell me what wiki syntax do you get? To do this, create the list
and the tables in WYSIWYG mode and then switch to Wiki mode.
This is my non-working wiki-syntax (it had no numbers filled in in the
fields), I added ---- to mark the code part:
------------------
test tabel:
1. dsfsdf
(((|= |=
| |
\\)))
1. sdfsdf
(((|= |=
| )))
1. sdfsdf
-------------------
It seems the WYSIWYG changes some characters, an added \\ and a missing
| ?
When I continue in the WYSIWYG with your code, and do the same as
described in the test case, I cannot reproduce the error.
Code still seems OK:
-------------------
8<
1. abc(((|=1|=2
|3|4)))
1. xyz(((|=5|=6
|7|8)))
1. test third number
1. (((|= 9|=10
| 11| 12)))
1. (((|= |=
|)))
1. test sixth number
1. dfgdfg(((|= |=
| )))
1. dfgf(((|= |=
| )))
1.
----
8
-------------------
When I added another two test tables after that, I got:
content: Exception while parsing HTML.
(I have had that before when inserting tables by copy/paste from a Word
-table.).
Do you use the "paste from Word" button or do you copy & paste directly in
the textarea? Using the "paste from word" button would be better I think.
Guillaume