Report an issue

Found a bug you'd like to tell us about?

 Here’s what to do…Login, Select an ‘Issue Category’ from below and click on the "New Issues” button.

 Please note that support questions will not be handled here. If you need hands on technical support please take out a subscription.

#52 – onSetContent behavior issue

Posted in ‘ Ark Editor’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 22 July 2015 10:55 BST

Hi Ark team!


I'm one of the AcyMailing team and I noticed an issue when using the setContent function of the ArkEditor. In the ArkEditor, the used code is:

public function onSetContent($editor, $html) {
   return "'$editor','$html'); ";

In most of the Joomla editors like JCE/TinyMCE/CodeMirror, the setContent function uses the $html content directly, without the quotes (as it is a JS variable), could you change your function into this please:

public function onSetContent($editor, $html) {
   return "'$editor',$html); ";

This function is in the file plugins / editors / arkeditor / arkeditor.php near line 180.


Thank you,

Jeremy - Acyba team

Custom Fields
Server type
Web server type
ARK product version
Joomla! version
PHP Version
Web browser
Errors log
Steps to replicate the issue
=> Install ArkEditor and AcyMailing => Set the ArkEditor as default editor in the Acy configuration page, tab "Interfaces" => Create a new newsletter, click on the "Templates" button then try to select a template => The setContent function inserts the JS variable name in the editor instead of its content
Thursday, 23 July 2015 12:16 BST

Hi Jeremy,

Thank you for reporting this issue. We will look into it.

Kindest Regards,


Monday, 03 August 2015 11:07 BST

This has been fixed in thr latest version.

This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
WebxSolution Ltd is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

Copyright © 2009 - 2016 WebxSolution Ltd
Powered by JoomlaWired