bugfix and cleanup #90

Merged
eb2342s merged 5 commits from feature/bugfix-and-cleanup into dev 2025-01-06 16:30:49 +01:00
Showing only changes of commit 7c61979dbc - Show all commits

View File

@@ -425,7 +425,24 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
</form> </form>
</div> </div>
<script> <script>
function renderFormulas() {
renderMathInElement(document.body, {
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "\\(", right: "\\)", display: false},
{left: "\\begin{equation}", right: "\\end{equation}", display: true},
{left: "\\begin{array}", right: "\\end{array}", display: true},
{left: "\\begin{align}", right: "\\end{align}", display: true},
{left: "\\begin{alignat}", right: "\\end{alignat}", display: true},
{left: "\\begin{gather}", right: "\\end{gather}", display: true},
{left: "\\begin{CD}", right: "\\end{CD}", display: true},
{left: "\\[", right: "\\]", display: true}
],
throwOnError : false
});
}
renderFormulas();
const quill = new Quill('#quillEditor', { const quill = new Quill('#quillEditor', {
modules: { modules: {