Forum OpenACS Q&A: Re: XOWiki Plain Page Editor

Collapse
Posted by Steve Manning on
Thanks Gustaf

Is the fix available as a diff as we have some customisations on this installation and would prefer not to upgrade at the moment?

- Steve

Collapse
Posted by Gustaf Neumann on
Collapse
Posted by Gustaf Neumann on
btw, you have local customisations to XoWiki 0.60.4? Since i made the change in the "stable branch", there is no need to upgrade to the leading edge version.....
Collapse
Posted by Steve Manning on
OK thats great thanks. I'll check it on our staging server first.

BTW the live site is here www.fancydress.com with three xowiki instances running :)

Collapse
Posted by Steve Manning on
One caveat on this change. I had to add

# Default Xinha Instance
set rich_text_spec {richtext(richtext),nospell,optional
{label Content}
{html {style {width: 100%}}}
{javascript {xinha_config.script_dir = 'wiki'}}
{options....}
}}}

set widget_specs [list *,text $rich_text_spec]

to the root object to get the Xinha to work for the non-plain pages.

Collapse
Posted by Gustaf Neumann on
Oops, you are right. This is fixed as well in the oacs-5-3 branch. The richtext editor handling is quite different in the head branch, so it is no simple backport.

anyhow, ... a fancy site with fancy dressings!

-gustaf neumann