بەکارھێنەر:Muhammed taha/common.js: جیاوازیی نێوان پێداچوونەوەکان
ناوەڕۆکی سڕاو ناوەڕۆکی زیادکراو
ب تاگی شێواز تاگ: گەڕێندراوە |
ب پەڕەکەی واڵا کردەوە تاگەکان: واڵاکردنەوە گەڕاندنەوەی دەستی |
||
ھێڵی ١: | ھێڵی ١: | ||
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
section: 'main', |
|||
groups: { |
|||
list: { |
|||
tools: { |
|||
templates: { |
|||
label: 'Templates', |
|||
type: 'select', |
|||
list: { |
|||
'Ping-button': { |
|||
label: '{{Ping}}', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: '{{Ping|', |
|||
post: '}}' |
|||
} |
|||
} |
|||
}, |
|||
'Clear-button': { |
|||
label: 'Clear', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: '{{Clear}}' |
|||
} |
|||
} |
|||
}, |
|||
'Done-button': { |
|||
label: 'Done', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: '{{Done}}' |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} ); |