Announcement

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

#876 Re: User Discussion & Help » Bug in insert special character? » 2005-03-19 01:50:56

CyberTron wrote:

If nothing is selected in the text area (eg. try click on the top corner of the menu bar without clicking on the button), and when you try to insert a special character, it will get inserted outside the text area.

How are you inserting the special character, with the charactermap plugin?  In what browser?

Submit a ticket for this.

#877 Re: User Discussion & Help » Problem with Same Origin Policy across subdomains » 2005-03-19 01:45:25

Seems like a fairly unusual situation.  If you find a solution please submit a ticket (with patch if necessary) so that others may learn from your experience smile

#878 Re: User Discussion & Help » Possible to integrate helene into xinha? » 2005-03-19 01:42:45

CyberTron wrote:

Wonder if it is doable to replace the default html editor with helene (http://helene.muze.nl/) or if not, implement it like a plugin?

I suspect it would be a big job.  Plugins welcome though smile  The plugin would have to replace the switch mode button to instead of switching mode to change the gui editor into a gui sourcecode editor. 

This feature would be desirable especially for when we get "shielded code" ability (including php code into the html being edited).

#879 Re: User Discussion & Help » Adapting Xinha to default to textmode » 2005-03-19 01:38:13

speterson wrote:

I was hoping to add a feature to xinha in which it would start up in either textmode or wysiwyg rather than always wysiwyg.  My plan was to add a startupMode field to the Config object, then set _editMode in the constructor to be the value of this startupMode field.  After I wade through the gotchas that I am sure are gonna get me with this approach, who would I submit this update to?

Hmm.  I'd sugest making a very simple plugin, which has an "onGenerate" function that just does setMode('text') on the editor.

It may interfere with other plugins however if they expect the editor to be in gui mode.

#880 Re: User Discussion & Help » IE6 crash if more that about 300 chars is loaded » 2005-03-19 01:36:08

Banke wrote:

After i used the Xinha Newbie Guide i IE6 stopped to crash, maybe it should be noted somewhere that a htmlarea 3 config will not work that well smile or maybe i should learn to rtfm

I'd be interested to see what the htmlarea config you were using looked like.  i can't think of anything that would create the problem you experienced, so maybe it might turn up something interesting smile

If you still have that config that caused the problem could you please submit a ticket.

#881 Re: User Discussion & Help » i18n javascript error? » 2005-03-19 01:34:08

guenole wrote:

I have the same problem when i use _editor_lang = "fr";

Just put _editor_lang = "en"; resolve my problem...

Indeed, the translations will be out of date.  English is the only supported one at the moment.  Patches are welcome for the others.

#882 Re: User Discussion & Help » Replace all textareas? » 2005-03-19 01:32:44

virgvv wrote:

Hi,
I was using HTMLArea 3, which was very buggy, and am hoping Xinha is an improvement.
One thing I don't see in the newbie documentation is how to replace all textareas in a document (I'm incorporating Xinha into a CMS/DB editor that gets the textarea names from the database fields).
Does HTMLArea.replaceAll() still work? If not, is there a Xinha equivalent, or a way to create one?
Thanks,
Virginia

As niko says, replaceAll does still exist, theoretically it should work.  But I've never used it.  If you find it doesn't please ticket it.

You might however be better to follow the example (using the nightly build) and specify each area that should be replaced, as it's the "preferred" way of doing things.

#883 Re: User Discussion & Help » Developers Developers Developers » 2005-03-19 01:27:04

Wei wrote:

I would like to help out, but I can't use http SVN as I am behind a http proxy.

Wei.

Not much I can do there.  Are there  ports you can get out on?

#884 Re: User Discussion & Help » Managing styles and stylelist » 2005-03-19 01:24:13

JAC wrote:

When working with the stylelist, is there any way to list a style with a "user friendly" name which is defined elsewhere (either earlier in the page or in an extenal style sheet)?

I can use: config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});

You can use
  config.stylistLoadStyleSheet('/path/to/mystyles.css', {'p.pink_text' : 'Pretty Pink'});

