Welcome Guest Search | Active Topics | Sign In | Register

Editor - Changing Font size Options
Arul
Posted: Thursday, December 11, 2008 9:18:20 AM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20
Hi

When i change the fint size in the editor , it doesnt work. But if i change the font name , it works.
Should i be implementing any methods for the font size to be changed in the editor when its changed in the drop down

Thanks

Rgds
-Arul
eo_support
Posted: Thursday, December 11, 2008 10:30:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

Font size works on selection only. So you must select some text first, then you can change font size.

Thanks!
Arul
Posted: Friday, December 12, 2008 1:15:07 AM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20
Yeah..i did select some text and changed the font size and it doesnt seem to work.

I havent populated the combo box of the font size ..but it comes populated by default
On selecting the font size , it doesnt change..
eo_support
Posted: Friday, December 12, 2008 5:44:13 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

We are not aware of any problems like this. You can verify this feature with our online demo:

http://www.essentialobjects.com/Demo/Default.aspx?path=Editor\_i0\_i0

If the problem continues, please post the page online, or create a test page that demonstrates the problem. We can then take a look of that.

Thanks!
Arul
Posted: Friday, December 12, 2008 5:59:42 AM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20
I have noticed this problem occurs only when i select the Templates "Style1" or "Style2" for the editor.

All other templates are fine . The fint size changes to the specified , when i select the font size

Is something wrong with those 2 styles

