Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7419014
ve.ce.TextStyleAnnotation.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
912 B
Referenced Files
None
Subscribers
None
ve.ce.TextStyleAnnotation.js
View Options
/*!
* VisualEditor ContentEditable TextStyleAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* ContentEditable text style annotation.
*
* @class
* @abstract
* @extends ve.ce.Annotation
* @constructor
* @param {ve.dm.TextStyleAnnotation} model Model to observe
* @param {ve.ce.ContentBranchNode} [parentNode] Node rendering this annotation
* @param {Object} [config] Configuration options
*/
ve
.
ce
.
TextStyleAnnotation
=
function
VeCeTextStyleAnnotation
()
{
// Parent constructor
ve
.
ce
.
TextStyleAnnotation
.
super
.
apply
(
this
,
arguments
);
// DOM changes
this
.
$element
.
addClass
(
've-ce-textStyleAnnotation'
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ce
.
TextStyleAnnotation
,
ve
.
ce
.
Annotation
);
/* Methods */
/**
* @inheritdoc
*/
ve
.
ce
.
TextStyleAnnotation
.
prototype
.
getTagName
=
function
()
{
return
this
.
getModel
().
getAttribute
(
'nodeName'
)
||
this
.
constructor
.
static
.
tagName
;
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 04:15 (1 d, 6 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
83/91/fca32f5ba9eeb05f981fa0cdc4e6
Default Alt Text
ve.ce.TextStyleAnnotation.js (912 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment