How to use react-simplemde-editor - 2 common examples

To help you get started, we’ve selected a few react-simplemde-editor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github burtonator / polar-bookshelf / test / sandbox / schemaform / schemaform.js View on Github external
//
    // result.addEventListener("load", function () {
    //     console.log("FIXME: w eare loaded");
    // });

    console.log("FIXME:", result);

    return result;

}


// tab doesn't work properly in forms but it's also needed in markdown
//
// https://github.com/sparksuite/simplemde-markdown-editor/issues/122
SimpleMDE.defaultProps = {
    options: {
        status: false,
        hideIcons: ["side-by-side", "fullscreen"],
        forceSync: true,
        extraKeys: {},
        //extraKeys['Tab'] = false,
        //extraKeys['Shift-Tab'] = false;
    },
    label: false

};

console.log(SimpleMDE);

function log(data) {
    return function(data) {
github burtonator / polar-bookshelf / web / js / annotations / InputController.js View on Github external
// }
            }
        };

        const uiSchema = {

            front: {
                "ui:widget": RichTextWidget,
            },
            back: {
                "ui:widget": RichTextWidget,
            }

        };

        SimpleMDE.defaultProps = {
            options: {
                // enabling
                spellChecker: false,
                // setting to true re-downloads font awesome and it's much better
                // to have this as a dependency inline.
                autoDownloadFontAwesome: false,
                status: false,
                hideIcons: ["side-by-side", "fullscreen"],
                forceSync: true,
                extraKeys: {},
                //extraKeys['Tab'] = false,
                //extraKeys['Shift-Tab'] = false;
            },
            label: false

        };

react-simplemde-editor

[![NPM version][npm-badge]][npm]

MIT
Latest version published 2 years ago

Package Health Score

57 / 100
Full package analysis

Popular react-simplemde-editor functions

Similar packages