[xwiki-users] Xwiki Syntax 2.0 by default in 1.8?
Hi all, I just installed the 1.8 stable new version in hope to solve editors problem. It said the new Wysiwyg editor is by default in this version, and i note in near pasts topic that objective was to have XWiki Syntax 2.0 by default for new documents starting in XWiki Enterprise 1.8 final too.. But i can see in right panel Wiki 1.0 syntax set as defaut when i create a page. Is it normal or can I somewhere set 2.0 by default? Regards, Remi. -- View this message in context: http://n2.nabble.com/Xwiki-Syntax-2.0-by-default-in-1.8--tp2574648p2574648.h... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Remi, Remi wrote:
Hi all,
I just installed the 1.8 stable new version in hope to solve editors problem.
It said the new Wysiwyg editor is by default in this version, and i note in near pasts topic that objective was to have XWiki Syntax 2.0 by default for new documents starting in XWiki Enterprise 1.8 final too..
But i can see in right panel Wiki 1.0 syntax set as defaut when i create a page. Is it normal or can I somewhere set 2.0 by default?
Yes, this is normal, but you can change the default syntax for newly created pages. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguri... Hope this helps, Marius
Regards, Remi.
2009/4/2 Marius Dumitru Florea <[email protected]>
Yes, this is normal, but you can change the default syntax for newly created pages. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguri...
I have another problem with syntaxes: my 'Page Syntax' pulldown on editing page is fixed to xwiki syntax 1.0 and I cannot change it. In xwiki.cfg I have xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0 core.defaultDocumentSyntax = xwiki/2.0 In page source I can see <select name="syntaxId" id="xwikidocsyntaxinput2" disabled="disabled"> <option value="xwiki/1.0" selected="selected">XWiki 1.0</option> <option value="xwiki/2.0">XWiki 2.0</option> </select> Is there another place for configuring syntax? I suppose it could change after importing default 1.8 .xar. R. -- "First they ignore you. Then they laugh at you. Then they fight you. Then you win." - Mohandas Gandhi.
Hi, On Fri, Apr 3, 2009 at 12:17 AM, Ryszard Łach <[email protected]> wrote:
2009/4/2 Marius Dumitru Florea <[email protected]>
Yes, this is normal, but you can change the default syntax for newly created pages. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguri...
I have another problem with syntaxes: my 'Page Syntax' pulldown on editing page is fixed to xwiki syntax 1.0 and I cannot change it. In xwiki.cfg I have
Right now you can only switch syntax in wiki mode, not in WYSIWYG mode. An issue is opened on this and it should be fixed soon. Guillaume xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0
core.defaultDocumentSyntax = xwiki/2.0
In page source I can see
<select name="syntaxId" id="xwikidocsyntaxinput2" disabled="disabled"> <option value="xwiki/1.0" selected="selected">XWiki 1.0</option> <option value="xwiki/2.0">XWiki 2.0</option> </select>
Is there another place for configuring syntax? I suppose it could change after importing default 1.8 .xar.
R.
-- "First they ignore you. Then they laugh at you. Then they fight you. Then you win." - Mohandas Gandhi. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/
Ryszard Łach wrote:
2009/4/2 Marius Dumitru Florea <[email protected]>
Yes, this is normal, but you can change the default syntax for newly created pages. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguri...
I have another problem with syntaxes: my 'Page Syntax' pulldown on editing page is fixed to xwiki syntax 1.0 and I cannot change it. In xwiki.cfg I have
xwiki.rendering.syntaxes = xwiki/1.0, xwiki/2.0 core.defaultDocumentSyntax = xwiki/2.0
I just did the same mistake as you. I read too fast the documentation and added core.defaultDocumentSyntax to xwiki.cfg. Read again. You have to add it to xwiki.properties file (used by the new configuration system). Hope this helps, Marius
In page source I can see
<select name="syntaxId" id="xwikidocsyntaxinput2" disabled="disabled"> <option value="xwiki/1.0" selected="selected">XWiki 1.0</option> <option value="xwiki/2.0">XWiki 2.0</option> </select>
Is there another place for configuring syntax? I suppose it could change after importing default 1.8 .xar.
R.
participants (4)
-
Guillaume Lerouge -
Marius Dumitru Florea -
Remi -
Ryszard Łach