Announcement

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

#1 2010-11-28 17:06:55

bug426
New member
Registered: 2010-11-28
Posts: 2

Stylist Plugin & HTMLMode Button

Hi, my english is very bad, but i hope can understand me and help me.

I am having a problem with HTMLMode button when switching "WYSIWYG" mode to "text" mode, the button HTMLMode is disabled and i'm not able to return again in "WYSIWYG" mode.

This error occurs when load a .CSS file to use with Stylist plugin:

xinha_config.stylistLoadStylesheet(_editor_url + "../Stylist.css");

If i comment this line in the configuration file the error disappears and HTMLMode button function normally.


In Internet Explorer 8 this error does not happen, but if it happens in Firefox 3.6.12


I hope understand me.
Tanks

Luciano
Argentina

Offline

#2 2010-11-28 17:56:09

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Stylist Plugin & HTMLMode Button

Must be a problem in your Stylesheet

1: Check that the stylesheet is loaded properly (look in Firebug)
2: Use firebug to Inspect the button and look at styles on it
3: Look for errors in firebug console
4: Use process of elimination to find problem in stylesheet (delete stuff until it works then you know what the problem is).


James Sleeman

Offline

#3 2010-11-28 19:17:30

bug426
New member
Registered: 2010-11-28
Posts: 2

Re: Stylist Plugin & HTMLMode Button

Tanks for help me, im looking in Firebug and there is an error with DynamicCSS, but i see that DynmicCSS and Stylist have the same objetive, but Stylist is specific for Xinha.

Im not use DynamicCSS.

Tanks for all.

Luciano
Argentina

Offline

#4 2010-11-28 20:32:11

ejucovy
Xinha Community Member
From: NY
Registered: 2010-11-15
Posts: 35
Website

Re: Stylist Plugin & HTMLMode Button

Is DymamicCSS in your list of plugins?

I can reproduce this in the nightly demo if I enable DynamicCSS and Stylist, but only if I turn on both plugins at the same time.

Offline

#5 2010-11-28 21:39:23

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: Stylist Plugin & HTMLMode Button

Yes, they do the same job in the end, you really only want  one of them (although don't know why they would conflict in that way).


James Sleeman

Offline

Board footer

Powered by FluxBB