wiki:FrequentlyAskedQuestions

Version 39 (modified by nicholasbs, 11 years ago) (diff)

general cleanup

Frequently Asked Questions

Version française.

Firstly, this page is always being improved, so if you don't understand something, or you think something is missing, then please post a message in the forum in the Discussion Forum.

Basic

Can I load/edit/save online documents with Xinha?

  • Q: How do I set the content of the editor?
    • A: To set the initial editor content, simply put the entized? HTML into the initial textarea
    • A: To set the content dynamically by Javascript, use the editor.setEditorContent(html) method
  • Q: How do I get the edited HTML with?
    • A: Use the editor.getEditorContent() method

On the project

  • Q: How can I help the project?
    • A: Use the editor with eyes open and tell us how to improve it. Feature requests and bug reports should be submitted as tickets.
    • A: Check the timeline and participate in ticket discussions. To see the most recent comments posted to all tickets, click here.
    • A: Help users by sharing your experience and answering questions in the forum and/or expanding the wiki. You can also join the Xinha mailing list.
    • A: Localize Xinha to your language (see below)
  • Q: Have you had a chance to put up a donation page?
    • A: Currently only one developer showed no scruples and has put up a personal PayPal button Developers

Installation

  • Q: Do I need a webserver or can I use the script through file:// ?
    • A: You need a webserver, else some plugins and languages other than English won't work...
  • Q: How can I change the default editor CSS? See (default CSS)

Editor usage

Configuration

Troubles

  • Q: Xinha doesn't load though I have set it up according to the NewbieGuide?
    • A: make sure _editor_url is set correctly and all files could be loaded
    • A: Check for any JavaScript errors
  • Q: I have done everything explained in newbie document but the texts are always in English, how can I use my language file ?
    • A: Make sure your language file is up to date.
    • A: The translation system (i18n) will only work if you have a webserver.
  • Q: My text appears strangely in my textarea ?
  • Q: Why get the changes only submitted when switching into HTML mode?
    • A: If you submit the form using JavaScript (form.submit())you must not have a button with id="submit" in the same form

Developers

Internationalization

  • Q: How can I add my language to the Xinha translations?
    • A: There is a PHP script that extracts all strings to be translated from the source files (contrib/lc_parse_strings.php), or you can simply grab one of the existing languages (de.js would be a good choice) and go ahead... Once you're ready, please simply attach the files to a ticket and we will add them to the distribution.

About the plugins