12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import {
- __commonJS,
- init_define_APP_INFO
- } from "./chunk-XY75H3MP.js";
- // node_modules/tinymce/plugins/hr/plugin.js
- var require_plugin = __commonJS({
- "node_modules/tinymce/plugins/hr/plugin.js"() {
- init_define_APP_INFO();
- (function() {
- "use strict";
- var global = tinymce.util.Tools.resolve("tinymce.PluginManager");
- var register$1 = function(editor) {
- editor.addCommand("InsertHorizontalRule", function() {
- editor.execCommand("mceInsertContent", false, "<hr />");
- });
- };
- var register = function(editor) {
- var onAction = function() {
- return editor.execCommand("InsertHorizontalRule");
- };
- editor.ui.registry.addButton("hr", {
- icon: "horizontal-rule",
- tooltip: "Horizontal line",
- onAction
- });
- editor.ui.registry.addMenuItem("hr", {
- icon: "horizontal-rule",
- text: "Horizontal line",
- onAction
- });
- };
- function Plugin() {
- global.add("hr", function(editor) {
- register$1(editor);
- register(editor);
- });
- }
- Plugin();
- })();
- }
- });
- // node_modules/tinymce/plugins/hr/index.js
- var require_hr = __commonJS({
- "node_modules/tinymce/plugins/hr/index.js"() {
- init_define_APP_INFO();
- require_plugin();
- }
- });
- // dep:tinymce_plugins_hr
- init_define_APP_INFO();
- var tinymce_plugins_hr_default = require_hr();
- export {
- tinymce_plugins_hr_default as default
- };
- //# sourceMappingURL=tinymce_plugins_hr.js.map
|