mirror of
https://github.com/e107inc/e107.git
synced 2025-04-16 18:42:01 +02:00
TODO added.
This commit is contained in:
parent
e7d8f15fc9
commit
5780ecf84c
@ -22,6 +22,7 @@
|
||||
e.content = t['_' + dialect + '_bbcode2html'](e.content, url);
|
||||
});
|
||||
|
||||
|
||||
// ed.contentCSS.push(url+'/e107.css');
|
||||
|
||||
|
||||
@ -118,7 +119,32 @@
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
// TODO place animate.css options in here --------------
|
||||
ed.addButton('e107-animate', { //TODO MUST added 'e107-animate' button to templates/mainadmin.xml
|
||||
|
||||
type: 'menubutton',
|
||||
|
||||
text: 'todo',
|
||||
|
||||
icon: 'charmap',
|
||||
|
||||
menu: [
|
||||
|
||||
{ text: 'fadeIn', onclick: function() {tinymce.activeEditor.formatter.toggle('alignleft');}}, // TODO get this working to toggle css classes.
|
||||
|
||||
{ text: 'fadeInDown', onclick: function() {tinymce.activeEditor.formatter.toggle('aligncenter');}},
|
||||
|
||||
{ text: 'fadeInDownBig', onclick: function() {tinymce.activeEditor.formatter.toggle('alignright');}},
|
||||
|
||||
{ text: 'fadeInLeft', onclick: function() {tinymce.activeEditor.formatter.toggle('alignjustify');}},
|
||||
|
||||
]
|
||||
|
||||
});
|
||||
|
||||
// -------------------
|
||||
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user