// Define changes to default configuration here. For example:\r
// config.language = 'fr';\r
// config.uiColor = '#AADC6E';\r
+ \r
+ // toolbar\r
config.toolbar = [\r
{ name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] },\r
{ name: 'colors', items : [ 'TextColor', 'BGColor' ] },\r
{ name: 'insert', items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] },\r
];\r
\r
+ // context menu\r
config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash'\r
\r
config.height = '500px';\r
{
init : function( editor )
{
+ /* Add listener on getData event to compute images
+ src attributes before saving data.
+ */
editor.on('instanceReady', function(){
editor.on('getData',
function(evt) {