if you can think of a better way, submit a ticket, or better, a patch smile

#885 Re: User Discussion & Help » Hide stylelist pane » 2005-03-19 01:19:53

dlst wrote:

Along these same lines, I would like to see the Stylelist plugin use "custom" css styles to display.

Right now, it uses the following:

These are just the CSS rules for the example.  Stylist itself has no CSS rules to determine it's display.

You can make your own, everything in the stylist is contained within a div with classname .stylist.

.stylist h1 { /* whatever */ }
.stylist a { /* whatever */ }

you could use the firefox dom inspector to see what exactly is there for you to change, simply search for attr "class" contains "stylist" and explore away.

#886 Re: User Discussion & Help » Hide stylelist pane » 2005-03-19 01:14:42

Bone612 wrote:

Along with the above request, I am also looking for the line in the code where I can specify where to render the pane (left, right, top, bottom).  I have seen examples where it is on the right and bottom so I know this is possible, I just do not know where to set it.  Thanks.

It's currently hard coded into plugins/Stylist/stylist.js, like 484.  I'll make it into a config option.

#887 Re: User Discussion & Help » Hide stylelist pane » 2005-03-19 01:09:43

dlst wrote:

Is it possible to hide the stylelist pane without reloading the page?  It's a fantastic plugin (better than the other CSS options, I think), but it takes up a lot of space.

Ummmm.  Not currently, but it could be.  Submit an enhancement request.

#888 Re: User Discussion & Help » Hide stylelist pane » 2005-03-19 01:09:03

JAC wrote:

Relating to the question about the formatting for the Stylelist - is there any way of changing the width of the panel?

Thanks!

See the config object (in htmlarea.js), it's in there.

#889 Re: User Discussion & Help » Error in IE » 2005-03-19 01:02:59

niko wrote:

hmm... now i changed my code to that it looks like the NewbieGuide and the problem is gone....
i suppose it has something to do with loading the plugins?!

Somebody else posted that.  It's in a ticket I believe.  I had never seen it before.  Would you like to do a quick search and comment on that ticket for me.

#890 Re: User Discussion & Help » Recommend a site editor » 2005-03-19 01:00:59

nspirov wrote:

Hello,

Can somebody recommend a simple site editor using Xinha (or another WYSIWYG for that matter) - not a database driven CMS but a simple HTML file editor? Maybe I can't figure out the correct name of this to search for, because I can't seem to find a solution.

Regards, Nick

Do a search for CMSimple, here, or at google, hat might be what you're looking for.

#891 Re: User Discussion & Help » full_example-body.html question » 2005-03-19 00:59:06

Yermo wrote:

Should I be doing this some other way?

Ahh.  Yes.  That won't work in the example, because full_example.js overrides it by making it a function.

If you make your own "clean" example (just remove full_example.js should do I think) you should be able to modify the config in the way you expect.

What I am working on is the Enter generates <p> tag problem.

Is there a ticket for that?  I'm not sure I remember the problem.

#892 Re: User Discussion & Help » Trac Problems continue » 2005-03-19 00:53:15

dlst wrote:

Is it a problem with the host?  I'm willing to vonlunteer free services of various kinds if that helps.

No it's not a problem with the host, seeing as it's hosted on my workstation until I can figure out the problem.  I dont' know why it's doing it, basically two of the tables in the sqlite database get corrupt for some unknown reason, this brings the system partially to it's knees.  Sometimes the entire database gets b0rked.

I initially thought the root cause was the BDB SQL repository was getting locked up, so I changed to FSFS.  Helped a little.

So I thought an upgrade of trac might be in order, so I did but it didn't make any difference.

So then I thought it might be sqlite2 was the problem so I upgraded to sqlite3 which helped a lot, but still didn't cure it, just reduced the frequency.

There is a PostgreSQL "backend" for trac, but it's not official and would require patching trac each time an upgrade comes through, I want to avoid that.  However  edgewall is working on database independance for trac, so hopefully we can soon move to either MySQL or PostgreSQL.

