Announcement

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

#26 Re: User Discussion & Help » load additional scripts using XMLHTTPRequest and eval » 2005-05-13 16:12:14

I think this is a great idea and a much more efficient way.  I personally love httpRequest smile

#27 Re: User Discussion & Help » PHP specific fork of Xinha » 2005-05-13 03:20:56

I am on this page http://www.formvista.com/uploaded_html/ … ample.html

Default and once changing plugins has the same effect.

IE 6 SP1 on XP.

error:

line: 125
char: 2
error: invalid argument
code 0
url: ... fullexample-body.php?num=1


it loads the textarea with the data but doesnt convert it to xinha

#28 Re: User Discussion & Help » Safari 2.0 -- will we be compatible? » 2005-05-13 03:08:57

Here is some information on how they got safari to work somewhat in htmlarea

http://www.dynarch.com/forums/521

#29 Re: User Discussion & Help » EnterParagraphs dangling section conflict with HTMLArea.getHTMLWrapper » 2005-05-13 03:07:05

Doesnt IE and Mozilla handle trailing br tags differently?  I dont have IE on this box but i thought a <p>text</p><br> in IE produced the double space while it did not in FF.

I put in the <p> </p> to get of out selections, but I only put it in where needed.  I think it might make more sense to put in something like <p class="selectend"> </p> so that you can use something like php to remove them on submit.  This is especially important when you have multiple editors that append the data into one submit (so now you can remove all instances without guessing where one submit started and ended).

my 2cents

#30 Re: User Discussion & Help » PHP specific fork of Xinha » 2005-05-13 02:59:29

I tested it today in IE without luck thats why I was asking.  Glad to know you will take a look after you fix the much needed bad enterparagraphs

#33 Re: User Discussion & Help » Safari 2.0 -- will we be compatible? » 2005-05-11 21:17:53

Latest Safari has designMode.  Does that mean it will work for us?

http://weblogs.mozillazine.org/hyatt/ar … tml#007962

HTML Editing
Safari 1.3 supports HTML editing, both at the Objective-C WebKit API level and using contenteditable and designMode in a Web page. The new Mail app in Tiger uses WebKit for message composition. You can write apps that make use of WebKit's editing technology and deploy them on Panther and Tiger.

#34 User Discussion & Help » alert window for safari users? » 2005-05-11 20:50:26

willeffects
Replies: 3

Id like to put in a simple alert javascript that checks if the browser is safari and says

"You are using safari.  This page currently uses a wysiwyg editor that is not supported by Safari.  You will not be able to take advantage of many of the editor's features available to browsers such as Firefox, Netscape, or Internet Explorer.  You will only have access to a normal textbox.  If you wish to, please use one of the browsers mentioned above"

and have them be forced to click "OK" .

Can anyone help?

Thanks,
Will

#35 Re: User Discussion & Help » Multiple Xinha in firefox doesnt load - quick oldie fix » 2005-05-04 01:30:22

Cant we go back to the old method of loading?  Why did it get switched?

#36 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-05-03 13:08:03

well I believe im using the correct paths.  What page can i put an echo on to see it output what paths its building?

#38 Re: User Discussion & Help » Multiple Xinha in firefox doesnt load - quick oldie fix » 2005-05-03 03:22:50

'ContextMenu',
       'FullScreen',
       'SpellChecker',
       'FindReplace',
       'TableOperations'

fails

'FullScreen',
       'SpellChecker',
       'FindReplace',
       'TableOperations'

fails

'TableOperations'

works

'FindReplace',
       'TableOperations'


fails


'FindReplace'


fails

fails

'ContextMenu',
       'FullScreen',
       'SpellChecker',
       'TableOperations'

fails


   'SpellChecker',
       'FindReplace',
       'TableOperations'

fails

#39 Re: User Discussion & Help » Multiple Xinha in firefox doesnt load - quick oldie fix » 2005-05-03 02:56:24

thats not it.  my system doesnt have that plugin and i tried removing some plugins and it worked but not others.  theres some sort of combination happening but it seems to be related to loading plugins at least...

#40 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-05-03 01:26:09

I have aspell working command line but not from xinha.  Here is a test from my command line execution:


