Extract CKEditor into its own core extension
authorSeamus Lee <seamuslee001@gmail.com>
Sat, 22 May 2021 23:03:03 +0000 (09:03 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 7 Jul 2021 04:02:57 +0000 (14:02 +1000)
commit301b8b4b3e438b51eba25778d8cdba635208fc00
treee2233cb967758a0aa12e552576f3b3b2ea0948b0
parent6d2cfffbefe8e46b8c0c524659b8dd5d79163263
Extract CKEditor into its own core extension

Update civicrm_generated and shift js files into the new extension

Update to use E::path and E::url as appropriate

Add in Upgrade step to update option label to be consistant

Make changes for CKeditor 4 label now

Add in upgrade step to enable extension on upgrade
25 files changed:
.gitignore
CRM/Core/Resources/Common.php
CRM/Core/xml/Menu/Admin.xml
CRM/Upgrade/Incremental/php/FiveForty.php
bin/regen.sh
distmaker/core-ext.txt
ext/ckeditor4/CRM/Ckeditor4/Form/CKEditorConfig.php [moved from CRM/Admin/Form/CKEditorConfig.php with 97% similarity]
ext/ckeditor4/CRM/Ckeditor4/Upgrader.php [new file with mode: 0644]
ext/ckeditor4/CRM/Ckeditor4/Upgrader/Base.php [new file with mode: 0644]
ext/ckeditor4/LICENSE.txt [new file with mode: 0644]
ext/ckeditor4/README.md [new file with mode: 0644]
ext/ckeditor4/ckeditor4.civix.php [new file with mode: 0644]
ext/ckeditor4/ckeditor4.php [new file with mode: 0644]
ext/ckeditor4/images/screenshot.png [new file with mode: 0644]
ext/ckeditor4/info.xml [new file with mode: 0644]
ext/ckeditor4/js/admin.ckeditor-configurator.js [moved from js/wysiwyg/admin.ckeditor-configurator.js with 97% similarity]
ext/ckeditor4/js/ck-options.json [moved from js/wysiwyg/ck-options.json with 100% similarity]
ext/ckeditor4/js/crm.ckeditor.js [moved from js/wysiwyg/crm.ckeditor.js with 100% similarity]
ext/ckeditor4/templates/CRM/Admin/Form/Preferences/Ckeditor.tpl [new file with mode: 0644]
ext/ckeditor4/templates/CRM/Ckeditor4/Form/CKEditorConfig.tpl [moved from templates/CRM/Admin/Form/CKEditorConfig.tpl with 100% similarity]
ext/ckeditor4/xml/Menu/ckeditor4.xml [new file with mode: 0644]
sql/civicrm_generated.mysql
templates/CRM/Admin/Form/Preferences/Display.tpl
tools/bin/scripts/ckeditorConfigScraper.php
xml/templates/civicrm_data.tpl