开发者

in execCommand, How can i know all the available para for the formatblock command?

I'm 开发者_StackOverflow社区writting my own rich text editor in javascript

formatBlock requires a tag-name string. I mean all the tag-name strings.


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 execCommand method. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