System.register(["quill", "@stratusjs/core/environment"], function (exports_1, context_1) {
    "use strict";
    var quill_1, environment_1, Break, Embed, QuillBreak;
    var __moduleName = context_1 && context_1.id;
    return {
        setters: [
            function (quill_1_1) {
                quill_1 = quill_1_1;
            },
            function (environment_1_1) {
                environment_1 = environment_1_1;
            }
        ],
        execute: function () {
            Break = quill_1.default.import('blots/break');
            Embed = quill_1.default.import('blots/embed');
            QuillBreak = class QuillBreak extends Break {
                length() {
                    return 1;
                }
                value() {
                    return '\n';
                }
                insertInto(parent, ref) {
                    if (environment_1.cookie('env')) {
                        console.log('insertInto:', parent, ref);
                    }
                    Embed.prototype.insertInto.call(this, parent, ref);
                }
            };
            exports_1("QuillBreak", QuillBreak);
            QuillBreak.blotName = 'break';
            QuillBreak.tagName = 'BR';
        }
    };
});

//# sourceMappingURL=quill-break-blot.plugin.js.map
