Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ckeditor_indentblock
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
ckeditor_indentblock
Commits
ce6ac838
Commit
ce6ac838
authored
1 year ago
by
Hannes Kirsman
Committed by
Lucas Hedding
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3368573
by hkirsman, heddn: Can't enable indent block
parent
347e61a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!7
Issue #3368573: Can't enable indent block
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/CKEditorPlugin/IndentBlock.php
+2
-2
2 additions, 2 deletions
src/Plugin/CKEditorPlugin/IndentBlock.php
with
2 additions
and
2 deletions
src/Plugin/CKEditorPlugin/IndentBlock.php
+
2
−
2
View file @
ce6ac838
...
...
@@ -120,13 +120,13 @@ class IndentBlock extends CKEditorPluginBase implements CKEditorPluginContextual
$form
[
'enable'
]
=
array
(
'#type'
=>
'checkbox'
,
'#title'
=>
$this
->
t
(
'Enable indentation on paragraphs'
),
'#default_value'
=>
!
empty
(
$settings
[
'plugins'
][
'indentblock'
])
&&
$settings
[
'plugins'
][
'indentblock'
][
'enable'
]
===
1
?
$settings
[
'plugins'
][
'indentblock'
][
'enable'
]
:
0
,
'#default_value'
=>
!
empty
(
$settings
[
'plugins'
][
'indentblock'
])
&&
$settings
[
'plugins'
][
'indentblock'
][
'enable'
]
===
TRUE
?
$settings
[
'plugins'
][
'indentblock'
][
'enable'
]
:
FALSE
,
);
if
(
$this
->
getLibraryURL
()
==
''
)
{
$form
[
'enable'
][
'#disabled'
]
=
TRUE
;
$form
[
'enable'
][
'#description'
]
=
$this
->
t
(
'CKEditor IndentBlock cannot be enabled, as the plugin has not been found in any libraries path!'
);
$form
[
'enable'
][
'#default_value'
]
=
0
;
$form
[
'enable'
][
'#default_value'
]
=
FALSE
;
}
return
$form
;
...
...
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