WebBrowser的问题,如何对段落样式控制,就像Outlook Express 中的editor
WebBrowser中输入Enter生成 <P> </P> ,Shift+Enter生成 <BR> </BR> .怎样Enter生成 <DIV> </DIV> ?
还有
如何对段落样式控制,就像Outlook Express 中的editor.
[解决办法]
顶了再说
[解决办法]
可以考虑用js时间捕捉键盘输入
[解决办法]
DOCHOSTUIFLAG_DIV_BLOCKDEFAULT
MSHTML inserts the div tag if a return is entered in edit mode. Without this flag, MSHTML will use the p tag.
http://msdn2.microsoft.com/en-us/library/aa753277.aspx