Announcement

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

#1 2007-02-20 15:08:38

harrisconnect
New member
Registered: 2007-02-19
Posts: 5

HTML tags.

SPAN tags and external stylesheets seem to be requiring workarounds. Is there a setting or HTML "version" that is recommended (E.g. only tags through HTML 3.0 / 1999 or only tags supported by IE 4.0?

Basically, we've experienced text entered in Xinha editor somehow getting modified after saving entry.  We noticed, for example, that when using certain html tags blank lines appear between text where it is not suppose to. 

We're wondering which version of html works best with Xinha? Are there certain html tags that we can or cannot use?

Offline

#2 2007-02-21 07:22:02

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: HTML tags.

No, certainly you can use all sorts of tags and HTML versions (valid markup, of course).

Speficically, which are the problems you're experiencing?

Offline

#3 2007-02-21 13:02:44

harrisconnect
New member
Registered: 2007-02-19
Posts: 5

Re: HTML tags.

Actually, one of our users copy and pasted a Word doc text into the
WYSIWYG editor and experienced "spacing" issues...some lines appeared to be more than triple spaced.

Basically, the clients are using Dreamweaver and other editors to import HTML into the tool, and when they send the messages, many tags are being stripped.

They also found that <STYLE> tags in the header and <SCRIPT> tags in the body just do not work.

Last edited by harrisconnect (2007-02-21 13:33:13)

Offline

#4 2007-02-21 22:27:00

mharrisonline
Xinha Administrator
From: Denver, Colorado
Registered: 2005-04-11
Posts: 110
Website

Re: HTML tags.

Are you using the GetHtml plugin? If so, and you are still having problems, you could try using full page mode. I think however that your problems will go away if you simply use the GetHtml plugin.

Offline

#5 2007-02-22 07:29:41

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: HTML tags.

Well, pasting from Word is always a pain sad

I would like which "many tags" were stripped.

Style should work, xinha_config.fullPage has to be true

Script is stripped by default, but should be preserved with xinha_config.stripScripts = false;

If you have a clearer image of what is not working correctly, you should create a ticket

Offline

#6 2007-02-22 07:39:39

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: HTML tags.

Also I'd like to mention in this context that the GetHtml "plugin" is deprecated, it is now called a "module" and can be enabled by

  xinha_config.getHtmlMethod = "TransformInnerHTML";

You can of course go on using the plugin, but it's only a dummy now that sets the above variable.

Offline

#7 2007-02-23 10:31:09

harrisconnect
New member
Registered: 2007-02-19
Posts: 5

Re: HTML tags.

Thank you!

Offline

Board footer

Powered by FluxBB