Skip to content

Commit

Permalink
Add a horizontal row after the menu and change the text to preview
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaswal committed Sep 23, 2015
1 parent b40a6e4 commit 19e0b15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/wysiwyg.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ var template = "<div class=\"tinyeditor\">" +
"<div style=\"clear: both;\"></div>" +
"</div>" +
"<div class=\"sizer\" ce-resize>" +
"<hr/>" +
"<textarea data-placeholder-attr=\"\" style=\"-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; resize: none; width: 100%; height: 100%;\" ng-show=\"editMode\" ng-model=\"content\"></textarea> <iframe style=\"-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; height: 100%;\" ng-hide=\"editMode\" wframe=\"\" ng-model=\"content\"></iframe> </div>" +
"<div class=\"tinyeditor-footer\">" +
"<div ng-switch=\"editMode\" ng-click=\"editMode = !editMode\" class=\"toggle\"><span ng-switch-when=\"true\">wysiwyg</span><span ng-switch-default>source</span></div>" +
"<div ng-switch=\"editMode\" ng-click=\"editMode = !editMode\" class=\"toggle\"><span ng-switch-when=\"true\">Preview</span><span ng-switch-default>Source</span></div>" +
"</div>" +
"</div>";

Expand Down

0 comments on commit 19e0b15

Please sign in to comment.