Hi Reinier,
If I'm correct, xinha is configured in
editor\src\site\cforms\resources\xinha\htmlarea.js. You can override
this file with your own configuration by creating the file
extensions\project-specific\cforms\resources\xinha\htmlarea.js.
In the project-specific folder you have to add this pipeline to your
sitemap:
<map:match pattern="cforms/**">
<map:read src="cforms/{1}"/>
</map:match>
This way, you can also add plugins. For example by adding
project-specific\cforms\resources\xinha\plugins\InsertLink\insert-links.
js.
Steven
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Reinier
van den Born
Sent: woensdag 8 oktober 2008 17:43
To: Hippo CMS development public mailinglist
Subject: [HippoCMS-dev] Xinha questions
Hi,
I have a couple of questions about Xinha:
Q1:
I would like to add some plugins to Xinha that don't come standard with
the Hippo editor (eg. definition lists).
And fiddle with/replace some that are standard (because they don't place
themselves correctly on the toolbar).
I was hoping to be able to add the plugins somewhere down my extensions
folder and tell Xinha to look there, but haven't found a way to do this.
Any suggestions?
Q2.
Looking through the Xinha docs I don't see any reference to the type of
HTML it generates:
XHTML, HTML 4.01, or some older version.
It looks like it is XHTML. If so, is there a way to tell it to generate
HTML 4.01?
Q3.
I noticed some keyboard shortcuts are defined for Xinha (<ctrl-1> for
H1, etc).
They have apparently nothing to do with the plugin that allows changes
like that from the toolbar.
So is there a way to disable these boys?
(I don't want to allow content editor anything but entering plain text,
lists, emphasis etc.)
Any help is greatly appreciated.
Thanks,
Reinier van den Born
--
Reinier van den Born
HintTech B.V.
Rotterdamseweg 183c, 2629 HD Delft
T: +31(0)15 268 2573
F: +31(0)15 268 2567
M: +31(0)6 494 171 36
--
HintTech levert specialisten op het gebied van softwareontwikkeling
(.NET en Java), projectmanagement, informatiebeveiliging en business
consulting.
KvK Den Haag nr. 27242282 | BTW nr. NL8062.16.396.B01
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html