HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
URL and H1...H6
Posted by: Kant (---.mtnk.rnc.net.cable.rogers.com)
Date: Saturday, 10-May-2003, 18:26:22

Excellent control. I have few questions.

1. How to make the URL to HTMlize?

ex: [itwriting.com] This one I want to convert like this

<a href="http://itwriting.com/ ">[itwriting.com];


2. Is there any way to change the text from H1 to another H option ex: H3 or H4 tags? (just like Bold and Italic)

I appreciate your answer.

Kant (Newcool smiley

Re: URL and H1...H6
Posted by: James Hancock (---.darwinconsulting.com)
Date: Monday, 12-May-2003, 17:02:15

There are styles that you can set. Check out msdn for the execCommand function. It has a complete break down of all of the commands that you can pass. One of them is this and you pass which tag you would like as one of the parameters.



Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
etNYp
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.