看看这篇http://www.csdn.net/expert/topic/616/616670.xml?temp=.324444

解决方案 »

  1.   

    http://www.csdn.net/Develop/Add_Article.asp
      

  2.   

    是HTML编辑器吧。满街都是,呵呵。。
      

  3.   

    可以给我吗?
    [email protected]
      

  4.   

    <html>
    <head>
    <SCRIPT LANGUAGE='Javascript' type='text/javascript' src='DHTMLEditor.js'></SCRIPT>
    <SCRIPT LANGUAGE='Javascript' type='text/javascript'>
    function initLoad(){
    DECMD_BOLD=5000;
    DECMD_COPY=5002;
    DECMD_CUT=5003;
    DECMD_DELETE=5004;
    DECMD_DELETECELLS=5005;
    DECMD_DELETECOLS=5006;
    DECMD_DELETEROWS=5007;
    DECMD_FINDTEXT=5008;
    DECMD_FONT=5009;
    DECMD_GETBACKCOLOR=5010;
    DECMD_GETBLOCKFMT=5011;
    DECMD_GETBLOCKFMTNAMES=5012;
    DECMD_GETFONTNAME=5013;
    DECMD_GETFONTSIZE=5014;
    DECMD_GETFORECOLOR=5015;
    DECMD_HYPERLINK=5016;
    DECMD_IMAGE=5017;
    DECMD_INDENT=5018;
    DECMD_INSERTCELL=5019;
    DECMD_INSERTCOL=5020;
    DECMD_INSERTROW=5021;
    DECMD_INSERTTABLE=5022;
    DECMD_ITALIC=5023;
    DECMD_JUSTIFYCENTER=5024;
    DECMD_JUSTIFYLEFT=5025;
    DECMD_JUSTIFYRIGHT=5026;
    DECMD_LOCK_ELEMENT=5027;
    DECMD_MAKE_ABSOLUTE=5028;
    DECMD_MERGECELLS=5029;
    DECMD_ORDERLIST=5030;
    DECMD_OUTDENT=5031;
    DECMD_PASTE=5032;
    DECMD_REDO=5033;
    DECMD_REMOVEFORMAT=5034;
    DECMD_SELECTALL=5035;
    DECMD_SEND_BACKWARD=5036;
    DECMD_BRING_FORWARD=5037;
    DECMD_SEND_BELOW_TEXT=5038;
    DECMD_BRING_ABOVE_TEXT=5039;
    DECMD_SEND_TO_BACK=5040;
    DECMD_BRING_TO_FRONT=5041;
    DECMD_SETBACKCOLOR=5042;
    DECMD_SETBLOCKFMT=5043;
    DECMD_SETFONTNAME=5044;
    DECMD_SETFONTSIZE=5045;
    DECMD_SETFORECOLOR=5046;
    DECMD_SPLITCELL=5047;
    DECMD_UNDERLINE=5048;
    DECMD_UNDO=5049;
    DECMD_UNLINK=5050;
    DECMD_UNORDERLIST=5051;
    DECMD_PROPERTIES=5052;

    OLECMDEXECOPT_DODEFAULT=0;
    OLECMDEXECOPT_PROMPTUSER=1;
    OLECMDEXECOPT_DONTPROMPTUSER=2;
    }
    </SCRIPT><STYLE TYPE='text/css'>
    #forePalette {position: absolute; display: none; margin-top: 25; margin-left: 310; height: 186px; width: 172;}
    </STYLE>
    </head>
    <body onload='initLoad();'>
    <a href='javascript:tbContentElement.ExecCommand(5000,0)'>Bold</a><OBJECT ID='tbContentElement' CLASS='tbContentElement' CLASSID='clsid:2D360201-FFF5-11D1-8D03-00A0C959BC0A' VIEWASTEXT>
    <PARAM NAME=Scrollbars VALUE=true>
    </OBJECT><OBJECT ID='ObjTableInfo' CLASSID='clsid:47B0DFC7-B7A3-11D1-ADC5-006008A5848C' STYLE='visibility:hidden'></OBJECT>
    <object id='forePalette' type='text/x-scriptlet' data='colorPicker.html'></object>
    <script type='text/javascript' for='forePalette' event='onscriptletevent(name, eventData)'>
    switch(name) {
    case 'colorchange':
    tbContentElement.ExecCommand(DECMD_SETFORECOLOR,OLECMDEXECOPT_DODEFAULT,eventData);
    forePaletteToggle();
    }
    </script><a href='JAVASCRIPT:alert(tbContentElement.FilterSourceCode(tbContentElement.DOM.body.outerHTML))'>Source</A>
    </body></html>
      

  5.   

    谁有象CSDN上面一样的编辑器呀,怎么用呀,
    拜托哪位高手指点指点呀!!!!!!!!
      

  6.   

    我也想要一份,[email protected]谢谢大家
      

  7.   

    高手说说csdn上的编辑器是怎么实现的?那看不到那儿的源代码