Author |
Message |
hinksta
Worker


Joined: Dec 23, 2005
Posts: 226
Location: UK
|
Posted:
Sun Jan 15, 2006 8:28 pm |
|
I copied an article from the forum into the editor.
In the preview the text sizes are correct, but when saved they have changed. |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sun Jan 15, 2006 11:26 pm |
|
The problem with text sizes is a function of your theme's CSS, rather than the WYSIWYG editor. You can either specify a different class when editing, or change the default class in your CSS. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
hinksta

|
Posted:
Mon Jan 16, 2006 7:29 am |
|
I see, that's a bit of a pain, wouldn't it be better all round if the theme css and forum css were integrated as 1? |
|
|
|
 |
kguske

|
Posted:
Mon Jan 16, 2006 8:04 am |
|
Yes...everything can be done with time and money...and more time... |
|
|
|
 |
hinksta

|
Posted:
Mon Jan 16, 2006 8:31 am |
|
I have some news items that look ok in preview and on my front page home made news block, but in the news home page and the full article's they are in italics. |
|
|
|
 |
hinksta

|
Posted:
Mon Jan 16, 2006 8:52 am |
|
I think this is because the articles are written by a member
can I change this? |
|
|
|
 |
hinksta

|
Posted:
Mon Jan 16, 2006 9:02 am |
|
got it, changed in theme.php
Code:$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
|
to
Code:$content .= "<i>"._WRITES."</i><br><br>\"$thetext\"$notes\n";
|
|
|
|
|
 |
kguske

|
Posted:
Mon Jan 16, 2006 9:26 am |
|
|
|
 |
hinksta

|
Posted:
Mon Jan 16, 2006 9:28 am |
|
back to this text size problem
if I select any text size in the editor it looks good but when saved it has gone.
Your saying to make use of the text size I need to write it into the css.
If this is the way to do it, could you give me some idea what I should write in the css to cover all sizes |
|
|
|
 |
kguske

|
Posted:
Mon Jan 16, 2006 9:41 am |
|
|
|
 |
hinksta

|
Posted:
Mon Jan 16, 2006 10:41 am |
|
If I add class to the css for the text size I will have to change the size manually in the source for every size change. Plus you can no longer see the correct size in the preview
Is this the only way?
Also, having big problems with IE
If I have
Code:<ed1>test</ed1>
<br />
<ed2>test</ed2>
<br />
<ed3>test</ed3>
<br />
<ed4>test</ed4>
<br />
<ed5>test</ed5>
<br />
<ed6>test</ed6>
<br />
<ed7>test</ed7>
|
After changing back from source and then back to source again I get
Code:<ed1></ed1>test <br /><ed2></ed2>test <br /><ed3></ed3>test <br /><ed4></ed4>test <br /><ed5></ed5>test <br /><ed6></ed6>test <br /><ed7></ed7>test
|
This is not a problem in Firefox
the css i've added is
Code:ed1 {font-size: 50%}
ed2 {font-size: 75%}
ed3 {font-size: 100%}
ed4 {font-size: 125%}
ed5 {font-size: 150%}
ed6 {font-size: 175%}
ed7 {font-size: 200%}
|
this works in firefox but not IE |
|
|
|
 |
hinksta

|
Posted:
Fri Jan 20, 2006 7:36 pm |
|
I installed this WYSIWYG editor because it looked great and thought the feedback so far was very limited and maybe you could use some more.
I respect and understand you are very busy but if you have the css working you might have shared that info.
I also cannot see images and think the source formatting is not stable
I wonder if the version you have is different to the one in RavenNuke76 v2.0.1 Distro or maybe I have just done something wrong.
This has really put me off doing it again. |
|
|
|
 |
kguske

|
Posted:
Sat Jan 21, 2006 9:05 pm |
|
I'm not really sure what to tell you, hinksta, other than that I don't see many websites using fonts and sizes different than those defined in their themes. As you correctly guessed, I don't have time to teach CSS and probably couldn't even if I did have time.
I will tell you that generally CSS classes are applied with class attributes in A, DIV, SPAN, TABLE, TD, TR, etc. tags, rather than as custom tags. I'm no expert on that, but I'd guess that might be an IE-specific thing, hence your results. Trying changing, for example:
to:
Code:<span class="ed5">test</span>
|
As for seeing images, you are welcome to use the full URL to specify the image, and you'll be able to see it both in the editor and after posting.
I'm not sure what you meant by the source formatting not being stable.
I've only made one change to nukeWYSIWYG that isn't in the RavenNuke76 distro, and that is an additional function in mainfile.php to support modules (none of which are included in RavenNuke) that use a template approach (building HTML in a variable for displaying later), rather than displaying the content / editor where it is created. |
|
|
|
 |
kguske

|
Posted:
Sat Jan 21, 2006 9:06 pm |
|
Sorry, I misread your comment about something working with Firefox, not IE. The result is still the same... |
|
|
|
 |
|