Commit 8004d9ed authored by csillag's avatar csillag

Add support to markdown editor to suppress tip about markdown syntac

parent d79e26d6
......@@ -54,6 +54,10 @@ markdown = ['$filter', '$timeout', ($filter, $timeout) ->
input = elem.find('textarea')
output = elem.find('div')
# Parse the 'notip' attribute as a boolean attr.
# (If it exists, then it means it's true.)
scope.notip = attr.notip?
# Re-render the markdown when the view needs updating.
ctrl.$render = ->
input.val (ctrl.$viewValue or '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment