Hi BJ,

We know the current WYSIWYG editor is somewhat buggy. However, given the way it is implemented trying to hunt and fix all its bugs would take a really, really long time. Therefore the XWiki Dev Team has started working on a brand new editor that will be much more robust, flexible and efficient - but not available before a few months (we hope a beta release will be available by September / October).

You can find out more about it here : http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorBasedOnGwt

In the meanwhile (probably for XE 1.4) the dev team may even restrict the number of features available in the WYSIWYG (such as text & background color) in order to stop creating situations where the WYSIWYG editor breaks itself through its own formatting (which, I'm sure you'll agree, makes little sense).

Thanks for your feedback & patience, 

Guillaume

On 14/03/2008, bjquinn <bjquinn@seidal.com> wrote:

I submitted the following as a bug about two weeks ago, but perhaps that
wasn't the right way to ask for help about this problem, so I'm trying the
list --

I tried both 1.3 M2 and 1.2.2, and I had the following problem (both using
the standalone zip version on Windows) :

If you create a table on a page using WYSIWYG, it all works great. If you
highlight a the first table cell of a row or a whole row and use the palette
button to change the color of those cells, it works. If you save the page,
it looks good. If you edit it again with the WYSIWYG, however, it doesn't
render it right, and the cell/row that you changed color of gets appended to
the line above it in the WYSIWYG editor. Using the WIKI editor (as long as
you don't save the broken page back down from the WYSIWYG editor),
everything still works good. So it's how the editor is choosing to render
out the page that seems to be causing the problem.

Bolding a cell/row doesn't seem to cause this problem, only changing the
text color.

Below is an example of some code that won't show up correctly in the WYSIWYG
editor (even though it was the WYSIWYG editor that created it)
{table}
table info |test table
test test test |test test test
asdklfj|lkajsdlj
{style:type=span|color=#990000}test{style}|{style:type=span|color=#990000}test{style}{table}

The last row shows up tacked on to the end of the 2nd to last row, instead
of appearing as its own row. This is only the case in the WYSIWYG editor.
This code displays fine when just viewing the page.

Is this actually a bug or am I doing something screwy?

Thanks!

-BJ Quinn

--
View this message in context: http://www.nabble.com/WYSIWYG-editor-won%27t-read-tables-with-colored-text-correctly-tp16048621p16048621.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



--
http://wikibc.blogspot.com/