/* * ATTENTION: An "eval-source-map" devtool has been used. * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ /******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./assets/scripts/page-section.js": /*!****************************************!*\ !*** ./assets/scripts/page-section.js ***! \****************************************/ /***/ (function() { eval("/* eslint-disable no-unused-vars */\n(function () {\n tinymce.create('tinymce.plugins.aldine_page_section', {\n /**\n * @param editor\n * @param url\n */\n init: function init(editor, url) {\n editor.addButton('aldine_page_section', {\n title: aldine.page_section.title,\n icon: 'icon dashicons-layout',\n\n /**\n *\n */\n onclick: function onclick() {\n editor.windowManager.open({\n title: aldine.page_section.title,\n body: [{\n type: 'textbox',\n name: 'title',\n label: aldine.page_section.title_label,\n value: aldine.page_section.title\n }, {\n type: 'listbox',\n name: 'variant',\n label: 'Variant',\n values: [{\n text: aldine.page_section.standard,\n value: ''\n }, {\n text: aldine.page_section.accent,\n value: 'accent'\n }, {\n text: aldine.page_section.bordered,\n value: 'bordered'\n }, {\n text: aldine.page_section.borderless,\n value: 'borderless'\n }],\n value: '' // Sets the default\n\n }],\n\n /**\n * @param e\n */\n onsubmit: function onsubmit(e) {\n editor.insertContent('[aldine_page_section title=\"' + e.data.title + '\" variant=\"' + e.data.variant + '\"]

Insert your page section content here.

[/aldine_page_section]');\n }\n });\n }\n });\n },\n\n /**\n * @param n\n * @param cm\n */\n createControl: function createControl(n, cm) {\n return null;\n }\n });\n tinymce.PluginManager.add('aldine_page_section', tinymce.plugins.aldine_page_section);\n})();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AcHJlc3Nib29rcy9wcmVzc2Jvb2tzLWF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uPC9wPlsvYWxkaW5lX3BhZ2Vfc2VjdGlvbl0nXG5cdFx0XHRcdFx0XHRcdCk7XG5cdFx0XHRcdFx0XHR9LFxuXHRcdFx0XHRcdH0gKTtcblx0XHRcdFx0fSxcblx0XHRcdH0gKTtcblx0XHR9LFxuXHRcdC8qKlxuXHRcdCAqIEBwYXJhbSBuXG5cdFx0ICogQHBhcmFtIGNtXG5cdFx0ICovXG5cdFx0Y3JlYXRlQ29udHJvbDogZnVuY3Rpb24gKCBuLCBjbSApIHtcblx0XHRcdHJldHVybiBudWxsO1xuXHRcdH0sXG5cdH0gKTtcblx0dGlueW1jZS5QbHVnaW5NYW5hZ2VyLmFkZChcblx0XHQnYWxkaW5lX3BhZ2Vfc2VjdGlvbicsXG5cdFx0dGlueW1jZS5wbHVnaW5zLmFsZGluZV9wYWdlX3NlY3Rpb25cblx0KTtcbn0gKSgpO1xuIl0sImZpbGUiOiIuL2Fzc2V0cy9zY3JpcHRzL3BhZ2Utc2VjdGlvbi5qcy5qcyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./assets/scripts/page-section.js\n"); /***/ }) /******/ }); /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module can't be inlined because the eval-source-map devtool is used. /******/ var __webpack_exports__ = {}; /******/ __webpack_modules__["./assets/scripts/page-section.js"](); /******/ /******/ })() ;