? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
9 Sep 2017

Pull Request for Issue # .

Summary of Changes

Remove the deprecated methods from Editors.
Remove the methods from src/Joomla/Editor (needs a deprecation in 3.9)

WHY?

  • The code is largely deprecated since 3.7 (#12561)
  • It's totally wrong to create executable javascript in PHP, PHP should just hand in some parameters and Javascript should execute according to these. Building executable code in PHP is wrong

Testing Instructions

Apply patch, edit an article, play with the xtd-buttons, add content, save. Everything should work.
Repeat the test for Editor none, and Codemirror
Everything should work for these 2 editors apart the closing modal which is a different bug in J4, PR is coming for that later on

Expected result

No inline, PHP created javascript!

Actual result

No inline, PHP created javascript but with the same behaviour and functionality as before

Documentation Changes Required

YES! We need to communicate this shortly with a post

Calling @wilsonge and @mbabker for a decision here

avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2017
Category Libraries Front End Plugins
avatar dgt41 dgt41 - open - 9 Sep 2017
avatar dgt41 dgt41 - change - 9 Sep 2017
Status New Pending
avatar wilsonge wilsonge - change - 9 Sep 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-09-09 15:09:43
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 9 Sep 2017
avatar wilsonge wilsonge - merge - 9 Sep 2017
avatar dgt41
dgt41 - comment - 9 Sep 2017

wow, that was fast ?

avatar brianteeman brianteeman - change - 9 Sep 2017
Title
Clean up core editors
[4.0] Clean up core editors
avatar brianteeman brianteeman - edited - 9 Sep 2017
avatar brianteeman
brianteeman - comment - 9 Sep 2017

@dgt41 please don't forget to add the deprecated notice

avatar dgt41
dgt41 - comment - 9 Sep 2017

Add a Comment

Login with GitHub to post a comment