add readonly mode for markdown property editor

This commit is contained in:
Mads Rasmussen
2022-05-03 17:36:38 +02:00
parent f2780d5478
commit 382d91c461
2 changed files with 13 additions and 2 deletions

View File

@@ -20,6 +20,10 @@
width: 100%;
}
.wmd-panel .btn-toolbar-container[readonly] .btn-toolbar {
display: none;
}
/* unset the negative margin applied in button-groups.less to avoid flickering when hovering the button bar */
.wmd-panel .btn-toolbar .btn-group>.btn+.btn {
margin-left: 0;