mdgaziur / editorjs-latex Goto Github PK
View Code? Open in Web Editor NEWLaTeX block support for EditorJS
Home Page: https://mdgaziur.github.io/EditorJS-LaTeX/example
License: MIT License
LaTeX block support for EditorJS
Home Page: https://mdgaziur.github.io/EditorJS-LaTeX/example
License: MIT License
Hi, Gaziur! Thank you for your work! With this package it is really great and easy to add latex in editor-js in project!
But I am facing an issue, that readOnly mode is not supported in this package. I checked npm registry here (https://www.npmjs.com/package/editorjs-latex?activeTab=code) and checked code in your project GitHub repo, and I see that it is indeed supported (in index.js line 72-74) but npm package doesn't have it. Can you please update package so that readOnly mode will be accessible?
Is there a way of including this in the distributed module instead of having to add it to head after importing?
<script src="https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/mdgaziur/EditorJS-LaTeX@latest/dist/editorjs-latex.bundle-min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mdgaziur/EditorJS-LaTeX@latest/dist/editorjs-latex.bundle.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css"></link>
Module Tools was skipped because of Error: Tool «Math» must be a constructor function or an object with function in the «class» property value https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 value https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 t https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 c https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 _invoke https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 e https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 n https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 s https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 exports https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 exports https://cdn.jsdelivr.net/npm/@editorjs/[email protected]/dist/editor.min.js:6 undefined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.