Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7397411
ve.ce.FontAnnotation.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
889 B
Referenced Files
None
Subscribers
None
ve.ce.FontAnnotation.js
View Options
/*!
* VisualEditor ContentEditable FontAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* ContentEditable font annotation.
*
* @class
* @extends ve.ce.TextStyleAnnotation
* @constructor
* @param {ve.dm.FontAnnotation} model Model to observe
* @param {ve.ce.ContentBranchNode} [parentNode] Node rendering this annotation
* @param {Object} [config] Configuration options
*/
ve
.
ce
.
FontAnnotation
=
function
VeCeFontAnnotation
()
{
// Parent constructor
ve
.
ce
.
FontAnnotation
.
super
.
apply
(
this
,
arguments
);
// DOM changes
this
.
$element
.
addClass
(
've-ce-fontAnnotation'
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ce
.
FontAnnotation
,
ve
.
ce
.
TextStyleAnnotation
);
/* Static Properties */
ve
.
ce
.
FontAnnotation
.
static
.
name
=
'textStyle/font'
;
ve
.
ce
.
FontAnnotation
.
static
.
tagName
=
'font'
;
/* Registration */
ve
.
ce
.
annotationFactory
.
register
(
ve
.
ce
.
FontAnnotation
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 14:35 (3 h, 42 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e2/53/04ab380cfc83ec4be2f759eaa1f9
Default Alt Text
ve.ce.FontAnnotation.js (889 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment