No Code Attached Yet
avatar mrownicki
mrownicki
20 Oct 2021

Steps to reproduce the issue

Please add Categories on Github com_mails.

Create new template USERS: NEW USER - plg_user_joomla.mail

Options format - HTML

I add some simple text + image.
TinyMCE missing CMS CONTENT button.screen shot 2021-10-20 at 11 21 18

  1. TinyMCE

Not allow add https://domain.com/images/image.jpg Because is stripped https://domain.com

In mail must be full URL to image.

Drag and drop also it doesn't give you the entire url

I know TinyMCE have setup relative url.
But no one will remember to rearrange it every time. It does not make sense.

Expected result

Add CMS CONTENT Button

Image and the other media (video, mp3 etc.) in template mail have always absolute url.

Actual result

Missing content button

Image url is relative

System information (as much as possible)

4.0.3

Additional comments

The whole concept of beautiful emails just doesn't work as it should at this point.

avatar mrownicki mrownicki - open - 20 Oct 2021
avatar mrownicki mrownicki - change - 20 Oct 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 20 Oct 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Oct 2021
avatar sakiss
sakiss - comment - 9 Nov 2021

This is how most editors work, since they are developed for a different purpose (creating content).
A solution could be to set your editor to "none" in your user/admin settings and change the urls to absolute manually.

avatar mrownicki
mrownicki - comment - 9 Nov 2021

@sakiss I know that.
This is normal for perspective developer not user ;)
It makes no sense then to give HTML options and start the editor. It just wasn't thought out well.

The user cannot run around constantly around the settings! It has to focus on acting and creating.
That's why WP is popular and J! keeps falling in statistics.

I only report a problem if no one changes. It's just that users will use it marginally.
Regards.

avatar brianteeman
brianteeman - comment - 9 Nov 2021

@sakiss that is not the solution. The solution is to initialise the tinymce editor with the correct required options for this use. Sadly the developer of this poorly thought out extension had obviously never actually used it. Instead they bullied its inclusion when it was not ready

avatar HLeithner
HLeithner - comment - 10 Nov 2021

@Hackwar the rendering engine for the html email should replace the relative sources right?

avatar Fedik
Fedik - comment - 10 Nov 2021

I am not @Hackwar ? but @HLeithner is right, it should be done while rendering, replace relative path to correct one.
Because User may use any editor, also the content will be broken when user change site domain/path.

avatar joomdonation joomdonation - change - 22 Nov 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-11-22 15:56:52
Closed_By joomdonation
avatar joomdonation joomdonation - close - 22 Nov 2021
avatar joomdonation
joomdonation - comment - 22 Nov 2021

Hopefully PR #36088 fixes this issue. Please help testing. Thanks !

avatar sakiss
sakiss - comment - 22 Nov 2021

@mrownicki could you please test?

avatar mrownicki
mrownicki - comment - 23 Nov 2021

@mrownicki could you please test?

How i can test this? I don't use repo github. Will it be in the night dev?

avatar sakiss
sakiss - comment - 23 Nov 2021

@mrownicki Install the PatchTester component and then apply that Pull Request.
Instructions here: https://docs.joomla.org/Component_Patchtester_for_Testers

Then mark your test result in the issue tracker.
https://issues.joomla.org/

More details on the process can be found here: https://docs.joomla.org/Testing_Joomla!_patches
It may look unfamiliar atm but it is quite simple.

avatar mrownicki
mrownicki - comment - 24 Nov 2021

Test work.

Add a Comment

Login with GitHub to post a comment