Announcement

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

#251 Re: User Discussion & Help » licensing for freelance projects » 2010-04-08 01:53:30

Xinha is licenced under the HTMLArea licence, which is a variant of the usual BSD licence.

What this means is - you can do whatever you want with it, copy, sell, edit, feed to your dog...

Even if, somewhat impossibly, agreement was reached between all the developers to relicence and charge for Xinha, you could always fork from the BSD licence one (or just use as is). 

In short.  Go for it.

#252 Re: User Discussion & Help » Show/Hide the Stylist Panel » 2010-04-01 19:29:16

You'd need to create one I think, but that should be easy to add. 

Also from memory, I think there is editor.hidePanels() and editor.showPanels() which would be easier, but I may be misremembering that.

#253 Re: User Discussion & Help » Stay on top window for table operations » 2010-03-30 19:06:27

Sounds like a bug to me.  Please submit a new ticket (see link at the top of this page).

(And also, see if the bug is present in the latest trunk version if you are using an older version).

#254 Re: User Discussion & Help » i have a problem with css » 2010-03-29 18:52:51

sandra-muc wrote:
  xinha_plugins = xinha_plugins ? xinha_plugins :
  [
   'ImageManager','ListType','SuperClean'
  ];

You should add DynamicCSS

#255 Re: User Discussion & Help » i have a problem with css » 2010-03-28 19:26:57

Xinha ca nnot create CSS.  It can use it.  Look at Stylist plugin, I prefer it.

#256 Re: User Discussion & Help » Quotes and double quotes question » 2010-03-24 07:03:06

Try setting sevenBitClean in your config to true, probably that will help.

If not,

Are you using any plugins, specifically "SmartReplace" comes to mind.

Are you able to post a couple of screenshots?

Are you "UTF-8" clean, that is, the HTML that Xinha produces is (should be) utf-8, possibly with multi-byte characters, so if you are storing (or retrieving, or using) this in a way that could break the multibyte characters then you could see something roughly like that (usually, unknown characters are shown as a rectangle).  Switching on the 7BitClean setting should in theory avoid any problem with this, at the expense of a few more bytes and slightly less readable HTML.

#257 Re: User Discussion & Help » Probmelm with installing other language or skins » 2010-03-24 04:16:24

Probably a permissions issue.  Ensure your file permissions are OK.  Open the firebug net panel and see if any files are failiing to load.

#258 Re: User Discussion & Help » Default File Save Location » 2010-03-20 01:58:19

No.

The "save button" can only save to your own computer that the browser is running on, the extent of Xinha's input there is "tell the browser to save", what happens from there out is a matter for the developers at Microsoft, Mozilla etc...

In my opinion, it should probably be removed from Xinha by default because it probably just confuses people.

You need to submit the form which is containing Xinha to some system which does stuff with the Html Xinha created, what exactly that is, is up to you.

#259 Re: User Discussion & Help » Default File Save Location » 2010-03-16 20:22:41

Well, that all depends on your CMS which is implementing Xinha, doesn't it?  I don't recall any plugin in Xinha which allows saving files itself.

#260 Re: User Discussion & Help » php post textarea problem » 2010-03-15 18:28:34

    
  <table width='100%' border=0 align=center cellpadding=2 cellspacing=0>
....
  <tr><td align=center colspan=3> </td></tr>
   <form method=post>
   <table align=center border=0 cellpading=0 cellspacing=0>
   <tr>

Incorrect HTML syntax, your HTML is not valid, this will cause it to break.  Make your HTML valid.  Neither form, nor table are valid children of table.

#262 Re: User Discussion & Help » What is "xfrm"? » 2010-03-10 19:05:05

I don't recall this being done in any part of Xinha, a quick search of the code doesn't show it either. 

I expect this is being done by your control panel outside of Xinha, or some customised version of (or plugin to) Xinha your control panel has.

#263 Re: User Discussion & Help » problem with Firefox 3.6 » 2010-03-10 03:29:30

" will be because firefox stores/returns a double quote internally probably, even if you specify singles.  It's fine syntax either way.

As for your problem.  Are you SURE you are entizing?

http://xinha.webfactional.com/wiki/Entize

If you are not, then the browser will be seeing
 

<textarea><div style="background: url("http://some.domain.here/image.file.here")">test</div></textarea>

