Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-14 Thread Vincent Massol
Hi Andreas,

On Apr 14, 2009, at 1:04 AM, Andreas Schaefer wrote:

 Thanks. Finally I saw it (stupid me) but now the info/warning/error
 macros are failing on my. I use XWiki Enterprise 1.8.17790 and it just
 ignores the macro using:

 #warning(This is my warning to you)

The velocity macros that were working for XWiki Syntax 1.0 still work  
for XWiki syntax 2.0 (provided you use them inside the {{velocity}}  
macro). However most of them output HTML and in XWiki Syntax 2.0 you  
need to surround any HTML block by the {{html}} macro so basically  
you'll need to write:

{{html}}{{velocity}}#warning(This is my warning to you){{/velocity}} 
{{/html}}

Note that we're working on automatically adding the html macro  
wrapping for XE 1.8.2 so you only need to do that temporarily.

Thanks
-Vincent

 Is there a way to fix that because I used that a lot so far.

 On another note I could not find the Wiki Syntax help on my
 installation. The link on Wiki Editor 'Help on XWiki Syntax' is
 displaying the old 1.0 syntax. How to I change that to 2.0. I tried to
 find a panel that would contain and I found one but could not figure
 out how to change it.

 Thanks

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 13, 2009, at 12:02 PM, Vincent Massol wrote:

 Hi Andreas,

 On Apr 13, 2009, at 7:40 PM, Andreas Schaefer wrote:


 So, how would I upgrade a page to version 2.0 or do I need to  
 rewrite
 the entire page?

 Just change the page's syntax to XWiki Syntax 2.0. You'll get a  
 dialog
 box asking you whether to convert to 2.0 syntax.

 -Vincent

 Sorry to ask but I could not find the answer.

 Thanks

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 12, 2009, at 6:09 AM, Marius Dumitru Florea (via Nabble)
 wrote:

 Hi,

 I can see you're using the XWiki 1.0 syntax and thus the old  
 WYSIWYG
 editor which is no longer maintained. What you describe could be a
 bug
 in the old editor. I tried your example in the new editor using the
 {{code}} macro and it works fine. Maybe you can switch to XWiki 2.0
 syntax and try the new WYSIWYG editor.

 Thanks,
 Marius

 Andreas Schaefer wrote:

 Hi

 I normally edit my pages in the Wiki editor but to add links or
 images I use the WYSIWYG editor. Now having a code box like this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 will turn into this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 Any ideas why and how to workaround this problem.

 Cheers

 Andreas Schaefer
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-14 Thread Andreas Schaefer
Hi Vincent

I am still not able to work this out. I have this Wiki Snippet on a  
page:

{{html}}{{velocity}}#info(The IBOutlet classifier can be moved to the  
property definition if you like){{/velocity}}{{/html}}

and it generates this HTML code:

!--stopmacro--!--startmacro:html|-||-|{{velocity}}#info(The  
IBOutlet classifier can be moved to the property definition if you  
like){{/velocity}}--pplt;div class=infomessagegt;The  
IBOutlet classifier can be moved to the property definition if you  
likelt;/divgt;/p/p!--stopmacro--

which leads to entire text inside the paragraph to be printed out  
(including the div).

I upgraded to 1.8.1 yesterday by just replacing the WAR file.

Andreas Schaefer
CEO of Madplanet.com Inc.
andreas.schae...@madplanet.com
schaef...@me.com

On Apr 14, 2009, at 12:19 AM, Vincent Massol wrote:

 The velocity macros that were working for XWiki Syntax 1.0 still work
 for XWiki syntax 2.0 (provided you use them inside the {{velocity}}
 macro). However most of them output HTML and in XWiki Syntax 2.0 you
 need to surround any HTML block by the {{html}} macro so basically
 you'll need to write:

 {{html}}{{velocity}}#warning(This is my warning to you){{/velocity}}
 {{/html}}

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


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-14 Thread Thomas Mortagne
On Tue, Apr 14, 2009 at 17:47, Andreas Schaefer schaef...@me.com wrote:
 Hi Vincent

 I am still not able to work this out. I have this Wiki Snippet on a
 page:

 {{html}}{{velocity}}#info(The IBOutlet classifier can be moved to the
 property definition if you like){{/velocity}}{{/html}}

Actually you should use
{{velocity}}{{html}}#info(The IBOutlet classifier can be moved to the
property definition if you like){{/html}}{{/velocity}}
to execute velocity code before html.

