Skip to content

Commit eb06ce0

Browse files
authored
Merge pull request #2 from fballiano/feat/add-2.4.7-p3
Replaced TinyMCE7 with TinyMCE6
2 parents 803f9fe + 9e9c70e commit eb06ce0

File tree

177 files changed

+1104
-475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+1104
-475
lines changed

app/code/Magento/Store/etc/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<minify_files>0</minify_files>
2323
<minify_exclude>
2424
<tiny_mce>/tiny_mce/</tiny_mce>
25+
<tiny_mce_6>/tiny_mce_6/</tiny_mce_6>
2526
</minify_exclude>
2627
</js>
2728
<css>

app/code/Magento/Ui/view/base/requirejs-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var config = {
88
shim: {
99
'chartjs/chartjs-adapter-moment': ['moment'],
1010
'chartjs/es6-shim.min': {},
11-
'tiny_mce_7/tinymce.min': {
11+
'tiny_mce_6/tinymce.min': {
1212
exports: 'tinyMCE'
1313
}
1414
},
@@ -28,7 +28,7 @@ var config = {
2828
buttonAdapter: 'Magento_Ui/js/form/button-adapter',
2929
chartJs: 'chartjs/Chart.min',
3030
'chart.js': 'chartjs/Chart.min',
31-
tinymce: 'tiny_mce_7/tinymce.min',
31+
tinymce: 'tiny_mce_6/tinymce.min',
3232
wysiwygAdapter: 'mage/adminhtml/wysiwyg/tiny_mce/tinymceAdapter'
3333
}
3434
}

dev/tests/static/testsuite/Magento/Test/Js/_files/blacklist/magento.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ lib/web/prototype/**/*.js
1818
// MINIFIED FILES
1919
app/code/**/*.min.js
2020
lib/web/legacy-build.min.js
21-
lib/web/tiny_mce_7/**/*.js
22-
lib/web/tiny_mce_7/***/*.js
21+
lib/web/tiny_mce_6/**/*.js
22+
lib/web/tiny_mce_6/***/*.js
2323

2424
// TEST
2525
vendor/magento/magento-coding-standard/Magento2/Tests/Eslint/*

dev/tests/static/testsuite/Magento/Test/Legacy/_files/words_ce.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,23 @@
7575
<word>rma</word>
7676
</item>
7777
<item>
78-
<path>lib/web/tiny_mce_7/plugins/help/plugin.min.js</path>
78+
<path>lib/web/tiny_mce_6/plugins/help/plugin.min.js</path>
7979
<word>CHANGELOG</word>
8080
</item>
8181
<item>
82-
<path>lib/web/tiny_mce_7/plugins/emoticons/js/emojis.min.js</path>
82+
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojis.min.js</path>
8383
<word>Enterprise</word>
8484
</item>
8585
<item>
86-
<path>lib/web/tiny_mce_7/plugins/emoticons/js/emojis.js</path>
86+
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojis.js</path>
8787
<word>Enterprise</word>
8888
</item>
8989
<item>
90-
<path>lib/web/tiny_mce_7/plugins/emoticons/js/emojiimages.min.js</path>
90+
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojiimages.min.js</path>
9191
<word>Enterprise</word>
9292
</item>
9393
<item>
94-
<path>lib/web/tiny_mce_7/plugins/emoticons/js/emojiimages.js</path>
94+
<path>lib/web/tiny_mce_6/plugins/emoticons/js/emojiimages.js</path>
9595
<word>Enterprise</word>
9696
</item>
9797
<item>

lib/web/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentovariable/editor_plugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ define([
231231

232232
return content;
233233
});
234+
235+
return this.widget;
234236
};
235237

236238
/**

lib/web/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ define([
253253
varienGlobalEvents.attachEventHandler('wysiwygClosePopups', function () {
254254
wysiwyg.closeEditorPopup('widget_window' + wysiwyg.getId());
255255
});
256+
257+
return this.widget;
256258
};
257259

258260
// Register plugin

lib/web/tiny_mce_6/icons/default/icons.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/web/tiny_mce_6/license.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

lib/web/tiny_mce_6/models/dom/model.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)