Bold heading? & fontsize?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngrichtextbox' list.


Kristof Van Hees
When working with the demo, I noticed two little errors (or so I presume)

1. When you select the text “Type here…”, change the style of the paragraph
to (for example) “heading 1”. The text will become correctly shown. Now
select from the text in the richtextbox “Text” and press the “Bold” button
=>
this doesn’t do anything?

2. when you select some text and set it to fontsize 2. Press the button to
convert to html : notice within the HTML the part “<font size=2>”, now
change
the fontsize to 3 and press the convert-to-html button again => no size is
specified?

just fooling around with it a bit

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

Reply to this message...
 
    
Ollie Cornes

Hi Kristof,

The bold isn't applied to H1 because that paragraph style is already bold.
If you need more granular control over the paragraph formatting, check out
the stylesheet property :
http://www.richtextbox.com/richtextbox/docs/v1.0/RichTextBoxControl.RichText
Box.EditorWysiwygModeCss.html

The font size is not being displayed as size=3 because that's the size
already applied to the text, it doesn't need to be reapplied. You'll notice
if you manually add the HTML for size="3" that it has no impact on the text,
this HTML is not necessary.

Ollie
--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address]On Behalf Of
Kristof Van Hees
Sent: 11 June 2002 13:00
To: aspngrichtextbox
Subject: [aspngrichtextbox] Bold heading? & fontsize?

When working with the demo, I noticed two little errors (or so I presume)

1. When you select the text “Type here…”, change the style of the paragraph
to (for example) “heading 1”. The text will become correctly shown. Now
select from the text in the richtextbox “Text” and press the “Bold” button
=>
this doesn’t do anything?

2. when you select some text and set it to fontsize 2. Press the button to
convert to html : notice within the HTML the part “<font size=2>”, now
change
the fontsize to 3 and press the convert-to-html button again => no size is
specified?

just fooling around with it a bit

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

Reply to this message...
 
    
Eric Greenberg
Ollie,

do we have access to the onClick event of individual toolbar controls? I
would like to modify some of the behavior associated with them, because I
understand that as of now, we cannot add custom controls to the toolbar.

Reply to this message...
 
    
Ollie Cornes

Hi Eric,

Sorry, what you describe is not currently possible.

Ollie
--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address]On Behalf Of Eric
Greenberg
Sent: 11 June 2002 19:44
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Bold heading? & fontsize?

Ollie,

do we have access to the onClick event of individual toolbar controls? I
would like to modify some of the behavior associated with them, because I
understand that as of now, we cannot add custom controls to the toolbar.

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com