Implement plugin

This commit is contained in:
Sauli Anto
2019-08-31 20:48:37 +03:00
commit 13a10dcfdd
16 changed files with 3813 additions and 0 deletions

35
theme/mathform.css Normal file
View File

@@ -0,0 +1,35 @@
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
.ck.ck-math-form {
display: flex;
align-items: flex-start;
flex-direction: row;
flex-wrap: nowrap;
@mixin ck-media-phone {
flex-wrap: wrap;
& .ck-math-view {
flex-basis: 100%;
& .ck-labeled-input {
flex-basis: 100%;
}
& .ck-label {
flex-basis: 100%;
}
}
& .ck-button {
flex-basis: 50%;
}
}
}
/* FIXME: mathjax isn't working with .ck.ck-reset_all * without this fix*/
.ck.ck-math-preview * {
vertical-align: initial;
text-align: center;
}