You are not logged in.
Pages: 1
- NewbieGuide obviously
http://xinha.python-hosting.com/wiki/NewbieGuide
- Basic utilisation
http://xinha.python-hosting.com/wiki/Do … BasicUsage
- Config variables list
http://xinha.python-hosting.com/wiki/Do … iablesList
- Manage many editors
http://xinha.python-hosting.com/wiki/Do … pleEditors
- Some initialisations methods
incoming
- Manual start
incoming
- Add plugins
incoming
- Update the iconbar
incoming (waiting further discussion before release)
- How to correctly submit content
incoming (in progress)
- Plugin creation
incoming (waiting further discussion before release)
Plugin updating existing Xinha function
- incoming
- Add icon to iconbar from plugin
incoming (waiting further discussion before release)
- PHP class to control Xinha
incoming
Last edited by mokhet (2005-05-20 22:58:23)
Offline
nice,
one question: why don't you create wiki-pages here at xinha.python-hosting.com ?
Niko
Offline
why don't you create wiki-pages here at xinha.python-hosting.com ?
Would be great :) I have started at home because i have old documents i had write in french for my company to explain how HTMLArea was working. I am not allowed to put thoses documents online because unfortunatly there is also private information inside.
But since i want (and i am sure it has the potential to be) Xinha to run better and be THE best, one of the way is to give back what i dig out of open source community. The quicker way was to make them at home until someone gives me wiki access, who should I send a mail ? :P
I have a few questions about the Config object.
can the property Config.lang be manually updated ? Is it used internally only to keep the _editor_lang between plugins ?
I have no clue if thoses properties can be manipulated, I think they are private only, are they ?
Config.baseHref
Config.stripBaseHref
Config.stripSelfNamedAnchors
Config.specialReplacements
Config.baseURL
Config.charSet
I understand the concept behind htmlRemoveTags, but can someone show me an example ? I tried again and again to find a valid regexp to remove all headers tags (H[1-6]) but never succeed.
Offline
config.lang is invalid, thanks for pointing out this, i removed it.
> Config.baseHref
> Config.baseURL
till now i didn't figure out the difference between these two. probably we could make one out of the two(??)
> Config.stripBaseHref
if true the baseHref will be removed from links. that means you will get relative links, not absolute-links.
> Config.stripSelfNamedAnchors
as the comment in htmlarea.js says:
// and we can strip the url of the editor page from named links (eg <a href="#top">...</a>)
// reason for this is that mozilla at least (and IE ?) prefixes location.href to any
// that don't have a url prefixing them
it usually needs to be true, but you can turn it off too.
> Config.specialReplacements
never used this one. read the comment in htmlara.js
> Config.charSet
can be changed, but in general it shouldn't be changed. this only defines the charset used in the iframe
> htmlRemoveTags
never used. post the regexp you used
Niko
Offline
Hello, sorry for the long time before this post (just got my internet connection back after 2 weeks without it... yeah ... 2 full weeks and they didnt gave any valid answers to explain it, anyway, let's move on i have internet back ... wooohooo :)
I have updated the tut2 to let it be more readable, and grab some infos from the forums to make it more acurate to reality, and as you suggested, i insert some comments from the source to to the tut. I hope you didnt changed too much Xinha since the 2 weeks ago :p Or better, i hope you changed Xinha a lot and stayed acurate with what i write :D Humm, just noticed a skin directory
concerning htmlRemoveTags, here are some litte tests i can remember
var config = new HTMLArea.Config();
config.htmlRemoveTags = /h1/;
config.htmlRemoveTags = /<h1>/;
config.htmlRemoveTags = /<h1>.<\/h1>/;
config.htmlRemoveTags = /<h1>.*<\/h1>/;
but i never succeed to remove any H1 from my text sample. This was with revision 87, i just updated to 177 (lol) and will make some more tests tonight when i'll be back from my weekly meeting (yeah, of course i got a meeting the day i have internet back. grrrr) and probably after reading the forum and all the update from the last 2 weeks.
<h1>nibh euismod tincidunt</h1>
<h2>sed diam nonummy</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit</p>
<h1>n vulputate velit esse molestie</h1>
Last edited by mokhet (2005-05-19 11:44:35)
Offline
Pages: 1