Client's public folder renamed to static
Regular campaign sender seems to have most of the code in place. (Not tested.)
This commit is contained in:
parent
89eabea0de
commit
63765f7222
354 changed files with 836 additions and 324 deletions
39
client/static/mosaico/vendor/plugins/hr/plugin.js
vendored
Normal file
39
client/static/mosaico/vendor/plugins/hr/plugin.js
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
(function () {
|
||||
var hr = (function () {
|
||||
'use strict';
|
||||
|
||||
var PluginManager = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
||||
|
||||
var register = function (editor) {
|
||||
editor.addCommand('InsertHorizontalRule', function () {
|
||||
editor.execCommand('mceInsertContent', false, '<hr />');
|
||||
});
|
||||
};
|
||||
var $_470wnubsjdud7abb = { register: register };
|
||||
|
||||
var register$1 = function (editor) {
|
||||
editor.addButton('hr', {
|
||||
icon: 'hr',
|
||||
tooltip: 'Horizontal line',
|
||||
cmd: 'InsertHorizontalRule'
|
||||
});
|
||||
editor.addMenuItem('hr', {
|
||||
icon: 'hr',
|
||||
text: 'Horizontal line',
|
||||
cmd: 'InsertHorizontalRule',
|
||||
context: 'insert'
|
||||
});
|
||||
};
|
||||
var $_gb3ibbtjdud7abe = { register: register$1 };
|
||||
|
||||
PluginManager.add('hr', function (editor) {
|
||||
$_470wnubsjdud7abb.register(editor);
|
||||
$_gb3ibbtjdud7abe.register(editor);
|
||||
});
|
||||
function Plugin () {
|
||||
}
|
||||
|
||||
return Plugin;
|
||||
|
||||
}());
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue