Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#26 Re: User Discussion & Help » I18n for xinha_config.formatblock » 2009-02-27 04:20:18

ray

Of course, the formatblock is fully i18nized. Maybe the translation is missing for your language, see e.g. de.js line 49. If you feel like extending your language localization, please consider sending it to us (attach it to a ticket)

#27 Re: User Discussion & Help » maintain image source » 2009-02-26 05:35:32

ray

Xinha normally strips out the server part from absolute URLs that point to the server Xinha runs on. That happens because the browsers tend to transform relative and semi-absolute URLs to absolute ones, which is usually unwanted.

You can switch that off by setting

xinha_config.stripBaseHref = false;

see http://xinha.raimundmeyer.de/JSdoc/Xinh … ipBaseHref

#28 Re: User Discussion & Help » Can't format text (bold, center, ...) with IE6 (Works with IE7, FF3) » 2009-02-12 09:28:35

ray

Hi loack31, your first problem is solved in the latest revision. The second problem I don't quite understand, please could you describe a little more?

#29 Re: User Discussion & Help » Show table boarders on startup » 2009-02-05 05:27:46

ray

No, at the moment there's no such option. I have added a feature request ticket for this http://trac.xinha.org/ticket/1385

#30 Re: User Discussion & Help » Xinha's loading speed » 2009-02-02 11:05:21

ray

All released versions are packed using dojo shrinksafe, from the next release on we will be using the YUI packer, which saves some additional KBs. Possibly even more could be saved using Dean Edward's packer, but we have not tried this yet (but maybe I will)

#31 Re: User Discussion & Help » Allow script tags in Xinha WYSIWYG-Textarea » 2009-01-29 17:37:31

ray

you can use the PreserveScripts plugin to preserve PHP code

#32 Re: User Discussion & Help » Problems with ImageManager and absolute URL » 2009-01-29 10:18:55

ray

This is from the uncompressed source code. You can find all config options on http://xinha.raimundmeyer.de/JSdoc/Xinha/

#33 Re: User Discussion & Help » Xinha on all Textareas » 2009-01-27 05:52:03

ray
xinha_editors = xinha_editors ? xinha_editors : document.getElementsByTagName('textarea');

#34 Re: User Discussion & Help » Where is the PasteText plugin ? » 2009-01-27 05:46:49

ray

All  plugins are in the distribution package and can be activated as described  in the NewbieGuide

#37 Re: User Discussion & Help » Saving Troubles » 2009-01-12 05:35:45

ray

Please give some more informaion or a url

#38 Re: User Discussion & Help » Get content with javascript » 2009-01-07 07:58:49

ray
add wrote:

i have a rather old version of xinha

That will be the problem, as Xinha.getEditor() is a rather new function. You can instad use

var editor = xinha_editors["content"];
var html = editor.getEditorContent();
//if editor.getEditorContent() doesn't exist either, this will do
var html = editor.outwardHtml(editor.getHTML());

#39 Re: User Discussion & Help » Getting what's before the caret » 2008-12-10 09:16:35

ray

Thanks you are taking care of the plugin, as I don't have the time
Unfortunately what you want to do is not so super easy. You have to create a range and move it, which, especially in IE, is a pain  in the ass sad
Try having a look at the plugin SmartReplace, it also looks at what's before the caret

Good luck smile

#40 Re: User Discussion & Help » ExtendedFileManager ignores configuration » 2008-11-21 05:57:15

ray

Hard to say. Is $pfade['Xinh'] correct? Any Javascript or PHP errors?

#43 Re: User Discussion & Help » Server requirements for running Xinha - just PHP (version?) or ...? » 2008-11-21 05:42:40

ray

Xinha is pure client-side JavaScript. However, some plugins (Linker, ExtendedFileManager, SuperClean e.g.) need PHP, but should work with all versions out there. For ExtendedFileManager you also need some image processing library like GD or ImageMagick

#44 Re: User Discussion & Help » Possible bug? » 2008-11-19 12:34:35

ray

This is a obviously bug, thanks for spotting it. Instead of the broken characters the hyphen should be replaced by a dash. This seems to be a malicious effect of compressing the code for the release.

I have created a ticket on this topic http://trac.xinha.org/ticket/1329

#45 Re: User Discussion & Help » Possible bug? » 2008-11-19 11:06:03

ray

this seems to be a bug related to the plugin SmartReplace, but I can say little about it without some more information, especially which browser you are using

#46 Re: User Discussion & Help » problem with deployed xinha in Rails app. » 2008-11-18 05:25:44

ray

In the second example, the xinha_editors (and xinha_plugins) array is empty, so its clear that the textarea is not converted. Why this happens is not possible to say from here, as it seems to be your server app that's acting wrongly

#47 Re: User Discussion & Help » FF3: Can't get posted data with javaScript:document.Form1.submit() » 2008-11-17 12:42:42

ray

Sorry, I tried hard, but I could not reproduce your problem. However I would advise you to massively clean up your code.

#48 Re: User Discussion & Help » Local initialization » 2008-11-12 19:35:33

ray

Sorry, I don't quite understand what you mean. Xinha is always applied to one ore more specific textarea(s) (specified in xinha_editors)

#49 Re: User Discussion & Help » Image not working » 2008-11-12 19:34:01

ray

All is said in the error. This would have to be fixed on your server.

Board footer

Powered by FluxBB