The WYSIWYG editor doesn't have a preview button. The button you are talking about is for the entire edit mode and is the same button you have in wiki edit mode and in inline edit mode, with the same behaviour. As for the code, check the PreviewAction in oldcore and the preview.vm template.
Hope this helps, Marius On Jun 5, 2014 12:14 PM, "walid yaich" <[email protected]> wrote: > > Hello, > > When clicking on preview, I need to add some velocity code before rendring > the page, please where can i find the code of preview button of the editor > "WYSIWYG" ? > > Thanks in advance > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