By defaut {{html}} only expect html content so it will not execute
wiki content likes macros?


 and it generates this HTML code:

 !--stopmacro--!--startmacro:html|-||-|{{velocity}}#info(The
 IBOutlet classifier can be moved to the property definition if you
 like){{/velocity}}--pplt;div class=infomessagegt;The
 IBOutlet classifier can be moved to the property definition if you
 likelt;/divgt;/p/p!--stopmacro--

 which leads to entire text inside the paragraph to be printed out
 (including the div).

 I upgraded to 1.8.1 yesterday by just replacing the WAR file.

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 14, 2009, at 12:19 AM, Vincent Massol wrote:

 The velocity macros that were working for XWiki Syntax 1.0 still work
 for XWiki syntax 2.0 (provided you use them inside the {{velocity}}
 macro). However most of them output HTML and in XWiki Syntax 2.0 you
 need to surround any HTML block by the {{html}} macro so basically
 you'll need to write:

 {{html}}{{velocity}}#warning(This is my warning to you){{/velocity}}
 {{/html}}

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




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-14 Thread Andreas Schaefer
Switching the velocity and html tag seems to do the trick:

{{velocity}}{{html}}#info(The IBOutlet classifier can be moved to the  
property definition if you like){{/html}}{{/velocity}}

BTW I would love to add a comment or edit the Macro description on 
http://code.xwiki.org/xwiki/bin/view/Macros/InfoMacro#Comments 
  but I cannot figure out how to register.

Cheers

Andreas Schaefer
CEO of Madplanet.com Inc.
andreas.schae...@madplanet.com
schaef...@me.com

On Apr 14, 2009, at 8:47 AM, Andreas Schaefer wrote:

 Hi Vincent

 I am still not able to work this out. I have this Wiki Snippet on a  
 page:

 {{html}}{{velocity}}#info(The IBOutlet classifier can be moved to  
 the property definition if you like){{/velocity}}{{/html}}

 and it generates this HTML code:

 !--stopmacro--!--startmacro:html|-||-|{{velocity}}#info(The  
 IBOutlet classifier can be moved to the property definition if you  
 like){{/velocity}}--pplt;div class=infomessagegt;The  
 IBOutlet classifier can be moved to the property definition if you  
 likelt;/divgt;/p/p!--stopmacro--

 which leads to entire text inside the paragraph to be printed out  
 (including the div).

 I upgraded to 1.8.1 yesterday by just replacing the WAR file.

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 14, 2009, at 12:19 AM, Vincent Massol wrote:

 The velocity macros that were working for XWiki Syntax 1.0 still work
 for XWiki syntax 2.0 (provided you use them inside the {{velocity}}
 macro). However most of them output HTML and in XWiki Syntax 2.0 you
 need to surround any HTML block by the {{html}} macro so basically
 you'll need to write:

 {{html}}{{velocity}}#warning(This is my warning to you){{/ 
 velocity}}
 {{/html}}


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


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-14 Thread Guillaume Lerouge
Hi,

On Tue, Apr 14, 2009 at 6:01 PM, Andreas Schaefer schaef...@me.com wrote:

 Switching the velocity and html tag seems to do the trick:

 {{velocity}}{{html}}#info(The IBOutlet classifier can be moved to the
 property definition if you like){{/html}}{{/velocity}}

 BTW I would love to add a comment or edit the Macro description on
 http://code.xwiki.org/xwiki/bin/view/Macros/InfoMacro#Comments
  but I cannot figure out how to register.

You can register an account on XWiki.org here :
http://www.xwiki.org/xwiki/bin/register/XWiki/Register
It will work on all the XWiki.org sites.
Guillaume




 Cheers

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 14, 2009, at 8:47 AM, Andreas Schaefer wrote:

  Hi Vincent
 
  I am still not able to work this out. I have this Wiki Snippet on a
  page:
 
  {{html}}{{velocity}}#info(The IBOutlet classifier can be moved to
  the property definition if you like){{/velocity}}{{/html}}
 
  and it generates this HTML code:
 
  !--stopmacro--!--startmacro:html|-||-|{{velocity}}#info(The
  IBOutlet classifier can be moved to the property definition if you
  like){{/velocity}}--pplt;div class=infomessagegt;The
  IBOutlet classifier can be moved to the property definition if you
  likelt;/divgt;/p/p!--stopmacro--
 
  which leads to entire text inside the paragraph to be printed out
  (including the div).
 
  I upgraded to 1.8.1 yesterday by just replacing the WAR file.
 
  Andreas Schaefer
  CEO of Madplanet.com Inc.
  andreas.schae...@madplanet.com
  schaef...@me.com
 
  On Apr 14, 2009, at 12:19 AM, Vincent Massol wrote:
 
  The velocity macros that were working for XWiki Syntax 1.0 still work
  for XWiki syntax 2.0 (provided you use them inside the {{velocity}}
  macro). However most of them output HTML and in XWiki Syntax 2.0 you
  need to surround any HTML block by the {{html}} macro so basically
  you'll need to write:
 
  {{html}}{{velocity}}#warning(This is my warning to you){{/
  velocity}}
  {{/html}}
 

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




