version 1.74, 2004/06/04 16:05:47
|
version 1.75, 2004/06/05 14:46:12
|
Line 897 sub htmlareaaddbuttons {
|
Line 897 sub htmlareaaddbuttons {
|
config.registerButton('ed_math_eqn','LaTeX Equation', |
config.registerButton('ed_math_eqn','LaTeX Equation', |
'/htmlarea/images/ed_math_eqn.gif',false, |
'/htmlarea/images/ed_math_eqn.gif',false, |
function(editor,id) { |
function(editor,id) { |
editor.surroundHTML('<br /><m>\\\\[','\\\\]</m><br />'); |
editor.surroundHTML( |
|
'<center><m>\\\\[','\\\\]</m></center>'); |
} |
} |
); |
); |
config.toolbar.push(['ed_math','ed_math_eqn']); |
config.toolbar.push(['ed_math','ed_math_eqn']); |