Giter Site home page Giter Site logo

letranloc / draft-js-katex-plugin Goto Github PK

View Code? Open in Web Editor NEW
32.0 6.0 14.0 1.64 MB

A Katex plugin for DraftJS.

Home Page: https://letranloc.github.io/draft-js-katex-plugin?down=0

JavaScript 89.49% CSS 8.64% HTML 1.88%
draft-js draftjs-plugin katex react katex-plugin

draft-js-katex-plugin's Issues

Edits in Tex block can only be saved internally

I'm currently using this plugin for a custom editor. I realized that if changes are made in the Tex block and I save a higher level component, the changes made are lost. This is because I cannot hook into the save method within this plugin.

Willing to work on a solution if this repo is being maintained.

Formula render in Chrome

In the demo, formula is rendered without over symbol in Chrome. It didn't happen in Firefox.

image

instead of [firefox]

image

Typescript Refactor

Hi guys, are you open to a PR that refactor this library to use Typescript?

Best regards and hope to hear from you soon.

this.updater.enqueueCallback is not a function

After clicking the textarea popup inserted by the demo button I get this:

this.updater.enqueueCallback is not a function
    at TeXBlock.ReactComponent.setState (ReactBaseClasses.js:66)
    at TeXBlock._this.onClick (TeXBlock.js:48)
    "draft-js": "^0.10.1",
    "draft-js-katex-plugin": "^1.0.0",
    "draft-js-plugins-editor": "^2.0.0-rc5",
    "react": "^16.0.0-beta.5",

Keep a light version

Hi, a problem with the latest release is that it is way bigger than the old release. Would it be possible to have both worlds? I.e. that the user gets the light version first and can choose the heavier version with more help if it is needed?

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.