Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F823509
fckplugin.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Mar 9, 7:34 PM
Size
602 B
Mime Type
text/plain
Expires
Tue, Mar 11, 7:34 PM (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
584951
Attached To
rINP In-Portal
fckplugin.js
View Options
var
spDialog
=
'MyImage/fck_image.html'
;
FCKCommands
.
RegisterCommand
(
'MyImage'
,
new
FCKDialogCommand
(
'MyImage'
,
FCKLang
.
InsertImage
,
FCKConfig
.
PluginsPath
+
spDialog
,
450
,
390
)
)
;
FCKToolbarItems
.
RegisterItem
(
'MyImage'
,
new
FCKToolbarButton
(
'MyImage'
,
FCKLang
.
InsertImageLbl
,
FCKLang
.
InsertImage
,
null
,
false
,
true
,
37
)
)
;
FCK
.
ContextMenu
.
RegisterListener
(
{
AddItems
:
function
(
menu
,
tag
,
tagName
)
{
if
(
tagName
==
'IMG'
&&
!
tag
.
getAttribute
(
'_fckfakelement'
)
)
{
menu
.
AddSeparator
()
;
menu
.
AddItem
(
'MyImage'
,
FCKLang
.
ImageProperties
,
37
)
;
}
}
});
Event Timeline
Log In to Comment