However here is a bug for Marius:

* Type some letters ("zezeze" in my example) and then press Return
* It generates the following XHTML:

<?xml version="1.0" encoding="UTF-8"?>
<html><head /><body>zezeze<br /><br /></body></html>

which in turn generates the following rendering events:

beginDocument
beginParagraph
onWord: [zezeze]
onLineBreak
onLineBreak
endParagraph
endDocument

* It should put the zezeze text inside a paragraph (<p>) and not  
output any <br>s:

<?xml version="1.0" encoding="UTF-8"?>
<html><head /><body><p>zezeze</p></body></html>

* If you start typing some text again it should also be in a paragraph  
block:

<?xml version="1.0" encoding="UTF-8"?>
<html><head /><body><p>zezeze</p><p>other text</p></body></html>

Thanks
-Vincent

On Aug 31, 2008, at 12:54 PM, Vincent Massol wrote:

> Hi Wang,
>
> On Aug 31, 2008, at 12:38 PM, Wang Ning wrote:
>
>> Hi,
>>
>> I tried to use the new WYSIWYG editor in 1.6M1. I found some issues.
>> 1) The new wysiwyg don't handle multi-level list correct. When I edit
>> a multi-level list in wysiwyg and save. The multi-level became  
>> flat.Is
>> this related to the xhtmlparser?
>
> Yes, this is known.
> See the release notes at 
> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise16M1
> See also http://code.google.com/p/wikimodel/issues/detail?id=22
>
>> 2) I type some letters and set them to strike format( the same for
>> bold, underline and italic). Then I want to type some new works who  
>> is
>> format is not strike. I just can't do this. All the words I typed
>> after is strike.
>
> I don't think this is a bug since it's exactly the same behavior you  
> get in office and other word processors. If you want to remove the  
> style just position your cursor at the end of the part you've put in  
> bold/italics/etc and click on the bold/italics/etc button to remove.  
> The continue typing.
>
> Thanks
> -Vincent
>

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to