Nicedit、特に「removeFormat」機能を回避しようとしています。
問題は、以下のコードで「removeFormat」メソッドのソース コードが見つからないことです。JS 構文は私には奇妙に見えます。誰かが私を助けることができますか?
コードが長すぎます。Niceedit はこちら : http://nicedit.com/download.php
「ソースコードのremoveFormat」について私が見つけたものは次のとおりです。しかし、「removeformat」コマンドはありません??! :
var nicEditorConfig = bkClass.extend({
buttons: {
'removeformat': {
name: __('Supprimer la mise en forme'),
command: 'removeformat',
noActive: true
}
},
iconsPath: 'http://js.nicedit.com/nicEditIcons-latest.gif',
buttonList: ['save', 'bold', 'italic', 'underline', 'left', 'center', 'right', 'justify', 'ol', 'ul', 'fontSize', 'fontFamily', 'fontFormat', 'indent', 'outdent', 'image', 'upload', 'link', 'unlink', 'forecolor', 'bgcolor'],
iconList: {
"xhtml": 1,
"bgcolor": 2,
"forecolor": 3,
"bold": 4,
"center": 5,
"hr": 6,
"indent": 7,
"italic": 8,
"justify": 9,
"left": 10,
"ol": 11,
"outdent": 12,
"removeformat": 13,
"right": 14,
"save": 25,
"strikethrough": 16,
"subscript": 17,
"superscript": 18,
"ul": 19,
"underline": 20,
"image": 21,
"link": 22,
"unlink": 23,
"close": 24,
"arrow": 26,
"upload": 27,
"question":2
}
});`