1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-16 18:42:01 +02:00

TODO added.

This commit is contained in:
Cameron 2017-10-29 14:54:44 -07:00
parent e7d8f15fc9
commit 5780ecf84c

View File

@ -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');}},
]
});
// -------------------
},