Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
06daeeae
Commit
06daeeae
authored
Jan 28, 2025
by
Damien Moulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix adding link module to ckeditor
parent
273417d4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
0 deletions
+7
-0
anchor.js
public/build/ckeditor/plugins/link/dialogs/anchor.js
+2
-0
link.js
public/build/ckeditor/plugins/link/dialogs/link.js
+0
-0
anchor.png
public/build/ckeditor/plugins/link/images/anchor.png
+0
-0
anchor.png
public/build/ckeditor/plugins/link/images/hidpi/anchor.png
+0
-0
manifest.json
public/build/manifest.json
+4
-0
webpack.config.js
webpack.config.js
+1
-0
No files found.
public/build/ckeditor/plugins/link/dialogs/anchor.js
0 → 100644
View file @
06daeeae
CKEDITOR
.
dialog
.
add
(
"anchor"
,(
function
(
e
){
function
t
(
e
,
t
){
return
e
.
createFakeElement
(
e
.
document
.
createElement
(
"a"
,{
attributes
:
t
}),
"cke_anchor"
,
"anchor"
)}
return
{
title
:
e
.
lang
.
link
.
anchor
.
title
,
minWidth
:
300
,
minHeight
:
60
,
onOk
:
function
(){
var
n
=
CKEDITOR
.
tools
.
trim
(
this
.
getValueOf
(
"info"
,
"txtName"
)),
a
=
{
id
:
n
,
name
:
n
,
"data-cke-saved-name"
:
n
};
this
.
_
.
selectedElement
?
this
.
_
.
selectedElement
.
data
(
"cke-realelement"
)?((
n
=
t
(
e
,
a
)).
replace
(
this
.
_
.
selectedElement
),
CKEDITOR
.
env
.
ie
&&
e
.
getSelection
().
selectElement
(
n
)):
this
.
_
.
selectedElement
.
setAttributes
(
a
):(
n
=
(
n
=
e
.
getSelection
())
&&
n
.
getRanges
()[
0
]).
collapsed
?(
a
=
t
(
e
,
a
),
n
.
insertNode
(
a
)):(
CKEDITOR
.
env
.
ie
&&
9
>
CKEDITOR
.
env
.
version
&&
(
a
.
class
=
"cke_anchor"
),(
a
=
new
CKEDITOR
.
style
({
element
:
"a"
,
attributes
:
a
})).
type
=
CKEDITOR
.
STYLE_INLINE
,
a
.
applyToRange
(
n
))},
onHide
:
function
(){
delete
this
.
_
.
selectedElement
},
onShow
:
function
(){
var
t
,
n
=
e
.
getSelection
();
t
=
n
.
getRanges
()[
0
];
var
a
=
n
.
getSelectedElement
();
t
.
shrink
(
CKEDITOR
.
SHRINK_ELEMENT
),
t
=
(
a
=
t
.
getEnclosedNode
())
&&
a
.
type
===
CKEDITOR
.
NODE_ELEMENT
&&
(
"anchor"
===
a
.
data
(
"cke-real-element-type"
)
||
a
.
is
(
"a"
))?
a
:
void
0
;
var
l
=
(
a
=
t
&&
t
.
data
(
"cke-realelement"
))?
CKEDITOR
.
plugins
.
link
.
tryRestoreFakeAnchor
(
e
,
t
):
CKEDITOR
.
plugins
.
link
.
getSelectedLink
(
e
);
if
(
l
){
this
.
_
.
selectedElement
=
l
;
var
i
=
l
.
data
(
"cke-saved-name"
);
this
.
setValueOf
(
"info"
,
"txtName"
,
i
||
""
),
!
a
&&
n
.
selectElement
(
l
),
t
&&
(
this
.
_
.
selectedElement
=
t
)}
this
.
getContentElement
(
"info"
,
"txtName"
).
focus
()},
contents
:[{
id
:
"info"
,
label
:
e
.
lang
.
link
.
anchor
.
title
,
accessKey
:
"I"
,
elements
:[{
type
:
"text"
,
id
:
"txtName"
,
label
:
e
.
lang
.
link
.
anchor
.
name
,
required
:
!
0
,
validate
:
function
(){
return
!!
this
.
getValue
()
||
(
alert
(
e
.
lang
.
link
.
anchor
.
errorName
),
!
1
)}}]}]}}));
\ No newline at end of file
public/build/ckeditor/plugins/link/dialogs/link.js
0 → 100644
View file @
06daeeae
This diff is collapsed.
Click to expand it.
public/build/ckeditor/plugins/link/images/anchor.png
0 → 100644
View file @
06daeeae
752 Bytes
public/build/ckeditor/plugins/link/images/hidpi/anchor.png
0 → 100644
View file @
06daeeae
1.08 KB
public/build/manifest.json
View file @
06daeeae
...
...
@@ -85,6 +85,7 @@
"build/ckeditor/lang/fr.js"
:
"/build/ckeditor/lang/fr.js"
,
"build/ckeditor/skins/moono-lisa/dialog.css"
:
"/build/ckeditor/skins/moono-lisa/dialog.css"
,
"build/ckeditor/skins/moono/dialog.css"
:
"/build/ckeditor/skins/moono/dialog.css"
,
"build/ckeditor/plugins/link/dialogs/link.js"
:
"/build/ckeditor/plugins/link/dialogs/link.js"
,
"build/ckeditor/lang/en.js"
:
"/build/ckeditor/lang/en.js"
,
"build/ckeditor/skins/kama/dialog_iequirks.css"
:
"/build/ckeditor/skins/kama/dialog_iequirks.css"
,
"build/ckeditor/skins/kama/dialog_ie7.css"
:
"/build/ckeditor/skins/kama/dialog_ie7.css"
,
...
...
@@ -112,6 +113,7 @@
"build/ckeditor/skins/kama/skin.js"
:
"/build/ckeditor/skins/kama/skin.js"
,
"build/ckeditor/contents.css"
:
"/build/ckeditor/contents.css"
,
"build/ckeditor/skins/moono/images/hidpi/close.png"
:
"/build/ckeditor/skins/moono/images/hidpi/close.png"
,
"build/ckeditor/plugins/link/dialogs/anchor.js"
:
"/build/ckeditor/plugins/link/dialogs/anchor.js"
,
"build/ckeditor/skins/moono/images/hidpi/lock.png"
:
"/build/ckeditor/skins/moono/images/hidpi/lock.png"
,
"build/ckeditor/skins/moono-lisa/images/hidpi/refresh.png"
:
"/build/ckeditor/skins/moono-lisa/images/hidpi/refresh.png"
,
"build/images/source-sans-pro-v14-latin-300.svg"
:
"/build/images/source-sans-pro-v14-latin-300.4e7fe004.svg"
,
...
...
@@ -125,6 +127,7 @@
"build/ckeditor/plugins/flash/lang/fr.js"
:
"/build/ckeditor/plugins/flash/lang/fr.js"
,
"build/ckeditor/plugins/forms/lang/en.js"
:
"/build/ckeditor/plugins/forms/lang/en.js"
,
"build/ckeditor/plugins/docprops/lang/en.js"
:
"/build/ckeditor/plugins/docprops/lang/en.js"
,
"build/ckeditor/plugins/link/images/hidpi/anchor.png"
:
"/build/ckeditor/plugins/link/images/hidpi/anchor.png"
,
"build/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png"
:
"/build/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png"
,
"build/ckeditor/skins/moono-lisa/images/hidpi/lock.png"
:
"/build/ckeditor/skins/moono-lisa/images/hidpi/lock.png"
,
"build/ckeditor/skins/moono/images/refresh.png"
:
"/build/ckeditor/skins/moono/images/refresh.png"
,
...
...
@@ -134,6 +137,7 @@
"build/ckeditor/skins/moono/images/lock.png"
:
"/build/ckeditor/skins/moono/images/lock.png"
,
"build/ckeditor/skins/moono/images/lock-open.png"
:
"/build/ckeditor/skins/moono/images/lock-open.png"
,
"build/ckeditor/skins/moono-lisa/images/refresh.png"
:
"/build/ckeditor/skins/moono-lisa/images/refresh.png"
,
"build/ckeditor/plugins/link/images/anchor.png"
:
"/build/ckeditor/plugins/link/images/anchor.png"
,
"build/ckeditor/config.js"
:
"/build/ckeditor/config.js"
,
"build/ckeditor/plugins/liststyle/lang/fr.js"
:
"/build/ckeditor/plugins/liststyle/lang/fr.js"
,
"build/ckeditor/skins/moono-lisa/images/close.png"
:
"/build/ckeditor/skins/moono-lisa/images/close.png"
,
...
...
webpack.config.js
View file @
06daeeae
...
...
@@ -8,6 +8,7 @@ Encore
{
from
:
'./node_modules/ckeditor/adapters'
,
to
:
'ckeditor/adapters/[path][name].[ext]'
},
{
from
:
'./node_modules/ckeditor/lang'
,
to
:
'ckeditor/lang/[path][name].[ext]'
,
pattern
:
/fr
\.
js|en
\.
js$/
},
{
from
:
'./node_modules/ckeditor/plugins'
,
to
:
'ckeditor/plugins/[path][name].[ext]'
,
pattern
:
/
(\/
lang
\/(
fr
\.
js|en
\.
js
)
|
(
^lang
\/
.*
))
/
},
{
from
:
'./node_modules/ckeditor/plugins/link'
,
to
:
'ckeditor/plugins/link/[path][name].[ext]'
},
{
from
:
'./node_modules/ckeditor/skins'
,
to
:
'ckeditor/skins/[path][name].[ext]'
}
])
// directory where compiled assets will be stored
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment