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

    Install

    npm i quill-mathlive-blot

    DownloadsWeekly Downloads

    20

    Version

    1.5.0

    License

    GPL-3.0

    Unpacked Size

    39.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • jonathan_treffler