-
 # ------------------------------------------------------------------------------
 # METHODS
+
+getBlogTags = (tags) ->
+  if typeof tags is 'string'
+    []
+  else
+    tags
 
 
 # Reads image dimensions and takes a callback callback passes params (width,


  attrs =
    title: $('[name=title]', $form).val()
    tags: $('[name=tags]', $form).val()
    slug: slug
    description: $('[name=description]', $form).val()
    body: body

  @autorun =>
    if @subsReady.get()
      Meteor.defer =>
# Wait a tick for template to re-render
        post = Blog.Post.first(@id.get())
        if post?
# Load post body initially, if any
          @$('.editable').html post.body
          @$('.html-editor').html post.body

