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