Code Monkey home page Code Monkey logo

editorjs-latex's People

Contributors

donarrillo avatar mdgaziur avatar nativeanish avatar raghuramsadineni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

editorjs-latex's Issues

Can't access readOnly mode in LaTex package

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?

The requested module does not provide an export named 'default'.

I have installed this package using yarn add editorjs-latex and I got this error.

Screenshot 2023-07-31 at 1 21 18 PM

I have checked the package source code and it seems to be true:

Screenshot 2023-07-31 at 1 23 34 PM

I know there are other packages which have fixed this issue but, Can someone update the package in npm registry?

Possibility to integrate head tags

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>

example is not working

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.