How to use editron - 1 common examples

To help you get started, we’ve selected a few editron 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 sueddeutsche / editron / webpack.serve.js View on Github external
const path = require("path");
const config = require("./webpack.build");

config.plugins = []; // reset
config.entry["index.html"] = path.join(__dirname, "test", "support", "local-setup.html");
config.entry["editron.css"] = path.join(__dirname, "editron.scss");
config.module.rules.push({
    test: [/wysiwyg-editor.scss/, /editron.scss$/],
    use: [
        "file-loader?name=[name].css",
        "extract-loader",
        "css-loader",
        {
            loader: "sass-loader",
            options: {
                sassOptions: {
                    includePaths: [path.join(__dirname, "node_modules")]
                }
            }
        }
    ]
});

editron

Editron - json-editor

MIT
Latest version published 3 years ago

Package Health Score

46 / 100
Full package analysis

Popular editron functions