which would probably resolve to something <div>test</div> once firefox threw away syntax errors.

#264 Re: User Discussion & Help » xinha in non editable state. » 2010-03-07 20:24:44

Hmmmm, yes, from distant memory this is a known problem with the browser (not with Xinha, I don't think we do anything wrong).

I think you need to activate the editor ( with youreditor.activateEditor() ) after it becomes visible, and deactivate ( youreditor.deactivateEditor() ) before it goes invisible, if you activate before it's visible, you get strange behaviour.

#265 Re: User Discussion & Help » xinha in non editable state. » 2010-03-07 19:52:25

Any errors etc in firebug?  Using the latest trunk?  If you take "extjs" out of the equation does your setup and initialization work?

#266 Re: User Discussion & Help » Is there a guide to toolbar functions? » 2010-03-02 19:33:47

The only thing like that is the Help button in the editor itself (if rootsweb shows it) - but it's not exactly comprehensive.  Really, it's a matter of  just trying things out and see how you go.  Any questions on how to use the Xinha functions, feel free to post here.

#267 Re: User Discussion & Help » Confusing licensing issues » 2010-02-27 19:13:55

I dunno who you are squeelsof, but you ar enot posting where you think you are posting.

This forum is about a web developers tool called "Xinha", we don't use "textures" for anything!  This is not about any game or something like that which you seem to post about.

Weird.

#268 Re: User Discussion & Help » Wrap windowses (like insert_image.html) in Colorbox » 2010-02-21 21:22:07

You are obviously only seeing local scope variables, you need to look at the wider picture, there are probably hundreds of other properties than val and this available to you there!  window for a start is always available.

Try with firebug.

#269 Re: User Discussion & Help » Wrap windowses (like insert_image.html) in Colorbox » 2010-02-20 20:37:27

You will need to examine the scope in __dlg_close at that point and see what is available.  It will be there somewhere.  window.parent, window.opener, something.

#270 Re: User Discussion & Help » Enable/Disable Xinha TextArea » 2010-02-20 08:18:31

I think "squeelsof" is some automatic posting robot, or they have some strange idea of what xinha is, deleting that post, since it's unintelligible.

#271 Re: User Discussion & Help » Wrap windowses (like insert_image.html) in Colorbox » 2010-02-20 06:42:05

Oh wait, you're asking about the popup windows.

If you are using an iframe, they do not have openers I think.  They have parents from memory.  You'll want to use your javascript debugger and inspect exactly what is available to you, but probably changing opener to parent will get you somewhere.

#272 Re: User Discussion & Help » Wrap windowses (like insert_image.html) in Colorbox » 2010-02-20 06:38:35

Probably you will need to write your own Xinha.Dialog really, I think you roughly need these methods,
* the constructor
* show
* hide
* onresize
* toggle
* setValues
* getValues
* getElementById
* getElementsByName

look at modules/Dialogs/XinhaDialog.js and also modules/Dialogs/div-dialog.js

You will need your dialog to be called Xinha.Dialog so that it is the default, I think you would be able to, AFTER extending (see div dialog) and BEFORE loading the rest of Xinha.

Xinha.Dialog = MyDialog;

I think it should work, but you may need to tweak Xinha a bit perhaps.

#273 Re: User Discussion & Help » Dialogs appear half off the screen » 2010-02-18 20:39:40

Most likely it is a problem with your HTML or server

1. Ensure your html (in the page where you are loading Xinha) at least comes close to validating, particualrly that it's well formed.  You may need to try changing the doctype to trigger standards mode.
2. Check the "compatability mode" setting of IE, flip it to see if it makes a diffrence.
3. Look for any 404's coming back from your server, try with Firefox and the Firebug extension's "Net" panel, or look in your server logs.
4. Are you using any other CSS.  Try with the simple examples without any of your stuff.

#274 Re: User Discussion & Help » Wrap windowses (like insert_image.html) in Colorbox » 2010-02-16 23:48:28

You are looking at compressed files.  Do not look at compressed files.  Use latest trunk.

#275 Re: User Discussion & Help » New to Xinha need help & advise » 2010-02-16 23:02:41

Xinha is an HTML editor.  It is not capable of that which you speak without
1. large amounts of programming to write the systems to surround it
2. large amounts of compromise since HTML is a markup language not a layout language

Board footer

Powered by FluxBB