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
6.9 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/call-to-action.js":
/*!******************************************!*\
!*** ./assets/scripts/call-to-action.js ***!
\******************************************/
/***/ (function() {
eval("/* eslint-disable no-unused-vars */\n(function () {\n tinymce.create('tinymce.plugins.aldine_call_to_action', {\n /**\n * @param editor\n * @param url\n */\n init: function init(editor, url) {\n editor.addButton('aldine_call_to_action', {\n title: aldine.call_to_action.title,\n icon: 'icon dashicons-flag',\n /**\n *\n */\n onclick: function onclick() {\n editor.windowManager.open({\n title: aldine.call_to_action.title,\n body: [{\n type: 'textbox',\n name: 'text',\n label: aldine.call_to_action.text,\n value: aldine.call_to_action.title\n }, {\n type: 'textbox',\n name: 'link',\n label: aldine.call_to_action.link,\n value: '#'\n }],\n /**\n * @param e\n */\n onsubmit: function onsubmit(e) {\n editor.insertContent('[aldine_call_to_action text=\"' + e.data.text + '\" link=\"' + e.data.link + '\"]');\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_call_to_action', tinymce.plugins.aldine_call_to_action);\n})();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJ0aW55bWNlIiwiY3JlYXRlIiwiaW5pdCIsImVkaXRvciIsInVybCIsImFkZEJ1dHRvbiIsInRpdGxlIiwiY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FDUyxJQUFJO2NBQ2pDQyxLQUFLLEVBQUVYLE1BQU0sQ0FBQ0MsY0FBYyxDQUFDRjtZQUM5QixDQUFDLEVBQ0Q7Y0FDQ1EsSUFBSSxFQUFFLFNBQVM7Y0FDZkMsSUFBSSxFQUFFLE1BQU07Y0FDWkMsS0FBSyxFQUFFVCxNQUFNLENBQUNDLGNBQWMsQ0FBQ1csSUFBSTtjQUNqQ0QsS0FBSyxFQUFFO1lBQ1IsQ0FBQyxDQUNEO1lBQ0Q7QUFDTjtBQUNBO1lBQ01FLFFBQVEsRUFBRSxrQkFBV0MsQ0FBQyxFQUFHO2NBQ3hCbEIsTUFBTSxDQUFDbUIsYUFBYSxDQUNuQiwrQkFBK0IsR0FDOUJELENBQUMsQ0FBQ0UsSUFBSSxDQUFDTixJQUFJLEdBQ1gsVUFBVSxHQUNWSSxDQUFDLENBQUNFLElBQUksQ0FBQ0osSUFBSSxHQUNYLElBQUksQ0FDTDtZQUNGO1VBQ0QsQ0FBQyxDQUFFO1FBQ0o7TUFDRCxDQUFDLENBQUU7SUFDSixDQUFDO0lBQ0Q7QUFDRjtBQUNBO0FBQ0E7SUFDRUssYUFBYSxFQUFFLHVCQUFXQyxDQUFDLEVBQUVDLEVBQUUsRUFBRztNQUNqQyxPQUFPLElBQUk7SUFDWjtFQUNELENBQUMsQ0FBRTtFQUNIMUIsT0FBTyxDQUFDMkIsYUFBYSxDQUFDQyxHQUFHLENBQ3hCLHVCQUF1QixFQUN2QjVCLE9BQU8sQ0FBQzZCLE9BQU8sQ0FBQ0MscUJBQXFCLENBQ3JDO0FBQ0YsQ0FBQyxHQUFJIiwiZmlsZSI6Ii4vYXNzZXRzL3NjcmlwdHMvY2FsbC10by1hY3Rpb24uanMuanMiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./assets/scripts/call-to-action.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/call-to-action.js"]();
/******/
/******/ })()
;