|
|
|
/*
|
|
|
|
* 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 */\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 /**\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 /**\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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AcHJl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0FBUixDQUFnQkMscUJBRmpCO0FBSUEsQ0ExREQiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBuby11bnVzZWQtdmFycyAqL1xuKCBmdW5jdGlvbiAoKSB7XG5cdHRpbnltY2UuY3JlYXRlKCAndGlueW1jZS5wbHVnaW5zLmFsZGluZV9jYWxsX3RvX2FjdGlvbicsIHtcblx0XHQvKipcblx0XHQgKiBAcGFyYW0gZWRpdG9yXG5cdFx0ICogQHBhcmFtIHVybFxuXHRcdCAqL1xuXHRcdGluaXQ6IGZ1bmN0aW9uICggZWRpdG9yLCB1cmwgKSB7XG5cdFx0XHRlZGl0b3IuYWRkQnV0dG9uKCAnYWxkaW5lX2NhbGxfdG9fYWN0aW9uJywge1xuXHRcdFx0XHR0aXRsZTogYWxkaW5lLmNhbGxfdG9fYWN0aW9uLnRpdGxlLFx
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
/******/ });
|
|
|
|
/************************************************************************/
|
|
|
|
/******/
|
|
|
|
/******/ // 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"]();
|
|
|
|
/******/
|
|
|
|
/******/ })()
|
|
|
|
;
|