From 5780ecf84c23b6a4aeeb6cbd5d38a7da461cb7e4 Mon Sep 17 00:00:00 2001
From: Cameron <e107inc@gmail.com>
Date: Sun, 29 Oct 2017 14:54:44 -0700
Subject: [PATCH] TODO added.

---
 e107_plugins/tinymce4/plugins/e107/plugin.js | 28 +++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/e107_plugins/tinymce4/plugins/e107/plugin.js b/e107_plugins/tinymce4/plugins/e107/plugin.js
index 293675df9..36e560e27 100644
--- a/e107_plugins/tinymce4/plugins/e107/plugin.js
+++ b/e107_plugins/tinymce4/plugins/e107/plugin.js
@@ -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');}},
+
+            ]
+
+        });
+
+		// -------------------
 			
 		},