aspell -a --lang=en_GB --dict-dir=/usr/lib/aspell/ --mode=none --add-filter=sgml --home-dir=/var/www/site/editortest/may01/plugins/SpellChecker/personal_dicts/dict4276f21b6006d < /tmp/spell_fm97F4  
 @(#) International Ispell Version 3.1.20 (but really Aspell 0.50.5) 
  
 # tefdsafdsafsdafsdast 1 
  
  
 & teh 13 0: the, Te, tech, Th, eh, th, tea, tee, Ted, tel, ten, TeX, Tex

#41 Re: User Discussion & Help » Placing a plugin button where you want it... » 2005-05-03 00:07:21

I would like the buttons to be able to be overwritten by your config file, much like regular buttons.  Shouldnt the plugins just add the buttons to the regular button config or something similar?

#42 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-05-03 00:05:30

kimss wrote:

One simple way to check this would be to write your own simple PHP script which utilizes the shell_exec() command and check it in your browser for PHP warnings or errors. If your dont get this yoyu can safely rule out that one.

A simple way to check, just grabbed it from php.net

<?php
$output = shell_exec('ls -lart');
echo "<pre>$output</pre>";
?>

Your could also add this to check for safe_mode

<php
echo '"' . ini_get('safe_mode') . '"';
?>

From the last example your would want no positive boolean value in between the ". That would mean safe_mode is active, and that shell_exec is disabled.

The $output worked for me.

The safemode test produced

""

#43 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-05-03 00:01:56

inside spell-checker.js there are these variables:

HTMLArea.Config.prototype.SpellChecker = { 'backend': 'php', 'personalFilesDir' : '', 'defaultDictionary' : 'en_GB' };

do any of those need to be changed?

#44 Re: User Discussion & Help » how do i move the find/replace icon? » 2005-05-03 00:00:41

I couldnt seem to do the same procedure for spell-checker.js , anyone know what I need to delete in that file?

#45 Re: User Discussion & Help » how do i move the find/replace icon? » 2005-05-02 23:40:36

thanks man.

I was able to hack the findreplace.js and delete all the lines they had with this

var joincfg = cfg.toolbar[0].join("|");

then i just call "FR-replace" button where I wanted in the config file.

#46 User Discussion & Help » how do i move the find/replace icon? » 2005-05-02 15:16:55

willeffects
Replies: 10

I've loaded the findreplace plugin but I want to move the icon as defined by my custom config:

["inserttable","toggleborders","separator","codebox","FR-findreplace"]

however, that only duplicates the icon and does not get rid of the one to the left of format block.  How do I customize the location?

Thanks,
Will

#47 Re: User Discussion & Help » Multiple Xinha in firefox doesnt load - quick oldie fix » 2005-05-02 14:36:07

If you are using firefox just go to:

http://xinha.gogo.co.nz/xinha-nightly/e … ample.html

use more then 1 editor.

go to the first editor and hit enter after " Nunc sit amet metus in tortor semper mattis." so it creates a new bullet.
now in the other editors you cannot edit the text.

(this is a bug that almost every other wysiwyg editor had when loading text/graphics into multiple editors for editing.  Xinha never had this problem before).

#48 Re: User Discussion & Help » Multiple Xinha in firefox doesnt load - quick oldie fix » 2005-05-02 11:54:57

This is not a good solution for our case (I know its the way we used on other editors and since xinha didnt need it was one of the reasons we liked xinha).  In our case we load different versions of my_config.js throughout our site dynamically and they apply to pages that sometimes have multiple editors and other times do not, and also the editor names are generated on their respective pages.  Im sure we could write a function to count the editors and set multiple timeouts etc, but since this was working before we should go back to the older method.

Anyone know when this changed?

Thanks,
Will

#49 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-05-02 11:48:00

Im on a dedicated server so unless shell_exec() is off by default I should be ok, how can I check this?  Is there a simple way to test aspell outside xinha to see if the compiled version is even working correctly?

I dont receive any specific errors so I believe the path is correct.

Thanks for your help!
Will

#50 Re: User Discussion & Help » Aspell not functional in nightly build demo or download » 2005-05-02 02:44:14

ah I tried that with no luck.  Would the compiled download not work with Gentoo?  That is what im running.

Board footer

Powered by FluxBB