Page MenuHomeWickedGov Phorge

ve.ce.FontAnnotation.js
No OneTemporary

Size
889 B
Referenced Files
None
Subscribers
None

ve.ce.FontAnnotation.js

/*!
* 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

Mime Type
text/plain
Expires
Sat, Nov 21, 14:35 (3 h, 31 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e2/53/04ab380cfc83ec4be2f759eaa1f9
Default Alt Text
ve.ce.FontAnnotation.js (889 B)

Event Timeline