ผลต่างระหว่างรุ่นของ "ผู้ใช้:ZilentFyld/Zilentscriptwp.js"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
ZilentFyld (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
ZilentFyld (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
บรรทัด 286:
'emoticons': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Emoticons',
'facesgroups': {
// or 'labelMsg': 'section-emoticons-label' for a localized label
'smilefaces': {
}
'label': 'Faces' // or use labelMsg for a localized label, see above
}
},
} );
'template':{
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'tools': {
'section': 'emoticons',
'groupssmile': {
label: 'Smile!', // or use labelMsg for a localized label, see above
'faces': {
type: 'button',
'label': 'Faces' // or use labelMsg for a localized label, see above
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',
}
action: {
}
type: 'encapsulate',
} );
options: {
});
pre: ":)" // text to be inserted
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
}
'section': 'emoticons',
}
'group': 'faces',
}
'tools': {
}
'smile': {
label: 'Smile!', // or use labelMsg for a localized label, see above
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Gnome-face-smile.svg/22px-Gnome-face-smile.svg.png',
action: {
type: 'encapsulate',
options: {
pre: ":)" // text to be inserted
}
}
}
}
} );
 
 
function searchEng(title) {