Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3311387
plugin.min.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
893 B
Referenced Files
None
Subscribers
None
plugin.min.js
View Options
tinymce
.
PluginManager
.
add
(
"contextmenu"
,
function
(
e
){
var
t
,
n
=
e
.
settings
.
contextmenu_never_use_native
;
e
.
on
(
"contextmenu"
,
function
(
o
){
var
i
,
c
=
e
.
getDoc
();
if
(
!
o
.
ctrlKey
||
n
){
if
(
o
.
preventDefault
(),
tinymce
.
Env
.
mac
&&
tinymce
.
Env
.
webkit
&&
2
==
o
.
button
&&
c
.
caretRangeFromPoint
&&
e
.
selection
.
setRng
(
c
.
caretRangeFromPoint
(
o
.
x
,
o
.
y
)),
i
=
e
.
settings
.
contextmenu
||
"link image inserttable | cell row column deletetable"
,
t
)
t
.
show
();
else
{
var
a
=
[];
tinymce
.
each
(
i
.
split
(
/[ ,]/
),
function
(
t
){
var
n
=
e
.
menuItems
[
t
];
"|"
==
t
&&
(
n
=
{
text
:
t
}),
n
&&
(
n
.
shortcut
=
""
,
a
.
push
(
n
))});
for
(
var
r
=
0
;
r
<
a
.
length
;
r
++
)
"|"
==
a
[
r
].
text
&&
(
0
===
r
||
r
==
a
.
length
-
1
)
&&
a
.
splice
(
r
,
1
);
t
=
new
tinymce
.
ui
.
Menu
({
items
:
a
,
context
:
"contextmenu"
}).
addClass
(
"contextmenu"
).
renderTo
(),
e
.
on
(
"remove"
,
function
(){
t
.
remove
(),
t
=
null
})}
var
m
=
{
x
:
o
.
pageX
,
y
:
o
.
pageY
};
e
.
inline
||
(
m
=
tinymce
.
DOM
.
getPos
(
e
.
getContentAreaContainer
()),
m
.
x
+=
o
.
clientX
,
m
.
y
+=
o
.
clientY
),
t
.
moveTo
(
m
.
x
,
m
.
y
)}})});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 1:07 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
540460
Default Alt Text
plugin.min.js (893 B)
Attached To
Mode
R3 roundcubemail
Attached
Detach File
Event Timeline
Log In to Comment