Wiki Markup编辑器 nanoWIME
fmms
13年前
<p>nanoWIME是一个基于javascript简单、灵活、易于使用WikiMarkup编辑器。</p> <p><img alt="Wiki Markup编辑器 nanoWIME" src="https://simg.open-open.com/show/83c517e41dca6762a44b11a74350ed06.jpg" width="400" height="141" /><br /> </p> <pre class="brush:javascript; toolbar: true; auto-links: false;">nanoWIME._init({ // General options elementID : "my_textarea", buttonBar1 : "h1,h2,h3,h4,h5,h6,|,ulist,olist,|,bold,italic,underline,strikethrough,sup,sub,nowiki,|,link_intern,link_extern,|,simple_ref,ref_listing", conf : { simple_ref : { title : 'Simple reference [r]', img : 'book_link.png', cssclass : 'button', align : 'middle', elementId : 'toolbar_simpleref_btn', on_mouseover : function() { this.className = 'raised'; }, on_mouseout : function() { this.className = 'button'; }, on_mousedown : function() { this.className = 'pressed'; }, on_mouseup : function() { this.className = 'raised'; }, on_click : function() { var refName = prompt("Name of reference:", ""); var groupName = prompt("Groupname of the reference:", ""); var inString = "<="" ref="">'); }, shortcut: 'r' } } });</pre> <p></p> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1323421529468" target="_blank">http://www.open-open.com/lib/view/home/1323421529468</a></p>