   category: -> Session.get("storyCategory")
 
 # Template.create.events
-#     "mousedown": ->
-#         Session.set("formatting", false)
-#     "mouseup": ->
-#         if window.getSelection
-#             text = window.getSelection().toString()
-#         else if (typeof document.selection and document.selection.type is "Text")
-#             text = document.selection.createRange().text
-#         if text
-#             Session.set("formatting", true)
-#             console.log "TEXT:", text
-#             coords = getSelectionCoords()
-#             Session.set("formattingTop", coords.y)
-#             Session.set("formattingLeft", coords.x)
+#   "mousedown": ->
+#     Session.set("formatting", false)
+#   "mouseup": ->
+#     if window.getSelection
+#       text = window.getSelection().toString()
+#     else if (typeof document.selection and document.selection.type is "Text")
+#       text = document.selection.createRange().text
+#     if text
+#       Session.set("formatting", true)
+#       console.log "TEXT:", text
+#       coords = getSelectionCoords()
+#       Session.set("formattingTop", coords.y)
+#       Session.set("formattingLeft", coords.x)
 
 Template.formatting.helpers
   top: -> Session.get("formattingTop") - 60
   left: -> Session.get("formattingLeft")
 
 # Template.vertical_narrative.helpers
-#     verticalSections: -> Session.get('verticalSections')
+#   verticalSections: -> Session.get('verticalSections')
 
 #######################
 # Adding Sections

    return

  # editor.clickingIntoArchorForm = (e) ->
  #     self = this
  #     console.log e
  #     # console.log e.type

  #     # console.log $(self.contextAnchorForm).has(e.target)
  #     if e.type and e.type.toLowerCase() is "blur" and e.relatedTarget and e.relatedTarget in [self.anchorInput, self.contextAnchorForm]
  #         return true
  #     else
  #         return false

  # End of monkey patches




# Template.create_section_options.events
#   "click div#back": (d) ->
#     srcE = if d.srcElement then d.srcElement else d.target
#     parentSection = $(srcE).closest('section')
#     parentSection.empty()
#     UI.insert(UI.render(Template.horizontal_section_buttons), parentSection.get(0))

Template.create_text_section.events
  "click div#save": (d) ->
