Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
webform
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
webform
Commits
40e3b36e
Commit
40e3b36e
authored
4 months ago
by
Jacob Rockowitz
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3479443
: Remove legacy ckeditor from codebase
parent
b9a92224
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!553
Issue #3479443: Remove legacy ckeditor from codebase
,
!411
#3425433 add reworked paging and getLimit
Pipeline
#347961
failed
4 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
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