-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-14 Thread Vincent Massol

On Apr 14, 2009, at 5:55 PM, Thomas Mortagne wrote:

 On Tue, Apr 14, 2009 at 17:47, Andreas Schaefer schaef...@me.com  
 wrote:
 Hi Vincent

 I am still not able to work this out. I have this Wiki Snippet on a
 page:

 {{html}}{{velocity}}#info(The IBOutlet classifier can be moved to  
 the
 property definition if you like){{/velocity}}{{/html}}

 Actually you should use
 {{velocity}}{{html}}#info(The IBOutlet classifier can be moved to the
 property definition if you like){{/html}}{{/velocity}}
 to execute velocity code before html.

Right my mistake... I guess users will make this mistake quite often  
too ;)

The outer macro is always executed first.

Thanks
-Vincent

 By defaut {{html}} only expect html content so it will not execute
 wiki content likes macros?


 and it generates this HTML code:

 !--stopmacro--!--startmacro:html|-||-|{{velocity}}#info(The
 IBOutlet classifier can be moved to the property definition if you
 like){{/velocity}}--pplt;div class=infomessagegt;The
 IBOutlet classifier can be moved to the property definition if you
 likelt;/divgt;/p/p!--stopmacro--

 which leads to entire text inside the paragraph to be printed out
 (including the div).

 I upgraded to 1.8.1 yesterday by just replacing the WAR file.

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 14, 2009, at 12:19 AM, Vincent Massol wrote:

 The velocity macros that were working for XWiki Syntax 1.0 still  
 work
 for XWiki syntax 2.0 (provided you use them inside the {{velocity}}
 macro). However most of them output HTML and in XWiki Syntax 2.0 you
 need to surround any HTML block by the {{html}} macro so basically
 you'll need to write:

 {{html}}{{velocity}}#warning(This is my warning to you){{/ 
 velocity}}
 {{/html}}

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


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-13 Thread Vincent Massol

On Apr 13, 2009, at 7:10 AM, Andreas Schaefer wrote:


 Well, the XWiki 1.0 syntax came up by default so I ran with that so
 far. Unfortunately I was not able to find the Wiki Syntax Help site
 for 2.0 and I did not want to go without.

 Any ideas where I can find that?

The syntax help is also now bundled in the internal help panel when  
you edit a page in XE 1.8.1.

Thanks
-Vincent

 Thanks

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 12, 2009, at 6:09 AM, Marius Dumitru Florea (via Nabble) wrote:

 Hi,

 I can see you're using the XWiki 1.0 syntax and thus the old WYSIWYG
 editor which is no longer maintained. What you describe could be a  
 bug
 in the old editor. I tried your example in the new editor using the
 {{code}} macro and it works fine. Maybe you can switch to XWiki 2.0
 syntax and try the new WYSIWYG editor.

 Thanks,
 Marius

 Andreas Schaefer wrote:

 Hi

 I normally edit my pages in the Wiki editor but to add links or
 images I use the WYSIWYG editor. Now having a code box like this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 will turn into this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 Any ideas why and how to workaround this problem.

 Cheers

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@...
 schaef...@...

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


 This email is a reply to your post @ 
 http://n2.nabble.com/Code-Box-Content-Changes-in-WYSIWYG-Editor-tp2622964p2624091.html
 You can reply by email or by visting the link above.



 -- 
 View this message in context: 
 http://n2.nabble.com/Code-Box-Content-Changes-in-WYSIWYG-Editor-tp2622964p2626538.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

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


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-13 Thread Andreas Schaefer

So, how would I upgrade a page to version 2.0 or do I need to rewrite  
the entire page?

Sorry to ask but I could not find the answer.

Thanks

Andreas Schaefer
CEO of Madplanet.com Inc.
andreas.schae...@madplanet.com
schaef...@me.com

