2012-12-27 81 views
0

我能夠加下劃線「u」;但我無法添加刪除線「del」。如何在Aloha編輯器中添加刪除線按鈕到工具欄?

<script type="text/javascript" src="https://cdn.aloha-editor.org/latest/lib/require.js"></script> 
<script src="https://cdn.aloha-editor.org/latest/lib/aloha.js" data-aloha-plugins="common/characterpicker,common/format,common/link,common/list,common/paste,common/undo,extra/formatlesspaste"></script> 
<link href="https://cdn.aloha-editor.org/latest/css/aloha.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript"> 

var Aloha = window.Aloha || (window.Aloha = {}); 

Aloha.settings = { 
    plugins: { 
     format: { config : [ "strong", "em" ,"u","del", "s", "p", "h1", "h2", "h3", "h4", "h5", "h6", "pre", "removeFormat"] } 
    }, 
    sidebar: { disabled: true } 
}; 

Aloha.ready(function() { 
    Aloha.jQuery(".editable").aloha(); 
}); 
</script> 

回答

相關問題