mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Added basic system tests for markdown editor, Added extra test helpers
Added test helpers for checking if an element exists / does not exist on a page. Also fixed markdown editor bugs found while creating tests.
This commit is contained in:
@ -57,6 +57,9 @@
|
||||
padding: 0 $-m 0;
|
||||
margin-left: -1px;
|
||||
overflow-y: scroll;
|
||||
.page-content {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
.editor-toolbar {
|
||||
|
@ -68,7 +68,9 @@
|
||||
<div class="editor-toolbar">
|
||||
<div class="">Preview</div>
|
||||
</div>
|
||||
<div class="markdown-display page-content" ng-bind-html="displayContent"></div>
|
||||
<div class="markdown-display">
|
||||
<div class="page-content" ng-bind-html="displayContent"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user