Search

You searched for the word(s):
Showing page 1 of 2 (19 total posts) < 1 second(s)
  • Re: Source Code: Setting the Font Size List

    For anyone thats interested, I've come across a code snippet (found online) that I have modified that seems to work better than the function that Adam offered. &nbsp; In the _Format function in WinIE.js, add the following case statement... &nbsp; case ''FontStyleSize'':&nbsp;&nbsp;&nbsp;checkRange(editing.EditorID); // get the focus and text ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on August 3, 2004
  • Re: CuteEditor not Using Sylesheet's Font-Size

    Sorry about this (I don't know much about css) &nbsp; My understanding of it now is, if I specify ''font-size: 2;'' in my Stylesheet, it is the same as if I wrote ''font-size: 2pt;''&nbsp; So in fact I haven't set the default font size to be ''2'' I have set it to be ''2pt''.&nbsp; In which case, when I highlight a block of text in the ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 30, 2004
  • Re: CuteEditor not Using Sylesheet's Font-Size

    This is useful information (in fact you have already printed this exact post in a thread I created before) but it does not specifically answer my question. &nbsp; Are you implying that the reason for the behavioural inconsistency of the CuteEditor is because of these different ways to set the font size?&nbsp; It would be nice to get a straight ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 30, 2004
  • Re: CuteEditor not Using Sylesheet's Font-Size

    Thanks for the reply. &nbsp; After doing some tests with your code, I realized that I was asking the wrong question. &nbsp; Going back to my example, if you set the CssClass to be EDITORBODY, then the default font for the editor will be Verdana.&nbsp; That is, if you highlight a block of text and change the font to Verdana, then there is no ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 30, 2004
  • CuteEditor not Using Sylesheet's Font-Size

    Hello, &nbsp; I have a stylesheet linked to the same page that a CuteEditor is on.&nbsp; I set the CssClass of the editor to be EDITORBODY where... &nbsp; .EDITORBODY { &nbsp;&nbsp;&nbsp; font-family: Verdana; &nbsp;&nbsp;&nbsp; font-size: 2; } &nbsp; If I change the font-family and re-load my page, the default font used by the ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 30, 2004
  • Re: Source Code: Setting the Font Size List

    Sorry, I should have done more testing rather than writing a new message for each bug.&nbsp; Anyway, with the given code once a block of text has had its size changed, you can't change it again.&nbsp; That is, say I change a block to be 12px, but then change it again to 16px, the resulting html looks like this... &nbsp; &lt;font ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 29, 2004
  • Re: Source Code: Setting the Font Size List

    Would also like to add that it does some terrible things to the html code when you start switching different attributes (like font face and size) to the same section of text.&nbsp; Any hope of being able to fix this? &nbsp; Off Topic: Looks like there's something wrong&nbsp;with the Edit functionality of the forum (which is why I created another ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 29, 2004
  • Re: Source Code: Setting the Font Size List

    Hello, &nbsp; I'm looking for help to further change the above code for a custom DropDownList.&nbsp; Using the Font Face DropDownList as an example, after someone has highlighted some text and chosen their font face, the selection of text remains highlighted and the DropDownList goes back to having ''Font'' selected.&nbsp; Any ideas how to mimic ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 29, 2004
  • Re: How does the StyleDropDown work? (attaching styles to it)

    &nbsp;Aluminum wrote:1) Where do the style names and classes come from to populate the menu? You can populate the menu yourself by grabbing the wanted dropdownlist and adding whatever items you want. &nbsp;&nbsp;&nbsp;&nbsp; Editor1.StyleDropDown.Items.Add(''Text'', ''Value''); Where ''Text'' is what will appear in the DropDownList and ...
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 14, 2004
  • Re: Source Code: Setting the Font Size List

    Eeep my bad. &nbsp; I accidently pasted sel.text rather than sel.htmlText.&nbsp; Once I corrected that it seems to work :) &nbsp; Thanks for the help
    Posted to Cute Editor for .NET (Forum) by EvilMonkey on July 12, 2004
1 2 Next >