Changeset 3306241
- Timestamp:
- 06/04/2025 08:52:34 AM (10 months ago)
- Location:
- mailbluster4wp
- Files:
-
- 48 added
- 3 edited
-
tags/2.2.4 (added)
-
tags/2.2.4/LICENSE.txt (added)
-
tags/2.2.4/README.txt (added)
-
tags/2.2.4/admin (added)
-
tags/2.2.4/admin/class-mailbluster4wp-admin.php (added)
-
tags/2.2.4/admin/class-mailbluster4wp-form-option.php (added)
-
tags/2.2.4/admin/class-mailbluster4wp-widget.php (added)
-
tags/2.2.4/admin/css (added)
-
tags/2.2.4/admin/css/mailbluster4wp-admin.css (added)
-
tags/2.2.4/admin/images (added)
-
tags/2.2.4/admin/images/admin-menu-logo.svg (added)
-
tags/2.2.4/admin/images/logo.svg (added)
-
tags/2.2.4/admin/index.php (added)
-
tags/2.2.4/admin/js (added)
-
tags/2.2.4/admin/js/mailbluster4wp-admin.js (added)
-
tags/2.2.4/admin/js/mailbluster4wp-form-builder.js (added)
-
tags/2.2.4/admin/partials (added)
-
tags/2.2.4/admin/partials/form-options (added)
-
tags/2.2.4/admin/partials/form-options/appearance.php (added)
-
tags/2.2.4/admin/partials/form-options/builder.php (added)
-
tags/2.2.4/admin/partials/form-options/messages.php (added)
-
tags/2.2.4/admin/partials/form-options/settings.php (added)
-
tags/2.2.4/admin/partials/mailbluster4wp-admin-api-display.php (added)
-
tags/2.2.4/admin/partials/mailbluster4wp-form-admin-shortcode.php (added)
-
tags/2.2.4/admin/partials/mailbluster4wp-form-description.php (added)
-
tags/2.2.4/admin/partials/mailbluster4wp-form-option.php (added)
-
tags/2.2.4/includes (added)
-
tags/2.2.4/includes/class-mailbluster4wp-activator.php (added)
-
tags/2.2.4/includes/class-mailbluster4wp-deactivator.php (added)
-
tags/2.2.4/includes/class-mailbluster4wp-helper.php (added)
-
tags/2.2.4/includes/class-mailbluster4wp-i18n.php (added)
-
tags/2.2.4/includes/class-mailbluster4wp-loader.php (added)
-
tags/2.2.4/includes/class-mailbluster4wp.php (added)
-
tags/2.2.4/includes/index.php (added)
-
tags/2.2.4/index.php (added)
-
tags/2.2.4/languages (added)
-
tags/2.2.4/languages/mailbluster4wp.pot (added)
-
tags/2.2.4/mailbluster4wp.php (added)
-
tags/2.2.4/public (added)
-
tags/2.2.4/public/class-mailbluster4wp-public.php (added)
-
tags/2.2.4/public/css (added)
-
tags/2.2.4/public/css/mailbluster4wp-public.css (added)
-
tags/2.2.4/public/index.php (added)
-
tags/2.2.4/public/js (added)
-
tags/2.2.4/public/js/mailbluster4wp-public.js (added)
-
tags/2.2.4/public/partials (added)
-
tags/2.2.4/public/partials/mailbluster4wp-public-display.php (added)
-
tags/2.2.4/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/js/mailbluster4wp-admin.js (modified) (1 diff)
-
trunk/mailbluster4wp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailbluster4wp/trunk/README.txt
r3215915 r3306241 4 4 Tags: Email Marketing, Newsletter, AmazonSES, Bulk Email 5 5 Requires at least: 3.0.1 6 Tested up to: 6. 7.16 Tested up to: 6.8.1 7 7 Requires PHP: 5.6 8 Stable tag: 2.2. 38 Stable tag: 2.2.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 73 73 74 74 == Changelog == 75 76 = 2.2.4 = 77 * WP version 6.8.1 compatible. 78 * Fix: Improved External dependency initialization. 75 79 76 80 = 2.2.3 = -
mailbluster4wp/trunk/admin/js/mailbluster4wp-admin.js
r2918522 r3306241 49 49 50 50 var toolbarOptions = [['bold', 'italic', 'underline', 'link']]; 51 var quill = new Quill('#mbq_editor', { 52 modules: { 53 toolbar: toolbarOptions, // Snow includes toolbar by default 54 }, 55 formats: { 56 bold: false 57 }, 58 theme: 'snow' 51 const observer = new MutationObserver(() => { 52 const editorContainer = document.getElementById("mbq_editor"); 53 if (editorContainer) { 54 observer.disconnect(); 55 56 const quill = new Quill('#mbq_editor', { 57 modules: { 58 toolbar: toolbarOptions, // Snow includes toolbar by default 59 }, 60 formats: { 61 bold: false 62 }, 63 theme: 'snow' 64 }); 65 const tooltip = quill.theme.tooltip; 66 const input = tooltip.root.querySelector("input[data-link]"); 67 input.dataset.link = `eg: ${document.location.origin}`; 68 69 const consentTextarea = $("#consent_textarea"); 70 const builder_form_checkbox_label = $("#mb4wp_builder_form_checkbox_label"); 71 quill.on('text-change', function () { 72 const p = Array.from(document.querySelector(".ql-editor").children); 73 const content = p.map(el => el.innerHTML); 74 consentTextarea.val(`${content.map(el => `<p>${el}</p>`).join("")}`); 75 builder_form_checkbox_label.html(`${content.map(el => `<p>${el}</p>`).join("")}`); 76 }); 77 } 59 78 }); 60 const tooltip = quill.theme.tooltip; 61 const input = tooltip.root.querySelector("input[data-link]"); 62 input.dataset.link = `eg: ${ document.location.origin }`; 63 64 const consentTextarea = $("#consent_textarea"); 65 const builder_form_checkbox_label = $("#mb4wp_builder_form_checkbox_label"); 66 quill.on('text-change', function() { 67 const p = Array.from(document.querySelector(".ql-editor").children); 68 const content = p.map(el => el.innerHTML); 69 consentTextarea.val(`${content.map(el=> `<p>${el}</p>`).join("")}`); 70 builder_form_checkbox_label.html(`${content.map(el=> `<p>${el}</p>`).join("")}`); 71 }); 79 observer.observe(document.body, { childList: true, subtree: true }); 72 80 }); 73 81 })(jQuery); -
mailbluster4wp/trunk/mailbluster4wp.php
r3215915 r3306241 17 17 * Plugin URI: https://mailbluster.com 18 18 * Description: A free and simple WordPress plugin for MailBluster which provides different methods to create and include subscription forms into WordPress pages or posts by utilizing AmazonSES service. 19 * Version: 2.2. 320 * Tested up to: 6. 7.119 * Version: 2.2.4 20 * Tested up to: 6.8.1 21 21 * Author: MailBluster 22 22 * Author URI: https://mailbluster.com … … 37 37 * Rename this for your plugin and update it as you release new versions. 38 38 */ 39 define('MAILBLUSTER4WP_VERSION', '2.2. 3');39 define('MAILBLUSTER4WP_VERSION', '2.2.4'); 40 40 41 41 /**
Note: See TracChangeset
for help on using the changeset viewer.