Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
webform-3473496
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
webform-3473496
Commits
40e3b36e
Commit
40e3b36e
authored
1 month ago
by
Jacob Rockowitz
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3479443
: Remove legacy ckeditor from codebase
parent
b9a92224
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/webform.install.inc
+4
-4
4 additions, 4 deletions
includes/webform.install.inc
with
4 additions
and
4 deletions
includes/webform.install.inc
+
4
−
4
View file @
40e3b36e
...
...
@@ -467,8 +467,11 @@ function _webform_update_elements_clear_properties_recursive(array &$element, ar
/**
* Update the Webform module's default hidden text format and editor.
*
* Determines if the CKEditor 5
or 4
module installed and imports the
* Determines if the CKEditor 5 module installed and imports the
* appropriate configuration file.
*
* The below approach and code can be updated to support ckeditor6 when it
* is available and required.
*/
function
_webform_update_html_editor
()
{
// Make sure the Webform module is installed, since we do call this function
...
...
@@ -493,9 +496,6 @@ function _webform_update_html_editor() {
if
(
\Drupal
::
moduleHandler
()
->
moduleExists
(
'ckeditor5'
))
{
$ckeditor_version
=
'ckeditor5'
;
}
elseif
(
\Drupal
::
moduleHandler
()
->
moduleExists
(
'ckeditor'
))
{
$ckeditor_version
=
'ckeditor'
;
}
else
{
$ckeditor_version
=
NULL
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment