-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Using multiple editors with editor-xtd buttons on a single page outputs erratic string #18519
Comments
@mbabker should this be added to Projects? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18519. |
Seems related to my MR #19454 $plugin = clone \JPluginHelper::getPlugin('editors', $this->_name); Might solve this. |
Hi, |
I can confirm this issue. The There's a loop right after this line, that builds a string |
Issue confirmed too... |
Duplicate of #20679 ? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18519. |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18519 |
closed in favor of #20679. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18519. |
@franz-wohlkoenig I made a mistake. This issue is not solved with the PR to this issue #20679. Can you please reopen this issue again? |
Set to "open" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18519 |
Reopened as stated above. |
I can no longer replicate this issue - can only assume it has been resolved elsewhere |
Steps to reproduce the issue
On Joomla! 4.0 dev
open administrator/components/com_content/forms/article.xml
add second editor field
open administrator/components/com_content/tmpl/article/edit.php
add code to display the additional field after
for example after
Go to administration of the website, create a new article
Expected result
the second editor field looks exactly like the first
Actual result
Under the second editor field you can find an erratic string
Joomla\CMS\Object\CMSObjectJoomla\CMS\Object\CMSObjectJoomla\CMS\Object\CMSObjectJoomla\CMS\Object\CMSObjectJoomla\CMS\Object\CMSObjectJoomla\CMS\Object\CMSObjectJoomla\CMS\Object\CMSObject
Status
Category *
Editor
Featured
No
Access
Language
Tags
Select Some Options
Version Note
This issue
System information (as much as possible)
Php 7.1.7 on local Xampp on windows 7
Joomla! 4.0.0-dev Development [ Amani ] 31-March-2017 23:59 GMT
(Hopefully the latest version. I downloaded this morning from Github and no matter which options I choose for the Joomla! Update component, I already get the message that I have the latest version).
Additional comments
I'm pretty sure, that the problem is related to the editor buttons, which are created as objects of class Joomla\CMS\Object\CMSObjectJoomla. It looks to me, that the erratic string has as many repetitions of this class as the first editor has buttons. When I add a third or forth editor, the string grows even longer.
The text was updated successfully, but these errors were encountered: