Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aidmi
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
aidmi
Commits
93aceb85
Commit
93aceb85
authored
10 months ago
by
Mike Feranda
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3478158
by mferanda: Individual image description not inserting
parent
7e8a555f
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/aidmi.ckeditor.js
+3
-3
3 additions, 3 deletions
js/aidmi.ckeditor.js
with
3 additions
and
3 deletions
js/aidmi.ckeditor.js
+
3
−
3
View file @
93aceb85
...
...
@@ -99,8 +99,8 @@
// Capture the current selection before opening the dialog.
captureSelection
(
Drupal
.
aidmi
.
activeEditorInstance
);
// Open the Off-Canvas Dialog and show the retrieved description.
Drupal
.
aidmi
.
aidmiDialog
(
data
,
(
isConfirmed
)
=>
{
if
(
isConfirmed
)
{
Drupal
.
aidmi
.
aidmiDialog
(
data
,
(
aidmiEditedText
)
=>
{
if
(
aidmiEditedText
)
{
// Check if the imgTag has an alt attribute.
updateImageAltInCKEditor
(
ckEditorInstance
,
imgUuid
,
aidmiEditedText
);
}
...
...
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