Arul
Posted: Friday, December 12, 2008 6:00:15 AM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="testeditor.WebForm1"%>
<%@ Register TagPrefix="eo" Namespace="EO.Web" Assembly="EO.Web" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<eo:Editor id="Editor1" style="Z-INDEX: 101; LEFT: 24px; POSITION: absolute; TOP: 72px" runat="server"
FooterVisible="False" Height="250px" ToolBarSet="Custom" HighlightColor="255, 255, 192"
Width="500px">
<BreadcrumbItemStyle CssText="border-right: darkgray 1px solid; padding-right: 3px; border-top: darkgray 1px solid; margin-top: 1px; padding-left: 3px; font-size: 12px; padding-bottom: 1px; border-left: darkgray 1px solid; padding-top: 1px; border-bottom: darkgray 1px solid; font-family: tahoma"></BreadcrumbItemStyle>
<BreadcrumbItemHoverStyle CssText="border-right: darkgray 1px solid; padding-right: 3px; border-top: darkgray 1px solid; margin-top: 1px; padding-left: 3px; font-size: 12px; padding-bottom: 1px; border-left: darkgray 1px solid; padding-top: 1px; border-bottom: darkgray 1px solid; font-family: tahoma; background-color:#e0e0e0;"></BreadcrumbItemHoverStyle>
<EmoticonDropDownStyle CssText="background-color:#f8f8f8;border-bottom-color:#d6d5d9;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#d6d5d9;border-left-style:solid;border-left-width:1px;border-right-color:#d6d5d9;border-right-style:solid;border-right-width:1px;border-top-color:#d6d5d9;border-top-style:solid;border-top-width:1px;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;"></EmoticonDropDownStyle>
<BreadcrumbLabelStyle CssText="padding-right: 6px; padding-left: 6px; font-size: 12px; padding-top: 1px; font-family: tahoma"></BreadcrumbLabelStyle>
<BreadcrumbItemSeparatorStyle CssText="width: 3px; height: 10px"></BreadcrumbItemSeparatorStyle>
<CustomHeaderTemplate>
<DIV style="OVERFLOW-Y: hidden; HEIGHT: 27px">
<eo:ToolBar runat="server" BackgroundImageRight="00100402" BackgroundImage="00100403" BackgroundImageLeft="00100401"
Width="100%" SeparatorImage="00100404">
<ItemTemplates>
<eo:ToolBarItem Type="Custom">
<HoverStyle CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;background-image:url('Blank');"></HoverStyle>
<DownStyle CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;background-image:url('Blank');"></DownStyle>
<NormalStyle CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;background-image:url('Blank');"></NormalStyle>
</eo:ToolBarItem>
<eo:ToolBarItem Type="DropDownMenu">
<HoverStyle CssText="background-image:url('00100407');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></HoverStyle>
<DownStyle CssText="background-image:url('00100408');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></DownStyle>
<NormalStyle CssText="background-image:url('00100409');PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; CURSOR: hand; PADDING-TOP: 4px; FONT-FAMILY: Tahoma"></NormalStyle>
</eo:ToolBarItem>
</ItemTemplates>
<HoverStyle CssText="background-image:url('00100405');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></HoverStyle>
<DownStyle CssText="background-image:url('00100406');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></DownStyle>
<NormalStyle CssText="PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; CURSOR: hand; PADDING-TOP: 4px; FONT-FAMILY: Tahoma"></NormalStyle>
<Items>
<eo:ToolBarItem ToolTip="Fonts" CommandName="Fonts" Type="Custom">
<CustomItem>
<asp:DropDownList runat="server" ID="FontDropDown" style="width:115px">
<asp:ListItem Value="Arial">Arial</asp:ListItem>
<asp:ListItem Value="Courier New">Courier New</asp:ListItem>
<asp:ListItem Value="Tahoma">Tahoma</asp:ListItem>
<asp:ListItem Value="Times New Roman">Times New Roman</asp:ListItem>
<asp:ListItem Value="Verdana">Verdana</asp:ListItem>
</asp:DropDownList>
</CustomItem>
</eo:ToolBarItem>
<eo:ToolBarItem ToolTip="FontSizes" CommandName="FontSizs" Type="Custom">
<CustomItem>
<asp:DropDownList runat="server" ID="FontSizeDropDown" style="width:50px">
<asp:ListItem Value="8pt">8pt</asp:ListItem>
<asp:ListItem Value="10pt">10pt</asp:ListItem>
<asp:ListItem Value="12pt">12pt</asp:ListItem>
<asp:ListItem Value="14pt">14pt</asp:ListItem>
<asp:ListItem Value="16pt">16pt</asp:ListItem>
<asp:ListItem Value="20pt">20pt</asp:ListItem>
<asp:ListItem Value="32pt">32pt</asp:ListItem>
</asp:DropDownList>
</CustomItem>
</eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Bold" ImageUrl="00101011" CommandName="Bold"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Italic" ImageUrl="00101012" CommandName="Italic"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Underline" ImageUrl="00101013" CommandName="Underline"></eo:ToolBarItem>
<eo:ToolBarItem Type="Separator"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Insert Image" ImageUrl="00101033" CommandName="InsertOrEditImage"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Insert Link" ImageUrl="00101021" CommandName="InsertOrEditLink"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Insert Emoticon" ImageUrl="00101050" CommandName="InsertEmoticon"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Insert Line" ImageUrl="00101049" CommandName="InsertLine"></eo:ToolBarItem>
</Items>
</eo:ToolBar>
</DIV>
<DIV style="OVERFLOW-Y: hidden; HEIGHT: 28px">
<eo:ToolBar runat="server" BackgroundImageRight="00100402" BackgroundImage="00100403" BackgroundImageLeft="00100401"
Width="100%" SeparatorImage="00100404">
<ItemTemplates>
<eo:ToolBarItem Type="Custom">
<HoverStyle CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;background-image:url('Blank');"></HoverStyle>
<DownStyle CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;background-image:url('Blank');"></DownStyle>
<NormalStyle CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;background-image:url('Blank');"></NormalStyle>
</eo:ToolBarItem>
<eo:ToolBarItem Type="DropDownMenu">
<HoverStyle CssText="background-image:url('00100407');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></HoverStyle>
<DownStyle CssText="background-image:url('00100408');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></DownStyle>
<NormalStyle CssText="background-image:url('00100409');PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; CURSOR: hand; PADDING-TOP: 4px; FONT-FAMILY: Tahoma"></NormalStyle>
</eo:ToolBarItem>
</ItemTemplates>
<HoverStyle CssText="background-image:url('00100405');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></HoverStyle>
<DownStyle CssText="background-image:url('00100406');cursor:hand;font-family:Tahoma;font-size:12px;padding-bottom:4px;padding-left:7px;padding-right:7px;padding-top:4px;"></DownStyle>
<NormalStyle CssText="PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; CURSOR: hand; PADDING-TOP: 4px; FONT-FAMILY: Tahoma"></NormalStyle>
<Items>
<eo:ToolBarItem ToolTip="Fore Color" ImageUrl="00101029" CommandName="ForeColor" Type="DropDownMenu"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Back Color" ImageUrl="00101030" CommandName="BackColor" Type="DropDownMenu"></eo:ToolBarItem>
<eo:ToolBarItem Type="Separator"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Align Left" ImageUrl="00101014" CommandName="AlignLeft"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Align Center" ImageUrl="00101015" CommandName="AlignCenter"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Align Right" ImageUrl="00101016" CommandName="AlignRight"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Align Justify" ImageUrl="00101017" CommandName="AlignJustify"></eo:ToolBarItem>
<eo:ToolBarItem Type="Separator"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Bullet List" ImageUrl="00101019" CommandName="BulletList"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Numbered List" ImageUrl="00101020" CommandName="Numbered List"></eo:ToolBarItem>
<eo:ToolBarItem Type="Separator"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Indent" ImageUrl="00101027" CommandName="Indent"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Outdent" ImageUrl="00101028" CommandName="Outdent"></eo:ToolBarItem>
<eo:ToolBarItem Type="Separator"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Design Mode" ImageUrl="00101052" CommandName="DesignMode"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="HTML Mode" ImageUrl="00101051" CommandName="HTMLMode"></eo:ToolBarItem>
<eo:ToolBarItem Type="Separator"></eo:ToolBarItem>
<eo:ToolBarItem ToolTip="Spell Check" ImageUrl="00101018" CommandName="SpellCheck"></eo:ToolBarItem>
</Items>
</eo:ToolBar>
</DIV>
</CustomHeaderTemplate>
<BreadcrumbDropDownStyle CssText="border-top: gray 1px solid; border-right: gray 1px solid; padding-right: 2px; border-top: gray 1px; padding-left: 2px; padding-bottom: 2px; border-left: gray 1px solid; padding-top: 2px; border-bottom: gray 1px solid; background-color: #fafafa"></BreadcrumbDropDownStyle>
<EditAreaStyle CssText="border-right: #a7a6aa 1px solid; padding-right: 0px; border-top: #a7a6aa 1px solid; padding-left: 0px; padding-bottom: 0px; border-left: #a7a6aa 1px solid; padding-top: 0px; border-bottom: #a7a6aa 1px solid"></EditAreaStyle>
<EmoticonStyle CssText="background-color:white;border-bottom-color:#c5d3ed;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#c5d3ed;border-left-style:solid;border-left-width:1px;border-right-color:#c5d3ed;border-right-style:solid;border-right-width:1px;border-top-color:#c5d3ed;border-top-style:solid;border-top-width:1px;padding-bottom:2px;padding-left:2px;padding-right:2px;padding-top:2px;"></EmoticonStyle>
<FooterStyle CssText="background-color:#f8f8f8;border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-width:1px;padding-bottom:3px;padding-left:3px;padding-right:3px;padding-top:3px;"></FooterStyle>
<TabButtonStyles>
<SelectedStyle CssText="border-bottom-color:#a7a6aa;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#a7a6aa;border-left-style:solid;border-left-width:1px;border-right-color:#a7a6aa;border-right-style:solid;border-right-width:1px;border-top-color:#a7a6aa;border-top-style:solid;border-top-width:1px;font-family:Verdana;font-size:12px;padding-bottom:2px;padding-left:4px;padding-right:4px;padding-top:2px;"></SelectedStyle>
<NormalStyle CssText="font-family:Verdana;font-size:12px;padding-bottom:3px;padding-left:5px;padding-right:5px;padding-top:3px;"></NormalStyle>
<HoverStyle CssText="background-color:#e0e0e0;border-bottom-color:#a7a6aa;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#a7a6aa;border-left-style:solid;border-left-width:1px;border-right-color:#a7a6aa;border-right-style:solid;border-right-width:1px;border-top-color:#a7a6aa;border-top-style:solid;border-top-width:1px;font-family:Verdana;font-size:12px;padding-bottom:2px;padding-left:4px;padding-right:4px;padding-top:2px;"></HoverStyle>
</TabButtonStyles>
</eo:Editor>
<eo:ColorPicker id="ColorPicker1" style="Z-INDEX: 102; LEFT: 72px; POSITION: absolute; TOP: 320px"
runat="server" ControlSkinID="None">
<TextBoxStyle CssText="border-right: #7f9db9 1px solid; border-top: #7f9db9 1px solid; border-left: #7f9db9 1px solid; border-bottom: #7f9db9 1px solid"></TextBoxStyle>
<PopupStyle CssText="background-color:white;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;font-family:Verdana;font-size:10pt;padding-bottom:10px;padding-left:10px;padding-right:10px;padding-top:10px;"></PopupStyle>
<PopupLayoutTemplate>
<TABLE cellspacing="2" cellpadding="0">
<tr>
<td colspan="2">
<TABLE cellspacing="2" cellpadding="0">
<tr>
<td width="100">
<asp:Label runat="server" ID="TitleText">Select color:</asp:Label>
</td>
<td style="border: 1px solid lightgrey;" width="40">&nbsp;
<asp:PlaceHolder runat="server" ID="AdjustedColor"></asp:PlaceHolder>
</td>
</tr>
</TABLE>
</td>
</tr>
<tr>
<td>
<asp:PlaceHolder runat="server" ID="ColorField"></asp:PlaceHolder>
</td>
<td>
<asp:PlaceHolder runat="server" ID="SpectrumSlider"></asp:PlaceHolder>
</td>
</tr>
</TABLE>
<TABLE cellspacing="1" cellpadding="0">
<TR>
<TD width="20">&nbsp;R:</TD>
<TD>
<asp:TextBox runat="server" ID="RTextBox" style="width:48px;"></asp:TextBox>
</TD>
<TD width="20">&nbsp;G:</TD>
<TD>
<asp:TextBox runat="server" ID="GTextBox" style="width:48px;"></asp:TextBox>
</TD>
</TR>
<TR>
</TR>
<TR>
<TD width="20">&nbsp;B:</TD>
<TD>
<asp:TextBox runat="server" ID="BTextBox" style="width:48px;"></asp:TextBox>
</TD>
<TD width="20">&nbsp;#</TD>
<TD>
<asp:TextBox runat="server" ID="WebColorTextBox" style="width:48px;"></asp:TextBox>
</TD>
</TR>
<tr>
<td colspan="4" align="center">
<asp:LinkButton runat="server" ID="OKButton">OK</asp:LinkButton>
</td>
</tr>
</TABLE>
</PopupLayoutTemplate>
</eo:ColorPicker>
</form>
</body>
</HTML>
eo_support
Posted: Friday, December 12, 2008 6:32:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

That appears to be a problem. We will look into it and see what we can do.

Thanks!
Arul
Posted: Friday, December 12, 2008 6:55:45 AM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20
I assume that the problem is the templates i specified.

It has set the command name as "FontSizs" instead of "FontSizes"

When i changed the command name it worked.

Also i had to write these codes under Fonts and FontSizes for it to populate all Fonts and Sizes rather than the hardcoded ones by the styles

<CustomItem>
<asp:DropDownList runat="server" ID="FontDropDown" style="width:110px"></asp:DropDownList>
</CustomItem>


<CustomItem>
<asp:DropDownList runat="server" ID="FontSizeDropDown" style="width:50px"></asp:DropDownList>
</CustomItem>

Hope i am right
eo_support
Posted: Friday, December 12, 2008 7:12:01 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

That indeed is the problem. Thanks for letting us know!

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.