Commit dfc46eb2 authored by RawKStar77's avatar RawKStar77

Rebase to latest master, and implement some of Aron's suggestions.

parent ef978599
###*
# @ngdoc directive
# @name markdown
# @restrict C
# @restrict A
# @description
# This directive controls both the rendering and display of markdown in annotations, as well as
# the markdown editor.
......@@ -248,7 +248,7 @@ markdown = ['$filter', '$timeout', ($filter, $timeout) ->
unless readonly then $timeout -> input.focus()
require: '?ngModel'
restrict: 'C'
restrict: 'A'
scope:
readonly: '@'
required: '@'
......
......@@ -49,7 +49,7 @@ privacy {
top: 2px;
}
.markdown {
[markdown] {
.preview {
overflow: auto;
border: 1px solid $gray-lighter;
......@@ -59,7 +59,7 @@ privacy {
resize: vertical;
}
.markdowntools {
.markdown-tools {
margin-top: 10px;
border-top: 1px solid #D3D3D3;
border-left: 1px solid #D3D3D3;
......@@ -76,15 +76,15 @@ privacy {
-ms-user-select: none;
&.disable {
i {
.markdown-tools-button {
color: $gray-lighter;
pointer-events: none;
}
}
i {padding: 5px;}
.markdown-tools-button {padding: 5px;}
i, a {
.markdown-tools-button, .markdown-tools-toggle, .icon-markdown {
color: $gray;
&:hover {
......
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