Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1176199
plugin.js
No One
Temporary
Actions
Download 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
Mon, Oct 6, 2:44 AM
Size
925 B
Mime Type
application/x-elc
Expires
Wed, Oct 8, 2:44 AM (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
762991
Attached To
rINP In-Portal
plugin.js
View Options
(
function
()
{
CKEDITOR
.
plugins
.
add
(
'my_inline'
,
{
init
:
function
(
editor
)
{
var
lang
=
editor
.
lang
;
editor
.
addCommand
(
'inline-save'
,
{
modes
:
{
wysiwyg
:
1
,
source
:
1
},
editorFocus
:
false
,
exec
:
function
()
{
$
(
editor
.
element
.
$
).
data
(
'no_save_on_blur'
,
null
).
trigger
(
'blur'
);
editor
.
focusManager
.
blur
();
},
canUndo
:
false
});
editor
.
addCommand
(
'inline-cancel'
,
{
modes
:
{
wysiwyg
:
1
,
source
:
1
},
editorFocus
:
false
,
exec
:
function
()
{
$
(
editor
.
element
.
$
).
data
(
'no_save_on_blur'
,
true
).
trigger
(
'blur'
);
editor
.
focusManager
.
blur
();
},
canUndo
:
false
});
editor
.
ui
.
addButton
(
'InlineSave'
,
{
label
:
lang
.
save
.
toolbar
,
command
:
'inline-save'
,
icon
:
'save'
});
editor
.
ui
.
addButton
(
'InlineCancel'
,
{
label
:
lang
.
common
.
close
,
command
:
'inline-cancel'
,
icon
:
this
.
path
+
'images/cancel.png'
});
}
}
);
})();
Event Timeline
Log In to Comment