BookStack/resources/sass/_tinymce.scss
Dan Brown db4093d523
Got TinyMCE 5 added in barely working state
- Some extensions & custom actions not working.
- Updated anything visual to not be breaking (Icons) and anything
  functional that prevented loading.
2022-02-05 16:57:42 +00:00

52 lines
1.1 KiB
SCSS

.tox.tox-fullscreen {
position: fixed;
top: 0;
height: 100%;
width: 100%;
max-width: 100%;
z-index: 100;
}
.page-content.mce-content-body {
padding-block-start: 1rem;
padding-block-end: 1rem;
outline: 0;
display: block;
}
.page-content.mce-content-body p {
line-height: 1.6;
}
.tox-toolbar__primary {
justify-content: center;
}
/**
* Format Menu Hacks
*/
.tox-menu .tox-collection__item blockquote::before {
content: none;
}
.tox-menu .tox-collection__item blockquote {
border-left: 4px solid var(--color-primary) !important;
padding: 4px 6px !important;
}
.tox-menu .tox-collection__item blockquote {
border-left: 4px solid var(--color-primary) !important;
padding: 4px 6px !important;
}
.tox-menu .tox-collection__item p[style*="background-color"] {
padding: 4px 6px !important;
border-left: 3px solid currentColor !important;
}
.tox-menu .tox-collection__item[title^="<"] > div > div {
font-family: $mono !important;
border: 1px solid #DDD !important;
background-color: #EEE !important;
padding: 4px 6px !important;
}
.tox-menu .tox-collection__item-label {
line-height: normal !important;
}