On Apr 12, 2009, at 6:09 AM, Marius Dumitru Florea (via Nabble) wrote:

 Hi,

 I can see you're using the XWiki 1.0 syntax and thus the old WYSIWYG
 editor which is no longer maintained. What you describe could be a bug
 in the old editor. I tried your example in the new editor using the
 {{code}} macro and it works fine. Maybe you can switch to XWiki 2.0
 syntax and try the new WYSIWYG editor.

 Thanks,
 Marius

 Andreas Schaefer wrote:

  Hi
 
  I normally edit my pages in the Wiki editor but to add links or  
 images I use the WYSIWYG editor. Now having a code box like this:
 
  {code}
  - (BOOL) textFieldShouldReturn: (UITextField *) textField {
  [self greetMe:nil];
  return YES;
  }
 
  {code}
 
  will turn into this:
 
  {code}
  - (BOOL) textFieldShouldReturn: (UITextField *) textField {
  [self greetMe:nil];
  return YES;
  }
 
  {code}
 
  Any ideas why and how to workaround this problem.
 
  Cheers
 
  Andreas Schaefer
  CEO of Madplanet.com Inc.
  andreas.schae...@...
  schaef...@...
 
 ___
 users mailing list
 us...@...
 http://lists.xwiki.org/mailman/listinfo/users


 This email is a reply to your post @ 
 http://n2.nabble.com/Code-Box-Content-Changes-in-WYSIWYG-Editor-tp2622964p2624091.html
 You can reply by email or by visting the link above.



-- 
View this message in context: 
http://n2.nabble.com/Code-Box-Content-Changes-in-WYSIWYG-Editor-tp2622964p2628932.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


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-13 Thread Vincent Massol
Hi Andreas,

On Apr 13, 2009, at 7:40 PM, Andreas Schaefer wrote:


 So, how would I upgrade a page to version 2.0 or do I need to rewrite
 the entire page?

Just change the page's syntax to XWiki Syntax 2.0. You'll get a dialog  
box asking you whether to convert to 2.0 syntax.

-Vincent

 Sorry to ask but I could not find the answer.

 Thanks

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 12, 2009, at 6:09 AM, Marius Dumitru Florea (via Nabble) wrote:

 Hi,

 I can see you're using the XWiki 1.0 syntax and thus the old WYSIWYG
 editor which is no longer maintained. What you describe could be a  
 bug
 in the old editor. I tried your example in the new editor using the
 {{code}} macro and it works fine. Maybe you can switch to XWiki 2.0
 syntax and try the new WYSIWYG editor.

 Thanks,
 Marius

 Andreas Schaefer wrote:

 Hi

 I normally edit my pages in the Wiki editor but to add links or
 images I use the WYSIWYG editor. Now having a code box like this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 will turn into this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 Any ideas why and how to workaround this problem.

 Cheers

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@...
 schaef...@...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-13 Thread Andreas Schaefer
Thanks. Finally I saw it (stupid me) but now the info/warning/error  
macros are failing on my. I use XWiki Enterprise 1.8.17790 and it just  
ignores the macro using:

#warning(This is my warning to you)

Is there a way to fix that because I used that a lot so far.

On another note I could not find the Wiki Syntax help on my  
installation. The link on Wiki Editor 'Help on XWiki Syntax' is  
displaying the old 1.0 syntax. How to I change that to 2.0. I tried to  
find a panel that would contain and I found one but could not figure  
out how to change it.

Thanks

Andreas Schaefer
CEO of Madplanet.com Inc.
andreas.schae...@madplanet.com
schaef...@me.com

On Apr 13, 2009, at 12:02 PM, Vincent Massol wrote:

 Hi Andreas,

 On Apr 13, 2009, at 7:40 PM, Andreas Schaefer wrote:


 So, how would I upgrade a page to version 2.0 or do I need to rewrite
 the entire page?

 Just change the page's syntax to XWiki Syntax 2.0. You'll get a dialog
 box asking you whether to convert to 2.0 syntax.

 -Vincent

 Sorry to ask but I could not find the answer.

 Thanks

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com

 On Apr 12, 2009, at 6:09 AM, Marius Dumitru Florea (via Nabble)  
 wrote:

 Hi,

 I can see you're using the XWiki 1.0 syntax and thus the old WYSIWYG
 editor which is no longer maintained. What you describe could be a
 bug
 in the old editor. I tried your example in the new editor using the
 {{code}} macro and it works fine. Maybe you can switch to XWiki 2.0
 syntax and try the new WYSIWYG editor.

 Thanks,
 Marius

 Andreas Schaefer wrote:

 Hi

 I normally edit my pages in the Wiki editor but to add links or
 images I use the WYSIWYG editor. Now having a code box like this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 will turn into this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 Any ideas why and how to workaround this problem.

 Cheers

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@...
 schaef...@...
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

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


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-12 Thread Marius Dumitru Florea
Hi,

I can see you're using the XWiki 1.0 syntax and thus the old WYSIWYG 
editor which is no longer maintained. What you describe could be a bug 
in the old editor. I tried your example in the new editor using the 
{{code}} macro and it works fine. Maybe you can switch to XWiki 2.0 
syntax and try the new WYSIWYG editor.

