File tree Expand file tree Collapse file tree 9 files changed +18
-18
lines changed
Expand file tree Collapse file tree 9 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v2
13- - run : npm install
14- - run : npm --prefix=reactjs install
15- - run : npm --prefix=nextjs install
13+ - run : npm install --legacy-peer-deps
14+ - run : npm --prefix=reactjs install --legacy-peer-deps
15+ - run : npm --prefix=nextjs install --legacy-peer-deps
1616 - run : npm run demo
1717 - uses : peaceiris/actions-gh-pages@v3
1818 with :
Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v2
1010 - uses : actions/setup-node@v2
11- - run : npm install
11+ - run : npm install --legacy-peer-deps
1212 - run : npm run lint
1313 - run : npm run test
Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
77
88 <!-- KaTeX dependency -->
9- < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/katex@0.13.18 /dist/katex.min.css " integrity ="sha256-M6KFoDq9eUpmogkDgw6+3R3ZgUPSuFXnQyr8tskSfQs= " crossorigin ="anonymous ">
10- < script src ="https://cdn.jsdelivr.net/npm/katex@0.13.18 /dist/katex.min.js " integrity ="sha256-FyuFDgL3AT2Wi7dlv82fSVvxe2rPx1rRSVtMOWeRp6k= " crossorigin ="anonymous "> </ script >
9+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/katex@0.16.2 /dist/katex.min.css " integrity ="sha384-bYdxxUwYipFNohQlHt0bjN/LCpueqWz13HufFEV1SUatKs1cm4L6fFgCi1jT643X " crossorigin ="anonymous ">
10+ < script src ="https://cdn.jsdelivr.net/npm/katex@0.16.2 /dist/katex.min.js " integrity ="sha384-Qsn9KnoKISj6dI8g7p1HBlNpVx0I8p1SvlwOldgi3IorMle61nQy4zEahWYtljaz " crossorigin ="anonymous "> </ script >
1111
1212 <!-- Quill dependency -->
1313 < link rel ="
stylesheet "
href ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/quill.snow.css "
integrity ="
sha256-jyIuRMWD+rz7LdpWfybO8U6DA65JCVkjgrt31FFsnAE= "
crossorigin ="
anonymous "
> 1414 < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/quill.min.js "
integrity ="
sha256-xnX1c4jTWYY3xOD5/hVL1h37HCCGJx+USguyubBZsHQ= "
crossorigin ="
anonymous "
> </ script > 1515
1616 <!-- MathQuill dependency -->
17- < script src ="
https://cdn.jsdelivr.net/npm/[email protected] .0 /dist/jquery.min.js "
integrity ="
sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4 = "
crossorigin ="
anonymous "
> </ script > 17+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] .1 /dist/jquery.min.js "
integrity ="
sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ = "
crossorigin ="
anonymous "
> </ script > 1818 < link rel ="
stylesheet "
href ="
https://cdn.jsdelivr.net/npm/@edtr-io/[email protected] /build/mathquill.css "
integrity ="
sha256-Qy/E+9TDDKI7fQ+y2hHMCBV96QiZs9mXWMOrD+/14IU= "
crossorigin ="
anonymous "
> 1919 < script src ="
https://cdn.jsdelivr.net/npm/@edtr-io/[email protected] /build/mathquill.min.js "
integrity ="
sha256-1XldAnavTLoExr6gc0l1JD8cIzqRYhbi1eksEWsYdpY= "
crossorigin ="
anonymous "
> </ script > 2020
Original file line number Diff line number Diff line change 44 "homepage" : " https://justamouse.com/mathquill4quill/nextjs" ,
55 "private" : true ,
66 "dependencies" : {
7- "jquery" : " ^ 3.6.0 " ,
8- "katex" : " ^0.13.18 " ,
9- "mathquill" : " ^0.10.1-a " ,
7+ "jquery" : " 3.6.1 " ,
8+ "katex" : " 0.16.2 " ,
9+ "@edtr-io/ mathquill" : " 0.11.0 " ,
1010 "mathquill4quill" : " file:.." ,
1111 "next" : " 11.1.2" ,
1212 "react" : " 17.0.2" ,
Original file line number Diff line number Diff line change 11import "../styles/globals.css" ;
22import "katex/dist/katex.min.css" ;
3- import "mathquill/build/mathquill.css" ;
3+ import "@edtr-io/ mathquill/build/mathquill.css" ;
44import "mathquill4quill/mathquill4quill.css" ;
55import "react-quill/dist/quill.snow.css" ;
66
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if (typeof window !== "undefined") {
77 window . katex = katex ;
88 window . jQuery = window . $ = $ ;
99 const mathquill4quill = require ( "mathquill4quill" ) ;
10- require ( "mathquill/build/mathquill.js" ) ;
10+ require ( "@edtr-io/ mathquill/build/mathquill.js" ) ;
1111}
1212
1313class QuillEditor extends React . Component {
Original file line number Diff line number Diff line change 2929 "@babel/cli" : " ^7.5.5" ,
3030 "@babel/core" : " ^7.5.5" ,
3131 "@babel/preset-env" : " ^7.5.5" ,
32- "chromedriver" : " ^94 .0.0" ,
32+ "chromedriver" : " ^106 .0.0" ,
3333 "concurrently" : " ^4.1.1" ,
3434 "csso-cli" : " ^3.0.0" ,
3535 "eslint" : " ^7.11.0" ,
Original file line number Diff line number Diff line change 44 "homepage" : " https://justamouse.com/mathquill4quill/reactjs" ,
55 "private" : true ,
66 "dependencies" : {
7- "jquery" : " ^3.4 .1" ,
8- "katex" : " ^0.13 .2" ,
9- "mathquill" : " ^0.10.1 " ,
7+ "jquery" : " 3.6 .1" ,
8+ "katex" : " 0.16 .2" ,
9+ "@edtr-io/ mathquill" : " 0.11.0 " ,
1010 "mathquill4quill" : " file:.." ,
1111 "react" : " ^17.0.2" ,
1212 "react-dom" : " ^17.0.2" ,
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import "react-quill/dist/quill.snow.css";
99
1010// MathQuill dependency
1111import "./jquery" ;
12- import "mathquill/build/mathquill.js" ;
13- import "mathquill/build/mathquill.css" ;
12+ import "@edtr-io/ mathquill/build/mathquill.js" ;
13+ import "@edtr-io/ mathquill/build/mathquill.css" ;
1414
1515// mathquill4quill include
1616import mathquill4quill from "mathquill4quill" ;
You can’t perform that action at this time.
0 commit comments