I’m writting my own rich text editor in javascript
formatBlock requires a tag-name string. I mean all the tag-name strings.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Despite not really knowing what you’re after (see my comment), it seems that you want to know more about what is possible with the
execCommandmethod. As usual, the Mozilla docs have a good reference:Rich-Text Editing in Mozilla
Of course, this only lists the commands that Firefox understands. The list of “command identifiers” that IE supports is given here.