FIXED path problem causing img not found error in Newsletter composer

This commit is contained in:
Daniel Reintanz 2025-10-01 11:54:48 +02:00
parent 028d595144
commit 9341afa1dc
3 changed files with 12 additions and 4 deletions

View file

@ -1,12 +1,20 @@
=== Advanced Composer Blocks for Newsletter ===
Contributors: mdburnette
Contributors: mdburnette, daniel.reintanz
Tags: email, newsletter, composer, blocks
License: GPLv2 or later
Requires at least: 6.0
Tested up to: 6.7
Tested up to: 6.8.3
Requires PHP: 7.0
Stable tag: 2.0.0
__IMPORTANT: This is a Fork of the original Plugin : [Advanced Composer Blocks for Newsletter](https://wordpress.org/plugins/advanced-composer-blocks-for-newsletter/)__
We aim to maintain this Plugin until key features of the Plugin are available in the Newsletter Core Plugin
____
## Legacy Readme
A set of enhanced composer blocks and additional settings to extend The Newsletter Plugin.
== Description ==

View file

@ -1,6 +1,6 @@
jQuery(function ($) {
let copyPasteHTML = '<div class="tnpc-row-mbtnp-copy" title="Copy block"><img src="/wp-content/plugins/mbtnp-blocks/images/icon-copy.png" width="32"></div><div class="tnpc-row-mbtnp-paste" title="Paste block"><img src="/wp-content/plugins/mbtnp-blocks/images/icon-paste.png" width="32"></div>';
let copyPasteHTML = '<div class="tnpc-row-mbtnp-copy" title="Copy block"><img src="/wp-content/plugins/advanced-composer-blocks-for-newsletter/images/icon-copy.png" width="32"></div><div class="tnpc-row-mbtnp-paste" title="Paste block"><img src="/wp-content/plugins/advanced-composer-blocks-for-newsletter/images/icon-paste.png" width="32"></div>';
function showToast(message, type = 'info') {
let backgroundColor = '#000'; // Default color for 'info'

View file

@ -3,7 +3,7 @@
* Plugin Name: Advanced Composer Blocks for Newsletter
* Plugin URI: https://mburnette.com/advanced-composer-blocks/
* Description: A set of enhanced composer blocks and additional settings to extend The Newsletter Plugin
* Version: 2.0.0
* Version: 2.0.1
* Requires Plugins: newsletter
* Author: Marcus Burnette
* Author URI: https://mburnette.com