-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[5.0] tinyMCE b/c fixes #40626
[5.0] tinyMCE b/c fixes #40626
Conversation
\plugins\editors\tinymce\src\PluginTraits\DisplayTrait.php
|
So what should it be? |
no idea |
textpattern options https://www.tiny.cloud/docs/tinymce/6/6.0-release-notes-core-changes/#removed-or-deprecated-options-textpattern memo to self to review this |
|
Check but i think that means the label is now "Emoji" |
This still exists in the plugin folder @brianteeman you can ignore this as the name is correct: |
To Check
|
That's a visual difference for v6 (there's no separation bar anymore) |
b2991b0
to
0024f68
Compare
- rename it to jtemplate - rework the way templates work (now it's ajax based)
@dgrammatiko I've allowed myself to update your branch for this PR to the latest 5.0-dev with the results of the upmerge so that we get a usable update package built by Drone for this PR, and so people can use that for testing the migration. Before that, updating from 4.4 to 5 was broken due to the missing upmerge. |
I will update the description, testing instructions, etc, later on or tomorrow |
The problem then is that the visual seperator is still shown in the plugin configuration |
Co-authored-by: Brian Teeman <[email protected]>
Can you please update the licence in the tinymce.xml as it is no longer LGPL but is instead MIT |
source code plugin (highlighter) fails with ``` plugin-es5.min.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'codemirror')
|
I've seen it as well, but let's leave this for another PR (it needs also the Codemirror v5 upgrade). I mean patching the plugin for the existing code mirror would be wasted energy as the editor needs an upgrade... |
Co-authored-by: Richard Fath <[email protected]>
Co-authored-by: Richard Fath <[email protected]>
thanks, can you please create a pr for the issue mentioned by brian? |
Pull Request for Issue #40622
Summary of Changes
jtemplate
onAjaxTinymce()
, so that templates will be fetched on request rather than on the rendering of the editor (security + perf)Testing Instructions
d/l and install a fresh copy of Joomla from the GH PR. Check that tinyMCE works as expected, particularly check the templates functionality.
Have a J4 installation and create some more
TinyMCE Sets
. Try to use all the buttons,menus,etc, and also have some html (or txt) files as templates in thecassiopeia/html/tinymce
. UPGRADE to J5 using theCustom URL
in theadministrator/index.php?option=com_config&view=component&component=com_joomlaupdate&path=
with a vaulehttps://ci.joomla.org/artifacts/joomla/joomla-cms/5.0-dev/40626/downloads/65966/pr_list.xml
. Enure that the configuarations are identical and that the templates are still working.Actual result BEFORE applying this Pull Request
Broken Upgrade
Expected result AFTER applying this Pull Request
No breaks
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
@brianteeman @HLeithner @laoneo