Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3314483
plugin.min.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
plugin.min.js
View Options
tinymce
.
PluginManager
.
add
(
"visualblocks"
,
function
(
e
,
t
){
function
n
(){
var
t
=
this
;
t
.
active
(
r
),
e
.
on
(
"VisualBlocks"
,
function
(){
t
.
active
(
e
.
dom
.
hasClass
(
e
.
getBody
(),
"mce-visualblocks"
))})}
var
i
,
a
,
r
;
window
.
NodeList
&&
(
e
.
addCommand
(
"mceVisualBlocks"
,
function
(){
var
n
,
o
=
e
.
dom
;
i
||
(
i
=
o
.
uniqueId
(),
n
=
o
.
create
(
"link"
,{
id
:
i
,
rel
:
"stylesheet"
,
href
:
t
+
"/css/visualblocks.css"
}),
e
.
getDoc
().
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
n
)),
e
.
on
(
"PreviewFormats AfterPreviewFormats"
,
function
(
t
){
r
&&
o
.
toggleClass
(
e
.
getBody
(),
"mce-visualblocks"
,
"afterpreviewformats"
==
t
.
type
)}),
o
.
toggleClass
(
e
.
getBody
(),
"mce-visualblocks"
),
r
=
e
.
dom
.
hasClass
(
e
.
getBody
(),
"mce-visualblocks"
),
a
&&
a
.
active
(
o
.
hasClass
(
e
.
getBody
(),
"mce-visualblocks"
)),
e
.
fire
(
"VisualBlocks"
)}),
e
.
addButton
(
"visualblocks"
,{
title
:
"Show blocks"
,
cmd
:
"mceVisualBlocks"
,
onPostRender
:
n
}),
e
.
addMenuItem
(
"visualblocks"
,{
text
:
"Show blocks"
,
cmd
:
"mceVisualBlocks"
,
onPostRender
:
n
,
selectable
:!
0
,
context
:
"view"
,
prependToContext
:!
0
}),
e
.
on
(
"init"
,
function
(){
e
.
settings
.
visualblocks_default_state
&&
e
.
execCommand
(
"mceVisualBlocks"
,
!
1
,
null
,{
skip_focus
:!
0
})}),
e
.
on
(
"remove"
,
function
(){
e
.
dom
.
removeClass
(
e
.
getBody
(),
"mce-visualblocks"
)}))});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 3:05 PM (15 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
540654
Default Alt Text
plugin.min.js (1 KB)
Attached To
Mode
R3 roundcubemail
Attached
Detach File
Event Timeline
Log In to Comment