14 089
ediciones
m (Working on adding a dropdown for reference templates) |
m (Added a lot of reference templates to dropdown) |
||
});
//Add new references dropdown
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
list: {
tools: {
label: '
type: 'select',
list: {
'
label: '{{
action: {
type: 'encapsulate',
options: {
pre: '{{
post: '}}'
}
}
},
'
label: '
action: {
type: 'encapsulate',
options: {
pre: '{{
post: '}}'
}
}
post: '}}'
}
}
},
'epigraph-button': {
}▼
label: '{{epigraph ref}}',
}▼
action: {
type: 'encapsulate',
} );▼
options: {
pre: '{{epigraph ref|',
post: '}}'
}
}
},
'au-button': {
label: '{{au ref}}',
action: {
type: 'encapsulate',
options: {
pre: '{{au ref|',
post: '}}'
}
}
},
'msh-button': {
label: '{{msh ref}}',
action: {
type: 'encapsulate',
options: {
pre: '{{msh ref|',
post: '}}'
}
}
},
'file-button': {
label: '{{file ref}}',
action: {
type: 'encapsulate',
options: {
pre: '{{file ref|',
post: '}}'
}
}
},
'url-button': {
label: '{{url ref}}',
action: {
type: 'encapsulate',
options: {
pre: '{{url ref|',
post: '}}'
}
}
}
}
}
▲ }
▲ }
}
▲ } );
};
|