I've written a script now so I can quickly fix the primary problem, and I'll shortly write one to try and automate the process so that every x minutes it will check the db for corruption and fix it.  At least that should keep things running until something better happens.

In so far as hosting goes, the requirements area at
http://projects.edgewall.com/trac/wiki/TracInstall

#893 Re: User Discussion & Help » redo and undo buttons functions » 2005-03-19 00:38:51

clem wrote:

the file, and maybe (though it may have been me) saved the resulting garbage over the master file.

Xinha doesn't do any autosubmitting or anything, so unless CMSimple does, it must have been you that submitted it smile

So what am I suggesting.
This needs to be ticketed.
A check needs to be inserted to prevent Undo blowing its stack. (posssibly all that is needed is a simple counter.

Hope this observation is useful.

Trac's running again (for who knows how long, sigh) so please post a ticket.

#894 Re: User Discussion & Help » Bug? config.width = 'auto' causing scrunching problem. » 2005-03-19 00:36:11

Probably not, I may have just done that to be compatable with htmlarea.  Trac is back up for now (damn sqlite is freaking unstable, at least for us - I've asked at the trac mailing list a couple of times and nobody else seems to have the problem).  I have no objection to the change so go ahead as far as i'm concerned,

You might want to ticket it incase it causes anybody problems.

#895 Re: User Discussion & Help » Documentation? » 2005-03-19 00:31:39

clem wrote:

Yes what I want is 'shielded code'- but I am not focused enough in JS and HTML to understand all the intricacies and pitfalls.

I think we have a ticket for that as an enhancement.  It's certainly on the cards.

#896 Re: User Discussion & Help » Starting and Stopping Xinha. » 2005-03-19 00:28:11

gordon wrote:

take a look at http://www.heydon.com.au/xinha/examples/basic.php

The only php to to print the posted data, and at this stage it only turns it off. but you will get the idea.

Hmm.  Create a ticket for this as a feature enhancement.  When time permits I'll look at creating a plugin to do what you want.

#897 Re: User Discussion & Help » Trac Problems continue » 2005-03-14 09:12:03

Yermo wrote:

It's broken again.

It's beginning to sound like another solution is in order...

I've now upgraded to sqlite3, fingers crossed everybody.

#898 Re: User Discussion & Help » Yet More Questions: getParentElement() generates fully qualified links » 2005-03-13 13:02:01

I believe that this all extends from a problem in IE, where by IE will make any link a full URI (ie including http:// ) wether you want it or not, at least if I'm remembering correctly. 

I wanted at some stage to standardize that between the browsers so I must have made the links absolute - it's not a problem for me because I have "special replacements" run on the outgoing html to turn them into relative links where appropriate.  But obviously it's something that should be changed really.

If you can come up with a good way of fixing that, I'm ok with it.

Edit: by fixing it I mean making links relative or absolute within server.  Of course, relative to what is the question, I guess a "destination URL" would have to be passed in via config so that relative urls could be calculated from that.

#899 User Discussion & Help » Trac Problems continue » 2005-03-13 12:56:09

gogo
Replies: 11

Grrr, sqlite is really ticking me off. No sooner do I fix it that it breaks again.

I have now cleared out all the sessions from the database, this will mean that everybody should go visit the settings page in trac to set your name and email address again.  And people with trac accounts you may need to login again.

#900 Re: User Discussion & Help » Firefox, xinha (htmlarea) and back button » 2005-03-12 12:14:30

mitomac wrote:

Greetings,

I have had trouble using either htmlarea or xinha in firefox, because after loading the editor it renders the browsers back button useless.  I saw a reference in the wiki on this site to this being a firefox bug.  I've searched bugzilla and have found no reference of the bug.  Does anybody know the bug number so I can track this bug in bugzilla?  Or even better yet, a work around?

Thanks in advance,

mitomac

I believe this is the relevant bug - https://bugzilla.mozilla.org/show_bug.cgi?id=264403 (it's essentially the same problem).  basically document.open, which is used to dynamically write the contents of the editor's iframe, inserts an item into the window history, when it shouldn't.

Board footer

Powered by FluxBB