Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmakmun committed Nov 24, 2018
1 parent 1b08067 commit 28b9478
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions martor/static/martor/css/martor.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ form .martor-preview {
border: none!important;
}
/* live preview */
.enable-living form .martor-preview {
form .enable-living .martor-preview {
display: block !important;
}
.enable-living .tab-martor-menu a.item {
form .enable-living .tab-martor-menu a.item {
display: none !important;
}
2 changes: 1 addition & 1 deletion martor/static/martor/css/martor.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions martor_demo/martor_demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['*']
MARTOR_ENABLE_CONFIGS = {
'imgur': 'true', # to enable/disable imgur/custom uploader.
'mention': 'false', # to enable/disable mention
'jquery': 'true', # to include/revoke jquery (require for admin default django)
'living': 'true', # to enable/disable live updates in preview
}

# Application definition
INSTALLED_APPS = [
Expand Down

0 comments on commit 28b9478

Please sign in to comment.