tutorial button
authorJan Szejko <janek37@gmail.com>
Fri, 24 Mar 2017 10:13:16 +0000 (11:13 +0100)
committerJan Szejko <janek37@gmail.com>
Fri, 24 Mar 2017 10:13:16 +0000 (11:13 +0100)
src/editor/modules/data/data.js
src/editor/modules/documentToolbar/template.html

index 919ce68..0c3b23f 100644 (file)
@@ -127,6 +127,7 @@ return function(sandbox) {
     return {
         start: function() {
             var text;
+            $('#tuton').remove();
             if(window.localStorage) {
                 text = window.localStorage.getItem(getLocalStorageKey(data.version).content);
 
index 1c013da..a6f65e6 100644 (file)
@@ -1 +1 @@
-<div class="rng-module-documentToolbar"></div>
+<div class="rng-module-documentToolbar"><div class="toolbar-widget" style="float:right; margin-right:60px;"><button id="tuton" class="btn btn-mini">Tutorial</button></div></div>