Thanks,
Marius

Andreas Schaefer wrote:
 Hi
 
 I normally edit my pages in the Wiki editor but to add links or images I use 
 the WYSIWYG editor. Now having a code box like this:
 
 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField { 
   [self greetMe:nil];
   return YES; 
 }
 
 {code}
 
 will turn into this:
 
 {code}
 - (BOOL) textFieldShouldReturn: (UITextField #42;) textField { 
   #91;self greetMe:nil#93;;
   return YES; 
 }
 
 {code}
 
 Any ideas why and how to workaround this problem.
 
 Cheers
 
 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-12 Thread Andreas Schaefer

Well, the XWiki 1.0 syntax came up by default so I ran with that so  
far. Unfortunately I was not able to find the Wiki Syntax Help site  
for 2.0 and I did not want to go without.

Any ideas where I can find that?

Thanks

Andreas Schaefer
CEO of Madplanet.com Inc.
andreas.schae...@madplanet.com
schaef...@me.com

On Apr 12, 2009, at 6:09 AM, Marius Dumitru Florea (via Nabble) wrote:

 Hi,

 I can see you're using the XWiki 1.0 syntax and thus the old WYSIWYG
 editor which is no longer maintained. What you describe could be a bug
 in the old editor. I tried your example in the new editor using the
 {{code}} macro and it works fine. Maybe you can switch to XWiki 2.0
 syntax and try the new WYSIWYG editor.

 Thanks,
 Marius

 Andreas Schaefer wrote:

  Hi
 
  I normally edit my pages in the Wiki editor but to add links or  
 images I use the WYSIWYG editor. Now having a code box like this:
 
  {code}
  - (BOOL) textFieldShouldReturn: (UITextField *) textField {
  [self greetMe:nil];
  return YES;
  }
 
  {code}
 
  will turn into this:
 
  {code}
  - (BOOL) textFieldShouldReturn: (UITextField *) textField {
  [self greetMe:nil];
  return YES;
  }
 
  {code}
 
  Any ideas why and how to workaround this problem.
 
  Cheers
 
  Andreas Schaefer
  CEO of Madplanet.com Inc.
  andreas.schae...@...
  schaef...@...
 
 ___
 users mailing list
 us...@...
 http://lists.xwiki.org/mailman/listinfo/users


 This email is a reply to your post @ 
 http://n2.nabble.com/Code-Box-Content-Changes-in-WYSIWYG-Editor-tp2622964p2624091.html
 You can reply by email or by visting the link above.



-- 
View this message in context: 
http://n2.nabble.com/Code-Box-Content-Changes-in-WYSIWYG-Editor-tp2622964p2626538.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


Re: [xwiki-users] Code Box Content Changes in WYSIWYG Editor

2009-04-12 Thread Marius Dumitru Florea
I found these:

http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
http://code.xwiki.org/xwiki/bin/view/Macros/

Hope this helps,
Marius

Andreas Schaefer wrote:
 Well, the XWiki 1.0 syntax came up by default so I ran with that so  
 far. Unfortunately I was not able to find the Wiki Syntax Help site  
 for 2.0 and I did not want to go without.
 
 Any ideas where I can find that?
 
 Thanks
 
 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@madplanet.com
 schaef...@me.com
 
 On Apr 12, 2009, at 6:09 AM, Marius Dumitru Florea (via Nabble) wrote:
 
 Hi,

 I can see you're using the XWiki 1.0 syntax and thus the old WYSIWYG
 editor which is no longer maintained. What you describe could be a bug
 in the old editor. I tried your example in the new editor using the
 {{code}} macro and it works fine. Maybe you can switch to XWiki 2.0
 syntax and try the new WYSIWYG editor.

 Thanks,
 Marius

 Andreas Schaefer wrote:

 Hi

 I normally edit my pages in the Wiki editor but to add links or  
 images I use the WYSIWYG editor. Now having a code box like this:
 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 will turn into this:

 {code}
 - (BOOL) textFieldShouldReturn: (UITextField *) textField {
 [self greetMe:nil];
 return YES;
 }

 {code}

 Any ideas why and how to workaround this problem.

 Cheers

 Andreas Schaefer
 CEO of Madplanet.com Inc.
 andreas.schae...@...
 schaef...@...

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


 This email is a reply to your post @ 
 http://n2.nabble.com/Code-Box-Content-Changes-in-WYSIWYG-Editor-tp2622964p2624091.html
 You can reply by email or by visting the link above.

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