pressbooks aldine theme the theme used for the front page or default book
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
8.7 KiB

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