Skip to content
Merged

Dev #69

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Bryan A. Jones.
# Copyright (C) 2025 Bryan A. Jones.
#
# This file is part of the CodeChat Editor.
#
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Bryan A. Jones.
# Copyright (C) 2025 Bryan A. Jones.
#
# This file is part of the CodeChat Editor.
#
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Contributions to the code are welcome and encouraged!
License
-------

Copyright (C) 2022 Bryan A. Jones.
Copyright (C) 2025 Bryan A. Jones.

This file is part of the CodeChat Editor.

Expand Down
2 changes: 1 addition & 1 deletion builder/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Bryan A. Jones.
# Copyright (C) 2025 Bryan A. Jones.
#
# This file is part of the CodeChat Editor.
#
Expand Down
2 changes: 1 addition & 1 deletion builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Bryan A. Jones.
# Copyright (C) 2025 Bryan A. Jones.
#
# This file is part of the CodeChat Editor.
#
Expand Down
8 changes: 4 additions & 4 deletions builder/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2023 Bryan A. Jones.
// Copyright (C) 2025 Bryan A. Jones.
//
// This file is part of the CodeChat Editor. The CodeChat Editor is free
// software: you can redistribute it and/or modify it under the terms of the GNU
Expand Down Expand Up @@ -311,13 +311,13 @@ fn patch_client_npm() -> io::Result<()> {
// Copy across the parts of MathJax that are needed, since bundling it is
// difficult.
quick_copy_dir(
"../client/node_modules/mathjax/",
"../client/node_modules/@mathjax/src/bundle/",
"../client/static/mathjax",
None,
)?;
quick_copy_dir(
"../client/node_modules/mathjax-modern-font/chtml/",
"../client/static/mathjax-modern-font/chtml",
"../client/node_modules/@mathjax/mathjax-newcm-font/chtml/",
"../client/static/mathjax-newcm-font/chtml",
None,
)?;
// Copy over the graphviz files needed.
Expand Down
2 changes: 1 addition & 1 deletion client/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Bryan A. Jones.
# Copyright (C) 2025 Bryan A. Jones.
#
# This file is part of the CodeChat Editor.
#
Expand Down
2 changes: 1 addition & 1 deletion client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 Bryan A. Jones.
# Copyright (C) 2025 Bryan A. Jones.
#
# This file is part of the CodeChat Editor.
#
Expand Down
2 changes: 1 addition & 1 deletion client/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2023 Bryan A. Jones.
// Copyright (C) 2025 Bryan A. Jones.
//
// This file is part of the CodeChat Editor. The CodeChat Editor is free
// software: you can redistribute it and/or modify it under the terms of the GNU
Expand Down
2 changes: 1 addition & 1 deletion client/.prettierrc.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2023 Bryan A. Jones.
// Copyright (C) 2025 Bryan A. Jones.
//
// This file is part of the CodeChat Editor. The CodeChat Editor is free
// software: you can redistribute it and/or modify it under the terms of the GNU
Expand Down
110 changes: 73 additions & 37 deletions client/package-lock.json

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

8 changes: 4 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codechat-editor-client",
"version": "0.1.22",
"version": "0.1.24",
"description": "The CodeChat Editor Client, part of a web-based literate programming editor (the CodeChat Editor).",
"homepage": "https://github.com/bjones1/CodeChat_Editor",
"type": "module",
Expand Down Expand Up @@ -43,12 +43,12 @@
"@codemirror/view": "^6",
"codemirror": "^6",
"graphviz-webcomponent": "^2",
"mathjax": "4.0.0-beta.7",
"mathjax-modern-font": "4.0.0-beta.7",
"@mathjax/mathjax-newcm-font": "4.0.0-rc.4",
"@mathjax/src": "4.0.0-rc.4",
"mermaid": "^11",
"npm-check-updates": "^18",
"pdfjs-dist": "^5",
"tinymce": "^7"
"tinymce": "^8"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion client/src/CodeChatEditor-test.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2023 Bryan A. Jones.
// Copyright (C) 2025 Bryan A. Jones.
//
// This file is part of the CodeChat Editor. The CodeChat Editor is free
// software: you can redistribute it and/or modify it under the terms of the GNU
Expand Down
5 changes: 2 additions & 3 deletions client/src/CodeChatEditor.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2023 Bryan A. Jones.
// Copyright (C) 2025 Bryan A. Jones.
//
// This file is part of the CodeChat Editor. The CodeChat Editor is free
// software: you can redistribute it and/or modify it under the terms of the GNU
Expand Down Expand Up @@ -118,7 +118,6 @@ declare global {
allow_navigation: boolean;
};
CodeChatEditor_test: any;
MathJax: any;
}
}

Expand Down Expand Up @@ -248,7 +247,7 @@ const _open_lp = async (
// Disable autosave when updating the document.
autosaveEnabled = false;
clearAutosaveTimer();
// Before calling any MathJax, make sure it's fully loaded.
// Before calling any MathJax, make sure it's fully loaded and the initial render is finished.
await window.MathJax.startup.promise;
// Per
// the[docs](https://docs.mathjax.org/en/latest/web/typeset.html#updating-previously-typeset-content),
Expand Down
2 changes: 1 addition & 1 deletion client/src/CodeChatEditorFramework.mts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2023 Bryan A. Jones.
// Copyright (C) 2025 Bryan A. Jones.
//
// This file is part of the CodeChat Editor. The CodeChat Editor is free
// software: you can redistribute it and/or modify it under the terms of the GNU
Expand Down
Loading
Loading