8718
ediciones
m (fixing reference error) |
m |
||
/* Your code goes here */
// New 'toolbar' section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'type': 'toolbar', // Can also be 'booklet'
'label': 'Emoticons'
}
}
} );
// New group example
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
'groups': {
'faces': {
'label': 'Faces'
}
}
} );
// Button example
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'emoticons',
} );
// New 'booklet' section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
} );
// Add booklet page of text to existing section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'info',
'label': 'Colors',
'headings': [
{ text: 'Name' },
{ text: 'Temperature' },
{ text: 'Swatch' }
} );
// Add booklet page of buttons to existing section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'info',
} );
// Add new booklet section with pages of encapsulating buttons
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
|
ediciones