User tests: Successful: Unsuccessful:
When editor buttons (editors-xtd plugins) are initiated via the onDisplay($name)
event, the $name
should contain the id of the editor field (textarea).
However, with the new J3.5 changes to TinyMCE, it always passes its own name (tinymce
) instead of the editor field id.
So for instance when creating/editing an article, the editor buttons for the content field should get jform_articletext
through the onDisplay($name). Instead they get tinymce
.
This PR fixes that.
You can test this by - for example - adding this to the public function onDisplay($name)
:
joomla/j35/plugins/editors-xtd/readmore/readmore.php
(line 36)
echo "\n\n<pre>==========================\n";
print_r($name);
echo "\n==========================</pre>\n\n";
Edit or create an article.
Apply the patch.
You should see this if the fix is successful, when
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
I have tested this item successfully on f70390d
I have tested this item successfully on f70390d
Title |
|
Title |
|
||||||
Status | Pending | ⇒ | Ready to Commit |
rtc. @wilsonge
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-02 15:59:22 |
Closed_By | ⇒ | wilsonge |
Milestone |
Added: |
Labels |
Removed:
?
|
@dgt41
Can you look at this?