Theming the TinyMCE editor in aspx

rated by 0 users
This post has 2 Replies | 2 Followers

Top 10 Contributor
Male
Posts 2,373
Points 15,770
MVPs
Dave Posted: Thu, May 1 2008 1:29 PM

I can override the users' theme selection for the text editor by setting the editoroptions like so

<CSControl:Editor Width="100%" Height="150px" EnableHtmlModeEditing="false" runat="Server" id="PostBody">
<EditorOptions>
<CSControl:EditorOption runat="server" Name="theme_advanced_resizing" Value="false" />
<CSControl:EditorOption runat="server" Name="plugins" Value="'smilies,safari'" />
<CSControl:EditorOption runat="server" Name="theme_advanced_buttons1" Value="'bold,italic,underline,strikethrough,separator,link,unlink,separator,smilies,safari'" />
</EditorOptions>
</CSControl:Editor>

What i'd like to do is just force a theme like so

<CSControl:Editor name="Basic" runat="server" />

where Basic has been defined in communityserver_override.config, is this possible at all?

  • | Post Points: 35
Not Ranked
Posts 16
Points 165

Thanks a million Dave! What a usefull post for someone trying to understand these controls.


  • Filed under:
  • | Post Points: 5
Not Ranked
Posts 16
Points 165

I think you can do this...

 

<CSControl:Editor name="Enhanced" type="Telligent.TinyMCEWrapper.TinyMCE, Telligent.TinyMCEWrapper" runat="server" />

 

Haven't tried it though.


  • Filed under:
  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com