Refactored text panel to use markdown

This commit is contained in:
Rashid Khan
2013-03-05 15:31:46 -07:00
parent 8a521f2a7b
commit c586cbf3d6
4 changed files with 32 additions and 8 deletions
+4 -1
View File
@@ -1,3 +1,6 @@
<kibana-panel ng-controller='text' ng-init="init()">
<p ng-show='!panel.allowhtml' ng-style="panel.style" ng-bind-html-unsafe="panel.content | striphtml | newlines"></p>
<!--<p ng-style="panel.style" ng-bind-html-unsafe="panel.content | striphtml | newlines"></p>-->
<markdown>
{{panel.content}}
</markdown>
</kibana-panel>