Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
anchor_link
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
anchor_link
Commits
e3966e62
Commit
e3966e62
authored
1 year ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
Issue 3356944: fixing undefined variable so that ckeditor plugin settings load
parent
6938068c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
js/link/plugin.js
+4
-0
4 additions, 0 deletions
js/link/plugin.js
js/unlink/plugin.js
+4
-0
4 additions, 0 deletions
js/unlink/plugin.js
with
8 additions
and
0 deletions
js/link/plugin.js
+
4
−
0
View file @
e3966e62
...
@@ -15,6 +15,10 @@
...
@@ -15,6 +15,10 @@
hidpi
:
true
,
// %REMOVE_LINE_CORE%
hidpi
:
true
,
// %REMOVE_LINE_CORE%
onLoad
:
function
()
{
onLoad
:
function
()
{
// Add the CSS styles for anchor placeholders.
var
iconPath
=
CKEDITOR
.
getUrl
(
this
.
path
+
'
images
'
+
(
CKEDITOR
.
env
.
hidpi
?
'
/hidpi
'
:
''
)
+
'
/anchor.png
'
),
baseStyle
=
'
background:url(
'
+
iconPath
+
'
) no-repeat %1 center;border:1px dotted #00f;background-size:16px;
'
;
var
template
=
'
.%2 a.cke_anchor,
'
+
var
template
=
'
.%2 a.cke_anchor,
'
+
'
.%2 a.cke_anchor_empty
'
+
'
.%2 a.cke_anchor_empty
'
+
'
,.cke_editable.%2 a[name]
'
+
'
,.cke_editable.%2 a[name]
'
+
...
...
This diff is collapsed.
Click to expand it.
js/unlink/plugin.js
+
4
−
0
View file @
e3966e62
...
@@ -15,6 +15,10 @@
...
@@ -15,6 +15,10 @@
hidpi
:
true
,
// %REMOVE_LINE_CORE%
hidpi
:
true
,
// %REMOVE_LINE_CORE%
onLoad
:
function
()
{
onLoad
:
function
()
{
// Add the CSS styles for anchor placeholders.
var
iconPath
=
CKEDITOR
.
getUrl
(
this
.
path
+
'
images
'
+
(
CKEDITOR
.
env
.
hidpi
?
'
/hidpi
'
:
''
)
+
'
/anchor.png
'
),
baseStyle
=
'
background:url(
'
+
iconPath
+
'
) no-repeat %1 center;border:1px dotted #00f;background-size:16px;
'
;
var
template
=
'
.%2 a.cke_anchor,
'
+
var
template
=
'
.%2 a.cke_anchor,
'
+
'
.%2 a.cke_anchor_empty
'
+
'
.%2 a.cke_anchor_empty
'
+
'
,.cke_editable.%2 a[name]
'
+
'
,.cke_editable.%2 a[name]
'
+
...
...
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