<?php
this.createToolbar('formatting', {
container: 'bottom',
items: [
{type: 'button', name: 'b', sprite: 'bold', insert: 'b', title: this.options.lang.title_bold},
{type: 'button', name: 'i', sprite: 'italic', insert: 'i', title: this.options.lang.title_italic},
{type: 'button', name: 'u', sprite: 'underline', insert: 'u', title: this.options.lang.title_underline},
{type: 'button', name: 's', sprite: 'strike', insert: 's', image: 'strike.gif', title: 'Tacha el texto'},
{type: 'separator'},
(8 Jan, 2013, 9:34 am)Steeep escribió: Haz seguido algún tutorial? Cual sería?
- - - Actualizado - - -
Creo que no debe llevar esta parte image: 'strike.gif',, pero no estoy seguro..
<?php
.messageEditor .toolbar_button .toolbar_sprite_strike {
background: url(RUTA DE LA IMAGEN/strike.gif) no-repeat;
}
(8 Jan, 2013, 9:45 am)Steeep escribió: Trata quitandole lo que te dije, he estado revisando & a ninguno le he visto eso, creo que la imagen es donde dice sprite pero sin el .gif
- - - Actualizado - - -
Agrega esto en jscripts\editor_themes\(EL QUE USES)\stylesheet.css
Código PHP:<?php
.messageEditor .toolbar_button .toolbar_sprite_strike {
background: url(RUTA DE LA IMAGEN/strike.gif) no-repeat;
}