quill-mathlive-blot

1.5.0 • Public • Published

npm npm bundle size npm GitHub Workflow Status GitHub GitHub last commit Maintenance

Quill-mathLive-blot

A Blot/Extension for Quill.js to embed editable formulas with mathLive.

Installation:

npm install quill-mathlive-blot

Usage:

  • import Quill
import mathLiveBlot from "quill-mathlive-blot";
 
var quill = new Quill('#editor-container', {
    modules: {
      toolbar: [
        ['bold', 'italic', 'underline'],
      ]
    },
    placeholder: '',
    theme: 'snow'
});
 
mathLiveBlot.register(Quill);
 
function insert() {
    let selection = quill.getSelection();
    quill.insertEmbed(selection.index, "mathLive", "");
}

Live Demo

/quill-mathlive-blot/

    Package Sidebar

    Install

    npm i quill-mathlive-blot

    Weekly Downloads

    7

    Version

    1.5.0

    License

    GPL-3.0

    Unpacked Size

    39.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • jonathan_treffler