YAFLogo

janusz
  • janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
11 years ago
REF: TinyMCE. How can post PREVIEW font size be increased?

Thanks!
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
Originally Posted by: janusz 

REF: TinyMCE. How can post PREVIEW font size be increased?

Thanks!



Currently there is no way. You need to add an css Class to the content..

edit the file pages/postmessage.ascx

change the code from..

<td id="PreviewCell" runat="server" class="post" valign="top">
			<YAF:MessagePost ID="PreviewMessagePost" runat="server" />
		</td>

to...

<td id="PreviewCell" runat="server" class="post previewPostContent" valign="top">
			<YAF:MessagePost ID="PreviewMessagePost" runat="server" />
		</td>

then you can simply set the font size in the default css file in resources/css/forum.css ...

.yafnet .previewPostContent { font-size:value of your choice}
janusz
  • janusz
  • 67.6% (Friendly)
  • YAF Commander Topic Starter
11 years ago
Nice! Thanks!

One change in postmessage.ascx:

class="previewPostContent" 


Now editor, preview, and post all display the same font size!
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button