|
|
|
/*
|
|
|
|
* 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 + '\"]<p>Insert your page section content here.</p>[/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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AcHJlc3Nib29rcy9wcmVzc2Jvb2tzLWFsZGluZS8uL2Fzc2V0cy9zY3JpcHRzL3BhZ2Utc2VjdGlvbi5qcz83OWUzIl0sIm5hbWVzIjpbInRpbnltY2UiLCJjcmVhdGUiLCJpbml0IiwiZWRpdG9yIiwidXJsIiwiYWRkQnV0dG9uIiwidGl0bGUiLCJhbGRpbmUiLCJwYWdlX3NlY3Rpb24iLCJpY29uIiwib25jbGljayIsIndpbmRvd01hbmFnZXIiLCJvcGVuIiwiYm9keSIsInR5cGUiLCJuYW1lIiwibGFiZWwiLCJ0aXRsZV9sYWJlbCIsInZhbHVlIiwidmFsdWVzIiwidGV4dCIsInN0YW5kYXJkIiwiYWNjZW50IiwiYm9yZGVyZWQiLCJib3JkZXJsZXNzIiwib25zdWJtaXQiLCJlIiwiaW5zZXJ0Q29udGVudCIsImRhdGEiLCJ2YXJpYW50IiwiY3JlYXRlQ29udHJvbCIsIm4iLCJjbSIsIlBsdWdpbk1hbmFnZXIiLCJhZGQiLCJwbHVnaW5zIiwiYWxkaW5lX3BhZ2Vfc2VjdGlvbiJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSxDQUFFLFlBQVk7QUFDYkEsRUFBQUEsT0FBTyxDQUFDQyxNQUFSLENBQWdCLHFDQUFoQixFQUF1RDtBQUN0RDtBQUNGO0FBQ0E7QUFDQTtBQUNFQyxJQUFBQSxJQUFJLEVBQUUsY0FBV0MsTUFBWCxFQUFtQkMsR0FBbkIsRUFBeUI7QUFDOUJELE1BQUFBLE1BQU0sQ0FBQ0UsU0FBUCxDQUFrQixxQkFBbEIsRUFBeUM7QUFDeENDLFFBQUFBLEtBQUssRUFBRUMsTUFBTSxDQUFDQyxZQUFQLENBQW9CRixLQURhO0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RUFBRWIsTUFBTSxDQUFDQyxZQUFQLENBQW9CZ0IsVUFEM0I7QUFFQ04sZ0JBQUFBLEtBQUssRUFBRTtB
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
/******/ });
|
|
|
|
/************************************************************************/
|
|
|
|
/******/
|
|
|
|
/******/ // 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"]();
|
|
|
|
/******/
|
|
|
|
/******/ })()
|
|
|
|
;
|