/* * 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 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 * @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 * @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,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJ0aW55bWNlIiwiY3JlYXRlIiwiaW5pdCIsImVkaXRvciIsInVybCIsImFkZE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0E7SUFDRUMsYUFBYSxFQUFFLHVCQUFXQyxDQUFDLEVBQUVDLEVBQUUsRUFBRztNQUNqQyxPQUFPLElBQUk7SUFDWjtFQUNELENBQUMsQ0FBRTtFQUNIaEMsT0FBTyxDQUFDaUMsYUFBYSxDQUFDQyxHQUFHLENBQ3hCLHFCQUFxQixFQUNyQmxDLE9BQU8sQ0FBQ21DLE9BQU8sQ0FBQ0MsbUJBQW1CLENBQ25DO0FBQ0YsQ0FBQyxHQUFJIiwiZmlsZSI6Ii4vYXNzZXRzL3NjcmlwdHMvcGFnZS1zZWN0aW9uLmpzLmpzIiwic291cmNlUm9vdCI6IiJ9\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"](); /******/ /******/ })() ;